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()
Type of request.
|
UASimulation |
setData(byte[] data) |
UASimulation |
setSpeed(int speed) |
UASimulation |
setType(short type) |
UASimulation |
setType(java.lang.String type) |
UASimulation |
setType(UASimulation.TYPE type) |
asJSON, asXml, cloneMessage, cloneMessage, compareTo, copyFrom, decodeTupleList, dump, encodeTupleList, get, getAbbrev, getAsNumber, getAsString, getBitmask, getDate, getDouble, getDst, getDstEnt, getFieldNames, getFloat, getHeader, getHeaderValue, getInteger, getLong, getLongFieldName, getLongName, getMessage, getMessage, 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, parseXml, payloadMD5, serialize, serialize, setBitMask, setDst, setDstEnt, setHeader, 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 int getSpeed()
public byte[] getData()
public UASimulation setType(UASimulation.TYPE type)
type
- Type (enumerated)public UASimulation setType(java.lang.String type)
type
- Type (as a String)public UASimulation setType(short type)
type
- Type (integer value)public UASimulation setSpeed(int speed)
speed
- Transmission Speed (bps)public UASimulation setData(byte[] data)
data
- Data