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) |
EmergencyControl(IMCMessage msg) |
| Modifier and Type | Method and Description |
|---|---|
static EmergencyControl |
clone(IMCMessage msg) |
static EmergencyControl |
create(java.lang.Object... values) |
EmergencyControl.COMMAND |
getCommand() |
PlanSpecification |
getPlan() |
EmergencyControl |
setCommand(EmergencyControl.COMMAND command) |
EmergencyControl |
setCommand(short command) |
EmergencyControl |
setCommand(java.lang.String command) |
EmergencyControl |
setPlan(PlanSpecification plan) |
asJSON, asMap, asXml, asXmlStripped, 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, validatepublic static final int ID_STATIC
public EmergencyControl()
public EmergencyControl(IMCMessage msg)
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.Exceptionpublic EmergencyControl.COMMAND getCommand()
public PlanSpecification getPlan()
public EmergencyControl setCommand(EmergencyControl.COMMAND command)
command - Command (enumerated)public EmergencyControl setCommand(java.lang.String command)
command - Command (as a String)public EmergencyControl setCommand(short command)
command - Command (integer value)public EmergencyControl setPlan(PlanSpecification plan)
plan - Plan Specification