public class AcousticOperation extends IMCMessage
Modifier and Type | Class and Description |
---|---|
static class |
AcousticOperation.OP |
Modifier and Type | Field and Description |
---|---|
static int |
ID_STATIC |
DEFAULT_ENTITY_ID, DEFAULT_SYSTEM_ID
Constructor and Description |
---|
AcousticOperation() |
AcousticOperation(AcousticOperation.OP op,
java.lang.String system,
float range,
IMCMessage msg) |
AcousticOperation(IMCDefinition defs) |
AcousticOperation(IMCMessage msg) |
Modifier and Type | Method and Description |
---|---|
static AcousticOperation |
clone(IMCMessage msg) |
static AcousticOperation |
create(java.lang.Object... values) |
IMCMessage |
getMsg() |
<T extends IMCMessage> |
getMsg(java.lang.Class<T> clazz) |
AcousticOperation.OP |
getOp() |
java.lang.String |
getOpStr() |
short |
getOpVal() |
double |
getRange() |
java.lang.String |
getSystem() |
AcousticOperation |
setMsg(IMCMessage msg) |
AcousticOperation |
setOp(AcousticOperation.OP op) |
AcousticOperation |
setOpStr(java.lang.String op) |
AcousticOperation |
setOpVal(short op) |
AcousticOperation |
setRange(double range) |
AcousticOperation |
setSystem(java.lang.String system) |
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 AcousticOperation()
public AcousticOperation(IMCMessage msg)
public AcousticOperation(IMCDefinition defs)
public AcousticOperation(AcousticOperation.OP op, java.lang.String system, float range, IMCMessage msg)
public static AcousticOperation create(java.lang.Object... values)
public static AcousticOperation clone(IMCMessage msg) throws java.lang.Exception
java.lang.Exception
public AcousticOperation.OP getOp()
public java.lang.String getOpStr()
public short getOpVal()
public AcousticOperation setOp(AcousticOperation.OP op)
op
- Operation (enumerated)public AcousticOperation setOpStr(java.lang.String op)
op
- Operation (as a String)public AcousticOperation setOpVal(short op)
op
- Operation (integer value)public java.lang.String getSystem()
public AcousticOperation setSystem(java.lang.String system)
system
- Systempublic double getRange()
public AcousticOperation setRange(double range)
range
- Range (m)public IMCMessage getMsg()
public <T extends IMCMessage> T getMsg(java.lang.Class<T> clazz) throws java.lang.Exception
java.lang.Exception
public AcousticOperation setMsg(IMCMessage msg)
msg
- Message To Send