public abstract class AbstractClientPlugin extends java.lang.Object implements ClientPluginI
| Constructor and Description |
|---|
AbstractClientPlugin() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
clientCloseVeto() |
void |
close() |
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.
|
abstract java.lang.String |
getName() |
void |
localeChanged(java.util.Locale oldLocale,
java.util.Locale newLocale)
Called whenever the default locale in @see de.ipcon.tools.L10n is changed.
|
abstract void |
postInit() |
void |
refreshActions() |
void |
refreshActions(boolean sync) |
void |
reloadConfig(electric.xml.Element el) |
void |
reregisterActions() |
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 |
updateServerHealth(DBManServerHealthEvent she)
Called if the server sent an update to his health information.
|
public void close()
close in interface ClientPluginIpublic abstract java.lang.String getName()
getName in interface ClientPluginIpublic abstract void postInit()
postInit in interface ClientPluginIpublic void reregisterActions()
reregisterActions in interface ClientPluginIpublic void refreshActions()
refreshActions in interface ClientPluginIpublic void refreshActions(boolean sync)
refreshActions in interface ClientPluginIpublic java.lang.String clientCloseVeto()
clientCloseVeto in interface ClientPluginIpublic void localeChanged(java.util.Locale oldLocale,
java.util.Locale newLocale)
ClientPluginIlocaleChanged in interface ClientPluginIpublic void updateServerHealth(DBManServerHealthEvent she)
ClientPluginIupdateServerHealth in interface ClientPluginIpublic void serverShutdownInitiated(java.util.Date dateShutdown)
ClientPluginIserverShutdownInitiated in interface ClientPluginIpublic void serverShutdownStopped()
ClientPluginIserverShutdownStopped in interface ClientPluginIpublic void serverIsShutdown(java.util.Date dateShutdownOnClientReceived,
java.util.Date dateShutdownOnServer)
ClientPluginIserverIsShutdown in interface ClientPluginIpublic void forcedClientDisconnectInitiated(java.util.Date dateForcedDisconnect)
ClientPluginIforcedClientDisconnectInitiated in interface ClientPluginIpublic void forcedClientDisconnectStopped()
ClientPluginIforcedClientDisconnectStopped in interface ClientPluginIpublic void serverConnectionEstablished(java.lang.String serverURL)
ClientPluginIserverConnectionEstablished in interface ClientPluginIpublic void serverConnectionLost(java.lang.String serverURL,
java.lang.String reason)
ClientPluginIserverConnectionLost in interface ClientPluginIpublic void serverConnectionRollingOver(java.lang.String serverURL,
java.lang.String reason)
ClientPluginIserverConnectionRollingOver in interface ClientPluginIpublic void reloadConfig(electric.xml.Element el)
reloadConfig in interface ClientPluginICopyright © 2000-2025 OAshi S.à r.l. All Rights Reserved.