public class ClientShutdownCommand extends ClientCommand<ClientContext> implements SystemCommand
Note that co-clients ignore this command. Co-clients cannot be killed, rather their server must be shut down.
| Constructor and Description |
|---|
ClientShutdownCommand(SessionId fromSessId) |
ClientShutdownCommand(SessionId fromSessId,
SessionId toSessId) |
| Modifier and Type | Method and Description |
|---|---|
void |
executeAsync()
This method is called by the clients
ClientCommandTask. |
void |
executeSyncFinally()
This method is called after
ClientCommand.executeAsync() only if the async execution was successful. |
cancel, checkCancelled, getArgument, getClientContext, getCommandId, getFromSession, getLogChannel, getName, getRenderColor, getRenderIcon, getRenderText, getServerContext, getTargetSession, getTargetUsers, hasFromSession, hasTargetSession, hasTargetUser, isCoClient, isGuiClient, isLogDebug, isLogVerbose, isSkipSender, logDebug, logDump, logError, logError, logFatal, logInfo, logVerbose, logWarning, setArgument, setcancelled, setClientContext, setFromSession, setLogChannel, setName, setSkipSender, setTargetSession, setTargetUser, setTargetUsers, sleepChecked, toDumpString, toString, wasCancelledclone, deepCloneconfigureDumpHeadlineLength, configureDumpMaxElementsPrinted, copyDumpStringValues, copyToStringValues, createDumpHeader, toDumpString, toStringpublic ClientShutdownCommand(SessionId fromSessId)
public void executeAsync()
throws java.lang.Exception
ClientCommandClientCommandTask. You must NOT perform
any GUI updates within this method. The default implementation is empty.executeAsync in class ClientCommand<ClientContext>java.lang.Exceptionpublic void executeSyncFinally()
throws java.lang.Exception
ClientCommandClientCommand.executeAsync() only if the async execution was successful.
If the client has a GUI it runs in the EventDispatcher thread and thus may perform GUI updates.
The default implementation is empty.executeSyncFinally in class ClientCommand<ClientContext>java.lang.ExceptionCopyright © 2014 EsprIT-Systems. All Rights Reserved.