public class RuntimeAgentCommandMsg
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
RuntimeAgentCommandMsg.RuntimeAgentCommand
Enumeration of runtime agent commands
|
Constructor and Description |
---|
RuntimeAgentCommandMsg(RuntimeAgentCommandMsg.RuntimeAgentCommand command,
int agentID,
java.lang.Object data)
Constructs the
RuntimeAgentCommandMsg object. |
Modifier and Type | Method and Description |
---|---|
int |
getAgentID() |
RuntimeAgentCommandMsg.RuntimeAgentCommand |
getCommand() |
java.lang.Object |
getData() |
java.lang.String |
getDataAsString() |
void |
setAgentID(int agentID)
Sets the agent Id to this message.
|
void |
setCommand(RuntimeAgentCommandMsg.RuntimeAgentCommand command)
Sets the given
Command in this message. |
void |
setData(java.lang.Object data)
Sets the data to this message.
|
public RuntimeAgentCommandMsg(RuntimeAgentCommandMsg.RuntimeAgentCommand command, int agentID, java.lang.Object data)
RuntimeAgentCommandMsg
object.command
- The RuntimeAgentCommand
to be set in the message.agentID
- The agent IDdata
- Any data to be passed along with the command, depending on the command type.public RuntimeAgentCommandMsg.RuntimeAgentCommand getCommand()
Command
stored in the message.public void setCommand(RuntimeAgentCommandMsg.RuntimeAgentCommand command)
Command
in this message.command
- The Command
to be set.public int getAgentID()
public void setAgentID(int agentID)
agentID
- The agent ID to be set in this message.public java.lang.Object getData()
public java.lang.String getDataAsString()
public void setData(java.lang.Object data)
data
-