Package org.lsst.ccs
Class Agent.RunningCommand
java.lang.Object
org.lsst.ccs.Agent.RunningCommand
- Enclosing class:
- Agent
Represents a command accepted for execution by this
Agent.-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final CommandSetprotected final DictionaryCommandprotected CommandReplyprotected final CommandRequestprotected Serializableprotected final longprotected final Command.CommandType -
Method Summary
-
Field Details
-
request
-
type
-
commandSet
-
dictionaryCommand
-
timeout
protected final long timeout -
result
-
reply
-
-
Method Details
-
getCommandRequest
ReturnsCommandRequestinstance that triggered this command execution.- Returns:
CommandRequestassociated with this running command
-
getType
Returns the type of this command.- Returns:
- type of this command
-
getReply
-
cancel
public void cancel()Requests cancellation of this command. The thread executing this command is interrupted. -
toString
-