public class RemoteCommand extends RemoteData
Modifier and Type | Field and Description |
---|---|
static int |
ID_STATIC |
DEFAULT_ENTITY_ID, DEFAULT_SYSTEM_ID
Constructor and Description |
---|
RemoteCommand() |
RemoteCommand(IMCDefinition defs) |
RemoteCommand(IMCMessage msg) |
RemoteCommand(int original_source,
int destination,
double timeout,
IMCMessage cmd) |
Modifier and Type | Method and Description |
---|---|
static RemoteCommand |
clone(IMCMessage msg) |
static RemoteCommand |
create(java.lang.Object... values) |
IMCMessage |
getCmd() |
<T extends IMCMessage> |
getCmd(java.lang.Class<T> clazz) |
int |
getDestination() |
int |
getOriginalSource() |
double |
getTimeout() |
RemoteCommand |
setCmd(IMCMessage cmd) |
RemoteCommand |
setDestination(int destination) |
RemoteCommand |
setOriginalSource(int original_source) |
RemoteCommand |
setTimeout(double timeout) |
asJSON, asJSON, asMap, asXml, asXmlStripped, cloneMessage, cloneMessage, compareTo, copyFrom, copyToClipoard, 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, makeImmutable, parseJson, parseXml, pasteFromClipoard, payloadMD5, serialize, serialize, serialize, serializePayload, setBitMask, setDst, setDstEnt, setHeader, setMessageInfo, setMessageList, setSrc, setSrcEnt, setTimestamp, setTimestampMillis, setType, setValue, setValues, toByteArray, toByteArray, toString, validate
public static final int ID_STATIC
public RemoteCommand()
public RemoteCommand(IMCMessage msg)
public RemoteCommand(IMCDefinition defs)
public RemoteCommand(int original_source, int destination, double timeout, IMCMessage cmd)
public static RemoteCommand create(java.lang.Object... values)
public static RemoteCommand clone(IMCMessage msg) throws java.lang.Exception
java.lang.Exception
public int getOriginalSource()
public RemoteCommand setOriginalSource(int original_source)
original_source
- Original Sourcepublic int getDestination()
public RemoteCommand setDestination(int destination)
destination
- Destinationpublic double getTimeout()
public RemoteCommand setTimeout(double timeout)
timeout
- Timeout (s)public IMCMessage getCmd()
public <T extends IMCMessage> T getCmd(java.lang.Class<T> clazz) throws java.lang.Exception
java.lang.Exception
public RemoteCommand setCmd(IMCMessage cmd)
cmd
- Command