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() |
CcuEvent |
setArg(IMCMessage arg) |
CcuEvent |
setId(java.lang.String id) |
CcuEvent |
setType(CcuEvent.TYPE type) |
CcuEvent |
setType(short type) |
CcuEvent |
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 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 getId()
public IMCMessage getArg()
public <T extends IMCMessage> T getArg(java.lang.Class<T> clazz) throws java.lang.Exception
java.lang.Exception
public CcuEvent setType(CcuEvent.TYPE type)
type
- Event Type (enumerated)public CcuEvent setType(java.lang.String type)
type
- Event Type (as a String)public CcuEvent setType(short type)
type
- Event Type (integer value)public CcuEvent setId(java.lang.String id)
id
- Identifierpublic CcuEvent setArg(IMCMessage arg)
arg
- Additional Data