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()
Plan control operation.
|
java.lang.String |
getPlanId() |
int |
getRequestId() |
PlanControl.TYPE |
getType()
Indicates if the message is a request or a reply to a
previous request. |
PlanControl |
setArg(IMCMessage arg) |
PlanControl |
setFlags(int flags) |
PlanControl |
setInfo(java.lang.String info) |
PlanControl |
setOp(PlanControl.OP op) |
PlanControl |
setOp(short op) |
PlanControl |
setOp(java.lang.String op) |
PlanControl |
setPlanId(java.lang.String plan_id) |
PlanControl |
setRequestId(int request_id) |
PlanControl |
setType(PlanControl.TYPE type) |
PlanControl |
setType(short type) |
PlanControl |
setType(java.lang.String type) |
asJSON, asXml, 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, validate
public static final int ID_STATIC
public static final int FLG_CALIBRATE
public static final int FLG_IGNORE_ERRORS
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()
op*, *request_id* and *plan_id
fieldspublic PlanControl.OP getOp()
public int getRequestId()
public java.lang.String getPlanId()
public int getFlags()
public IMCMessage getArg()
public <T extends IMCMessage> T getArg(java.lang.Class<T> clazz) throws java.lang.Exception
java.lang.Exception
public java.lang.String getInfo()
public PlanControl setType(PlanControl.TYPE type)
type
- Type (enumerated)public PlanControl setType(java.lang.String type)
type
- Type (as a String)public PlanControl setType(short type)
type
- Type (integer value)public PlanControl setOp(PlanControl.OP op)
op
- Operation (enumerated)public PlanControl setOp(java.lang.String op)
op
- Operation (as a String)public PlanControl setOp(short op)
op
- Operation (integer value)public PlanControl setRequestId(int request_id)
request_id
- Request IDpublic PlanControl setPlanId(java.lang.String plan_id)
plan_id
- Plan Identifierpublic PlanControl setFlags(int flags)
flags
- Flags (bitfield)public PlanControl setArg(IMCMessage arg)
arg
- Request/Reply Argumentpublic PlanControl setInfo(java.lang.String info)
info
- Complementary Info