public class EmergencyControl extends IMCMessage
Modifier and Type | Class and Description |
---|---|
static class |
EmergencyControl.COMMAND |
Modifier and Type | Field and Description |
---|---|
static int |
ID_STATIC |
DEFAULT_ENTITY_ID, DEFAULT_SYSTEM_ID
Constructor and Description |
---|
EmergencyControl() |
EmergencyControl(EmergencyControl.COMMAND command,
PlanSpecification plan) |
EmergencyControl(IMCDefinition defs) |
Modifier and Type | Method and Description |
---|---|
static EmergencyControl |
clone(IMCMessage msg) |
static EmergencyControl |
create(java.lang.Object... values) |
EmergencyControl.COMMAND |
getCommand() |
PlanSpecification |
getPlan() |
void |
setCommand(EmergencyControl.COMMAND command) |
void |
setCommand(short command) |
void |
setCommand(java.lang.String command) |
void |
setPlan(PlanSpecification plan) |
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 EmergencyControl()
public EmergencyControl(IMCDefinition defs)
public EmergencyControl(EmergencyControl.COMMAND command, PlanSpecification plan)
public static EmergencyControl create(java.lang.Object... values)
public static EmergencyControl clone(IMCMessage msg) throws java.lang.Exception
java.lang.Exception
public EmergencyControl.COMMAND getCommand()
public PlanSpecification getPlan()
public void setCommand(EmergencyControl.COMMAND command)
command
- Command (enumerated)public void setCommand(java.lang.String command)
command
- Command (as a String)public void setCommand(short command)
command
- Command (integer value)public void setPlan(PlanSpecification plan)
plan
- Plan Specification