public class ShutdownWarner extends AbstractClientPlugin implements ClientPluginI
Constructor and Description |
---|
ShutdownWarner(ClientContextI _ctx,
electric.xml.Element el) |
Modifier and Type | Method and Description |
---|---|
void |
blinkLabel() |
java.lang.String |
clientCloseVeto() |
void |
close() |
ClientContextI |
getCtx() |
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.
|
void |
postInit() |
void |
refreshActions() |
void |
refreshActions(boolean sync) |
void |
reloadConfig(electric.xml.Element el) |
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 d)
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 $2) |
void |
startCountdown(java.util.Date d) |
void |
stopCountdown() |
void |
stopCountdown(boolean becauseOfShutdownOrForcedClientDisconnect) |
void |
updateServerHealth(DBManServerHealthEvent she)
Called if the server sent an update to his health information.
|
forcedClientDisconnectInitiated, forcedClientDisconnectStopped, reregisterActions
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forcedClientDisconnectInitiated, forcedClientDisconnectStopped, reregisterActions
public ShutdownWarner(ClientContextI _ctx, electric.xml.Element el)
public void close()
close
in interface ClientPluginI
close
in class AbstractClientPlugin
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 refreshActions(boolean sync)
refreshActions
in interface ClientPluginI
refreshActions
in class AbstractClientPlugin
public void refreshActions()
refreshActions
in interface ClientPluginI
refreshActions
in class AbstractClientPlugin
public java.lang.String clientCloseVeto()
clientCloseVeto
in interface ClientPluginI
clientCloseVeto
in class AbstractClientPlugin
public void localeChanged(java.util.Locale oldLocale, java.util.Locale newLocale)
ClientPluginI
localeChanged
in interface ClientPluginI
localeChanged
in class AbstractClientPlugin
public void updateServerHealth(DBManServerHealthEvent she)
ClientPluginI
updateServerHealth
in interface ClientPluginI
updateServerHealth
in class AbstractClientPlugin
public void serverShutdownInitiated(java.util.Date d)
ClientPluginI
serverShutdownInitiated
in interface ClientPluginI
serverShutdownInitiated
in class AbstractClientPlugin
public void serverShutdownStopped()
ClientPluginI
serverShutdownStopped
in interface ClientPluginI
serverShutdownStopped
in class AbstractClientPlugin
public void startCountdown(java.util.Date d)
public void stopCountdown()
public void stopCountdown(boolean becauseOfShutdownOrForcedClientDisconnect)
public void serverIsShutdown(java.util.Date dateShutdownOnClientReceived, java.util.Date dateShutdownOnServer)
ClientPluginI
serverIsShutdown
in interface ClientPluginI
serverIsShutdown
in class AbstractClientPlugin
public void serverConnectionEstablished(java.lang.String serverURL)
ClientPluginI
serverConnectionEstablished
in interface ClientPluginI
serverConnectionEstablished
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 serverConnectionRollingOver(java.lang.String serverURL, java.lang.String reason)
ClientPluginI
serverConnectionRollingOver
in interface ClientPluginI
serverConnectionRollingOver
in class AbstractClientPlugin
public void reloadConfig(electric.xml.Element el)
reloadConfig
in interface ClientPluginI
reloadConfig
in class AbstractClientPlugin
public void blinkLabel()
public ClientContextI getCtx()
public void setCtx(ClientContextI $2)
Copyright © 2000-2025 OAshi S.à r.l. All Rights Reserved.