public class PlanControl extends IMCMessage
Modifier and Type | Class and Description |
---|---|
static class |
PlanControl.OP |
static class |
PlanControl.TYPE |
Modifier and Type | Field and Description |
---|---|
static int |
FLG_CALIBRATE |
static int |
FLG_IGNORE_ERRORS |
static int |
ID_STATIC |
DEFAULT_ENTITY_ID, DEFAULT_SYSTEM_ID
Constructor and Description |
---|
PlanControl() |
PlanControl(IMCDefinition defs) |
PlanControl(IMCMessage msg) |
PlanControl(PlanControl.TYPE type,
PlanControl.OP op,
int request_id,
java.lang.String plan_id,
int flags,
IMCMessage arg,
java.lang.String info) |
Modifier and Type | Method and Description |
---|---|
static PlanControl |
clone(IMCMessage msg) |
static PlanControl |
create(java.lang.Object... values) |
IMCMessage |
getArg() |
<T extends IMCMessage> |
getArg(java.lang.Class<T> clazz) |
int |
getFlags() |
java.lang.String |
getInfo() |
PlanControl.OP |
getOp() |
java.lang.String |
getOpStr() |
short |
getOpVal() |
java.lang.String |
getPlanId() |
int |
getRequestId() |
PlanControl.TYPE |
getType() |
java.lang.String |
getTypeStr() |
short |
getTypeVal() |
PlanControl |
setArg(IMCMessage arg) |
PlanControl |
setFlags(int flags) |
PlanControl |
setInfo(java.lang.String info) |
PlanControl |
setOp(PlanControl.OP op) |
PlanControl |
setOpStr(java.lang.String op) |
PlanControl |
setOpVal(short op) |
PlanControl |
setPlanId(java.lang.String plan_id) |
PlanControl |
setRequestId(int request_id) |
PlanControl |
setType(PlanControl.TYPE type) |
PlanControl |
setTypeStr(java.lang.String type) |
PlanControl |
setTypeVal(short type) |
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 FLG_CALIBRATE
public static final int FLG_IGNORE_ERRORS
public static final int ID_STATIC
public PlanControl()
public PlanControl(IMCMessage msg)
public PlanControl(IMCDefinition defs)
public PlanControl(PlanControl.TYPE type, PlanControl.OP op, int request_id, java.lang.String plan_id, int flags, IMCMessage arg, java.lang.String info)
public static PlanControl create(java.lang.Object... values)
public static PlanControl clone(IMCMessage msg) throws java.lang.Exception
java.lang.Exception
public PlanControl.TYPE getType()
public java.lang.String getTypeStr()
public short getTypeVal()
public PlanControl setType(PlanControl.TYPE type)
type
- Type (enumerated)public PlanControl setTypeStr(java.lang.String type)
type
- Type (as a String)public PlanControl setTypeVal(short type)
type
- Type (integer value)public PlanControl.OP getOp()
public java.lang.String getOpStr()
public short getOpVal()
public PlanControl setOp(PlanControl.OP op)
op
- Operation (enumerated)public PlanControl setOpStr(java.lang.String op)
op
- Operation (as a String)public PlanControl setOpVal(short op)
op
- Operation (integer value)public int getRequestId()
public PlanControl setRequestId(int request_id)
request_id
- Request IDpublic java.lang.String getPlanId()
public PlanControl setPlanId(java.lang.String plan_id)
plan_id
- Plan Identifierpublic int getFlags()
public PlanControl setFlags(int flags)
flags
- Flags (bitfield)public IMCMessage getArg()
public <T extends IMCMessage> T getArg(java.lang.Class<T> clazz) throws java.lang.Exception
java.lang.Exception
public PlanControl setArg(IMCMessage arg)
arg
- Request/Reply Argumentpublic java.lang.String getInfo()
public PlanControl setInfo(java.lang.String info)
info
- Complementary Info