public class ConnectionMonitor extends AbstractClientPlugin implements ClientPluginI
| Constructor and Description |
|---|
ConnectionMonitor(ClientContextI _ctx,
electric.xml.Element _element) |
| Modifier and Type | Method and Description |
|---|---|
ClientContextI |
getCtx() |
java.lang.String |
getName() |
void |
postInit() |
void |
serverConnectionEstablished(java.lang.String serverURL)
Called if a new server connection was established.
|
void |
serverConnectionLost(java.lang.String serverURL,
java.lang.String reason)
Called if the current server connection was lost.
|
void |
serverConnectionRollingOver(java.lang.String serverURL,
java.lang.String reason)
Called if the current server connection will be replaced by a better one.
|
void |
serverIsShutdown(java.util.Date _dateShutdownOnClientReceived,
java.util.Date _dateShutdownOnServer)
Called if the server we were connected to was shut down.
|
void |
serverShutdownInitiated(java.util.Date _dateShutdown)
Called if the server we are connected to is going to shut down.
|
void |
serverShutdownStopped()
Called if the shutdown of the server we are connected to was stopped.
|
void |
setCtx(ClientContextI $1) |
clientCloseVeto, close, forcedClientDisconnectInitiated, forcedClientDisconnectStopped, localeChanged, refreshActions, refreshActions, reloadConfig, reregisterActions, updateServerHealthequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclientCloseVeto, close, forcedClientDisconnectInitiated, forcedClientDisconnectStopped, localeChanged, refreshActions, refreshActions, reloadConfig, reregisterActions, updateServerHealthpublic ConnectionMonitor(ClientContextI _ctx, electric.xml.Element _element)
public java.lang.String getName()
getName in interface ClientPluginIgetName in class AbstractClientPluginpublic void postInit()
postInit in interface ClientPluginIpostInit in class AbstractClientPluginpublic void serverShutdownInitiated(java.util.Date _dateShutdown)
ClientPluginIserverShutdownInitiated in interface ClientPluginIserverShutdownInitiated in class AbstractClientPluginpublic void serverShutdownStopped()
ClientPluginIserverShutdownStopped in interface ClientPluginIserverShutdownStopped in class AbstractClientPluginpublic void serverIsShutdown(java.util.Date _dateShutdownOnClientReceived,
java.util.Date _dateShutdownOnServer)
ClientPluginIserverIsShutdown in interface ClientPluginIserverIsShutdown in class AbstractClientPluginpublic void serverConnectionEstablished(java.lang.String serverURL)
ClientPluginIserverConnectionEstablished in interface ClientPluginIserverConnectionEstablished in class AbstractClientPluginpublic void serverConnectionLost(java.lang.String serverURL,
java.lang.String reason)
ClientPluginIserverConnectionLost in interface ClientPluginIserverConnectionLost in class AbstractClientPluginpublic void serverConnectionRollingOver(java.lang.String serverURL,
java.lang.String reason)
ClientPluginIserverConnectionRollingOver in interface ClientPluginIserverConnectionRollingOver in class AbstractClientPluginpublic ClientContextI getCtx()
public void setCtx(ClientContextI $1)
Copyright © 2000-2025 OAshi S.à r.l. All Rights Reserved.