Package org.lsst.ccs

Class Agent.RunningCommand

java.lang.Object
org.lsst.ccs.Agent.RunningCommand
Enclosing class:
Agent

public final class Agent.RunningCommand extends Object
Represents a command accepted for execution by this Agent.
  • Field Details

  • Method Details

    • getCommandRequest

      public CommandRequest getCommandRequest()
      Returns CommandRequest instance that triggered this command execution.
      Returns:
      CommandRequest associated with this running command
    • getType

      public Command.CommandType getType()
      Returns the type of this command.
      Returns:
      type of this command
    • getReply

      public CommandReply getReply()
    • cancel

      public void cancel()
      Requests cancellation of this command. The thread executing this command is interrupted.
    • toString

      public String toString()
      Overrides:
      toString in class Object