public class TrexCommand extends IMCMessage
Modifier and Type | Class and Description |
---|---|
static class |
TrexCommand.COMMAND |
Modifier and Type | Field and Description |
---|---|
static int |
ID_STATIC |
DEFAULT_ENTITY_ID, DEFAULT_SYSTEM_ID
Constructor and Description |
---|
TrexCommand() |
TrexCommand(IMCDefinition defs) |
TrexCommand(IMCMessage msg) |
TrexCommand(TrexCommand.COMMAND command,
java.lang.String goal_id,
java.lang.String goal_xml) |
Modifier and Type | Method and Description |
---|---|
static TrexCommand |
clone(IMCMessage msg) |
static TrexCommand |
create(java.lang.Object... values) |
TrexCommand.COMMAND |
getCommand() |
java.lang.String |
getCommandStr() |
short |
getCommandVal() |
java.lang.String |
getGoalId() |
java.lang.String |
getGoalXml() |
TrexCommand |
setCommand(TrexCommand.COMMAND command) |
TrexCommand |
setCommandStr(java.lang.String command) |
TrexCommand |
setCommandVal(short command) |
TrexCommand |
setGoalId(java.lang.String goal_id) |
TrexCommand |
setGoalXml(java.lang.String goal_xml) |
asJSON, asJSON, asMap, asXml, asXmlStripped, cloneMessage, cloneMessage, compareTo, copyFrom, decodeTupleList, dump, encodeTupleList, get, getAbbrev, getAgeInSeconds, getAsNumber, getAsString, getBitmask, getDate, getDouble, getDst, getDstEnt, getEntityName, getFieldNames, getFloat, getHeader, getHeaderValue, getInteger, getLong, getLongFieldName, getLongName, getMessage, getMessage, getMessageInfo, getMessageList, getMessageList, getMessageType, getMgid, getPayloadSize, getProtocolFactory, getRawData, getSize, getSourceName, getSrc, getSrcEnt, getString, getString, getTimestamp, getTimestampMillis, getTupleList, getTypeOf, getUnitsOf, getValue, getValues, hasFlag, hexdump, isNull, isPeriodic, main, makeImmutable, parseJson, parseXml, payloadMD5, serialize, serialize, serialize, serializePayload, setBitMask, setDst, setDstEnt, setHeader, setMessageInfo, setMessageList, setSrc, setSrcEnt, setTimestamp, setTimestampMillis, setType, setValue, setValues, toString, validate
public static final int ID_STATIC
public TrexCommand()
public TrexCommand(IMCMessage msg)
public TrexCommand(IMCDefinition defs)
public TrexCommand(TrexCommand.COMMAND command, java.lang.String goal_id, java.lang.String goal_xml)
public static TrexCommand create(java.lang.Object... values)
public static TrexCommand clone(IMCMessage msg) throws java.lang.Exception
java.lang.Exception
public TrexCommand.COMMAND getCommand()
public java.lang.String getCommandStr()
public short getCommandVal()
public TrexCommand setCommand(TrexCommand.COMMAND command)
command
- Command (enumerated)public TrexCommand setCommandStr(java.lang.String command)
command
- Command (as a String)public TrexCommand setCommandVal(short command)
command
- Command (integer value)public java.lang.String getGoalId()
public TrexCommand setGoalId(java.lang.String goal_id)
goal_id
- Goal Idpublic java.lang.String getGoalXml()
public TrexCommand setGoalXml(java.lang.String goal_xml)
goal_xml
- Goal XML