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) |
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() |
void |
setArg(IMCMessage arg) |
void |
setId(java.lang.String id) |
void |
setType(CcuEvent.TYPE type) |
void |
setType(short type) |
void |
setType(java.lang.String type) |
asJSON, asXml, cloneMessage, cloneMessage, compareTo, 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, hasFlag, hexdump, isNull, isPeriodic, main, makeImmutable, parseXml, payloadMD5, serialize, serialize, setBitMask, setDst, setDstEnt, setHeader, setMessage, setMessageList, setSrc, setSrcEnt, setTimestamp, setTimestampMillis, setType, setValue, setValues, toString, validate
public static final int ID_STATIC
public CcuEvent()
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 void setType(CcuEvent.TYPE type)
type
- Event Type (enumerated)public void setType(java.lang.String type)
type
- Event Type (as a String)public void setType(short type)
type
- Event Type (integer value)public void setId(java.lang.String id)
id
- Identifierpublic void setArg(IMCMessage arg)
arg
- Additional Data