public class ServerHealthMonitor extends AbstractClientPlugin implements java.awt.event.ActionListener, ClientPluginI
Constructor and Description |
---|
ServerHealthMonitor(ClientContextI _ctx,
electric.xml.Element _element) |
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent ae) |
void |
forcedClientDisconnectInitiated(java.util.Date dateForcedDisconnect)
Called if the server demanded a forced client-disconnect which is relevant to our client.
|
void |
forcedClientDisconnectStopped()
Called if the server cancelled a forced client-disconnect which is relevant to our client.
|
ClientContextI |
getCtx() |
java.lang.String |
getName() |
void |
postInit() |
void |
serverConnectionLost(java.lang.String serverURL,
java.lang.String reason)
Called if the current server connection was lost.
|
void |
serverIsShutdown(java.util.Date dateShutdownOnClientReceived,
java.util.Date dateShutdownOnServer)
Called if the server we were connected to was shut down.
|
void |
setCtx(ClientContextI $1) |
void |
updateServerHealth(DBManServerHealthEvent she)
Called if the server sent an update to his health information.
|
clientCloseVeto, close, localeChanged, refreshActions, refreshActions, reloadConfig, reregisterActions, serverConnectionEstablished, serverConnectionRollingOver, serverShutdownInitiated, serverShutdownStopped
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clientCloseVeto, close, localeChanged, refreshActions, refreshActions, reloadConfig, reregisterActions, serverConnectionEstablished, serverConnectionRollingOver, serverShutdownInitiated, serverShutdownStopped
public ServerHealthMonitor(ClientContextI _ctx, electric.xml.Element _element)
public java.lang.String getName()
getName
in interface ClientPluginI
getName
in class AbstractClientPlugin
public void postInit()
postInit
in interface ClientPluginI
postInit
in class AbstractClientPlugin
public void updateServerHealth(DBManServerHealthEvent she)
ClientPluginI
updateServerHealth
in interface ClientPluginI
updateServerHealth
in class AbstractClientPlugin
public void serverIsShutdown(java.util.Date dateShutdownOnClientReceived, java.util.Date dateShutdownOnServer)
ClientPluginI
serverIsShutdown
in interface ClientPluginI
serverIsShutdown
in class AbstractClientPlugin
public void forcedClientDisconnectInitiated(java.util.Date dateForcedDisconnect)
ClientPluginI
forcedClientDisconnectInitiated
in interface ClientPluginI
forcedClientDisconnectInitiated
in class AbstractClientPlugin
public void forcedClientDisconnectStopped()
ClientPluginI
forcedClientDisconnectStopped
in interface ClientPluginI
forcedClientDisconnectStopped
in class AbstractClientPlugin
public void serverConnectionLost(java.lang.String serverURL, java.lang.String reason)
ClientPluginI
serverConnectionLost
in interface ClientPluginI
serverConnectionLost
in class AbstractClientPlugin
public void actionPerformed(java.awt.event.ActionEvent ae)
actionPerformed
in interface java.awt.event.ActionListener
public ClientContextI getCtx()
public void setCtx(ClientContextI $1)
Copyright © 2000-2025 OAshi S.à r.l. All Rights Reserved.