public class Event extends IMCMessage
Modifier and Type | Field and Description |
---|---|
static int |
ID_STATIC |
DEFAULT_ENTITY_ID, DEFAULT_SYSTEM_ID
Constructor and Description |
---|
Event() |
Event(IMCDefinition defs) |
Event(IMCMessage msg) |
Event(java.lang.String topic,
java.lang.String data) |
Modifier and Type | Method and Description |
---|---|
static Event |
clone(IMCMessage msg) |
static Event |
create(java.lang.Object... values) |
java.util.LinkedHashMap<java.lang.String,java.lang.String> |
getData() |
java.lang.String |
getTopic() |
Event |
setData(java.util.LinkedHashMap<java.lang.String,?> data) |
Event |
setData(java.lang.String data) |
Event |
setTopic(java.lang.String topic) |
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 Event()
public Event(IMCMessage msg)
public Event(IMCDefinition defs)
public Event(java.lang.String topic, java.lang.String data)
public static Event create(java.lang.Object... values)
public static Event clone(IMCMessage msg) throws java.lang.Exception
java.lang.Exception
public java.lang.String getTopic()
public Event setTopic(java.lang.String topic)
topic
- Topicpublic java.util.LinkedHashMap<java.lang.String,java.lang.String> getData()
public Event setData(java.util.LinkedHashMap<java.lang.String,?> data)
data
- Data (tuplelist)public Event setData(java.lang.String data)