public class UASimulation extends IMCMessage
Modifier and Type | Class and Description |
---|---|
static class |
UASimulation.TYPE |
Modifier and Type | Field and Description |
---|---|
static int |
ID_STATIC |
DEFAULT_ENTITY_ID, DEFAULT_SYSTEM_ID
Constructor and Description |
---|
UASimulation() |
UASimulation(IMCDefinition defs) |
UASimulation(IMCMessage msg) |
UASimulation(UASimulation.TYPE type,
int speed,
byte[] data) |
Modifier and Type | Method and Description |
---|---|
static UASimulation |
clone(IMCMessage msg) |
static UASimulation |
create(java.lang.Object... values) |
byte[] |
getData() |
int |
getSpeed() |
UASimulation.TYPE |
getType() |
java.lang.String |
getTypeStr() |
short |
getTypeVal() |
UASimulation |
setData(byte[] data) |
UASimulation |
setSpeed(int speed) |
UASimulation |
setType(UASimulation.TYPE type) |
UASimulation |
setTypeStr(java.lang.String type) |
UASimulation |
setTypeVal(short type) |
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 UASimulation()
public UASimulation(IMCMessage msg)
public UASimulation(IMCDefinition defs)
public UASimulation(UASimulation.TYPE type, int speed, byte[] data)
public static UASimulation create(java.lang.Object... values)
public static UASimulation clone(IMCMessage msg) throws java.lang.Exception
java.lang.Exception
public UASimulation.TYPE getType()
public java.lang.String getTypeStr()
public short getTypeVal()
public UASimulation setType(UASimulation.TYPE type)
type
- Type (enumerated)public UASimulation setTypeStr(java.lang.String type)
type
- Type (as a String)public UASimulation setTypeVal(short type)
type
- Type (integer value)public int getSpeed()
public UASimulation setSpeed(int speed)
speed
- Transmission Speed (bps)public byte[] getData()
public UASimulation setData(byte[] data)
data
- Data