public class CancelClientCommand extends ClientCommand<ClientContext> implements SystemCommand
ClientCommand
Modifier and Type | Class and Description |
---|---|
static class |
CancelClientCommand.CancelScope |
Constructor and Description |
---|
CancelClientCommand(SessionId fromSessId,
CancelClientCommand.CancelScope scope) |
CancelClientCommand(SessionId fromSessId,
ClientCommand<ClientContext> cmd) |
Modifier and Type | Method and Description |
---|---|
void |
executeSyncFinally()
This method is called after
ClientCommand.executeAsync() only if the async execution was successful. |
ToString |
toString(ToString s)
This method allows subclasses to add values to the existing ToString of the superclass.
|
cancel, checkCancelled, executeAsync, 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, wasCancelled
clone, deepClone
configureDumpHeadlineLength, configureDumpMaxElementsPrinted, copyDumpStringValues, copyToStringValues, createDumpHeader, toDumpString, toString
public CancelClientCommand(SessionId fromSessId, CancelClientCommand.CancelScope scope)
public CancelClientCommand(SessionId fromSessId, ClientCommand<ClientContext> cmd)
public void executeSyncFinally() throws java.lang.Exception
ClientCommand
ClientCommand.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.Exception
public ToString toString(ToString s)
Dumpable
toString
in interface Dumpable
toString
in class ClientCommand<ClientContext>
Copyright © 2014 EsprIT-Systems. All Rights Reserved.