public class ClockControl extends IMCMessage
Modifier and Type | Class and Description |
---|---|
static class |
ClockControl.OP |
Modifier and Type | Field and Description |
---|---|
static int |
ID_STATIC |
DEFAULT_ENTITY_ID, DEFAULT_SYSTEM_ID
Constructor and Description |
---|
ClockControl() |
ClockControl(ClockControl.OP op,
double clock,
byte tz) |
ClockControl(IMCDefinition defs) |
ClockControl(IMCMessage msg) |
Modifier and Type | Method and Description |
---|---|
static ClockControl |
clone(IMCMessage msg) |
static ClockControl |
create(java.lang.Object... values) |
double |
getClock() |
ClockControl.OP |
getOp() |
java.lang.String |
getOpStr() |
short |
getOpVal() |
byte |
getTz() |
ClockControl |
setClock(double clock) |
ClockControl |
setOp(ClockControl.OP op) |
ClockControl |
setOpStr(java.lang.String op) |
ClockControl |
setOpVal(short op) |
ClockControl |
setTz(byte tz) |
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 ClockControl()
public ClockControl(IMCMessage msg)
public ClockControl(IMCDefinition defs)
public ClockControl(ClockControl.OP op, double clock, byte tz)
public static ClockControl create(java.lang.Object... values)
public static ClockControl clone(IMCMessage msg) throws java.lang.Exception
java.lang.Exception
public ClockControl.OP getOp()
public java.lang.String getOpStr()
public short getOpVal()
public ClockControl setOp(ClockControl.OP op)
op
- Operation (enumerated)public ClockControl setOpStr(java.lang.String op)
op
- Operation (as a String)public ClockControl setOpVal(short op)
op
- Operation (integer value)public double getClock()
public ClockControl setClock(double clock)
clock
- Clock (s)public byte getTz()
public ClockControl setTz(byte tz)
tz
- Timezone