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(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.
|
void |
setData(byte[] data) |
void |
setSpeed(int speed) |
void |
setType(short type) |
void |
setType(java.lang.String type) |
void |
setType(UASimulation.TYPE type) |
asJSON, asXml, cloneMessage, cloneMessage, compareTo, 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, hasFlag, hexdump, isNull, isPeriodic, main, makeImmutable, parseXml, payloadMD5, serialize, serialize, setBitMask, setDst, setDstEnt, setHeader, setMessage, setMessageList, setSrc, setSrcEnt, setTimestamp, setTimestampMillis, setType, setValue, setValues, toString, validate
public static final int ID_STATIC
public UASimulation()
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 void setType(UASimulation.TYPE type)
type
- Type (enumerated)public void setType(java.lang.String type)
type
- Type (as a String)public void setType(short type)
type
- Type (integer value)public void setSpeed(int speed)
speed
- Transmission Speed (bps)public void setData(byte[] data)
data
- Data