public class CcuEvent extends IMCMessage
Modifier and Type | Class and Description |
---|---|
static class |
CcuEvent.TYPE |
Modifier and Type | Field and Description |
---|---|
static int |
ID_STATIC |
DEFAULT_ENTITY_ID, DEFAULT_SYSTEM_ID
Constructor and Description |
---|
CcuEvent() |
CcuEvent(CcuEvent.TYPE type,
java.lang.String id,
IMCMessage arg) |
CcuEvent(IMCDefinition defs) |
CcuEvent(IMCMessage msg) |
Modifier and Type | Method and Description |
---|---|
static CcuEvent |
clone(IMCMessage msg) |
static CcuEvent |
create(java.lang.Object... values) |
IMCMessage |
getArg() |
<T extends IMCMessage> |
getArg(java.lang.Class<T> clazz) |
java.lang.String |
getId() |
CcuEvent.TYPE |
getType() |
java.lang.String |
getTypeStr() |
short |
getTypeVal() |
CcuEvent |
setArg(IMCMessage arg) |
CcuEvent |
setId(java.lang.String id) |
CcuEvent |
setType(CcuEvent.TYPE type) |
CcuEvent |
setTypeStr(java.lang.String type) |
CcuEvent |
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 ID_STATIC
public CcuEvent()
public CcuEvent(IMCMessage msg)
public CcuEvent(IMCDefinition defs)
public CcuEvent(CcuEvent.TYPE type, java.lang.String id, IMCMessage arg)
public static CcuEvent create(java.lang.Object... values)
public static CcuEvent clone(IMCMessage msg) throws java.lang.Exception
java.lang.Exception
public CcuEvent.TYPE getType()
public java.lang.String getTypeStr()
public short getTypeVal()
public CcuEvent setType(CcuEvent.TYPE type)
type
- Event Type (enumerated)public CcuEvent setTypeStr(java.lang.String type)
type
- Event Type (as a String)public CcuEvent setTypeVal(short type)
type
- Event Type (integer value)public java.lang.String getId()
public CcuEvent setId(java.lang.String id)
id
- Identifierpublic IMCMessage getArg()
public <T extends IMCMessage> T getArg(java.lang.Class<T> clazz) throws java.lang.Exception
java.lang.Exception
public CcuEvent setArg(IMCMessage arg)
arg
- Additional Data