public class CommandRequest extends CommandMessage
| Constructor and Description |
|---|
CommandRequest(String destination,
org.lsst.ccs.command.BasicCommand command)
Create a BasicCommandMessage from an existing BasicCommand.
|
CommandRequest(String destination,
String command)
Create a BasicCommandMessage from a string representation of a command: e.g.
|
CommandRequest(String destination,
String command,
Object... args)
Create a BasicCommandMessage from a string representation of a command: e.g.
|
| Modifier and Type | Method and Description |
|---|---|
org.lsst.ccs.command.BasicCommand |
getBasicCommand() |
String |
getCommandOriginatorId()
Get the CommandOriginator Id for this CommandRequest.
|
void |
setCommandOriginatorId(String commandOriginatorId)
Get the CommandOriginator Id for this CommandRequest.
|
String |
toString() |
getCorrelId, getDestinationequals, getOriginAgentInfo, getSummary, getTimeStamp, hashCode, setOriginAgentInfo, setSummarypublic CommandRequest(String destination, String command, Object... args)
destination - The destination of this command.command - The string representation of a command. A BasicCommand object will be created internally.args - The array of arguments to the command.public CommandRequest(String destination, String command)
destination - The destination of this command.command - The string representation of a command. A BasicCommand object will be created internally.public CommandRequest(String destination, org.lsst.ccs.command.BasicCommand command)
destination - The destination of this command.command - The BasicCommand object to be wrapper.public org.lsst.ccs.command.BasicCommand getBasicCommand()
public final void setCommandOriginatorId(String commandOriginatorId)
public String getCommandOriginatorId()
Copyright © 2015 LSST. All rights reserved.