public class IoEvent extends IMCMessage
Modifier and Type | Class and Description |
---|---|
static class |
IoEvent.TYPE |
Modifier and Type | Field and Description |
---|---|
static int |
ID_STATIC |
DEFAULT_ENTITY_ID, DEFAULT_SYSTEM_ID
Constructor and Description |
---|
IoEvent() |
IoEvent(IMCDefinition defs) |
IoEvent(IMCMessage msg) |
IoEvent(IoEvent.TYPE type,
java.lang.String error) |
Modifier and Type | Method and Description |
---|---|
static IoEvent |
clone(IMCMessage msg) |
static IoEvent |
create(java.lang.Object... values) |
java.lang.String |
getError() |
IoEvent.TYPE |
getType() |
java.lang.String |
getTypeStr() |
short |
getTypeVal() |
IoEvent |
setError(java.lang.String error) |
IoEvent |
setType(IoEvent.TYPE type) |
IoEvent |
setTypeStr(java.lang.String type) |
IoEvent |
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 IoEvent()
public IoEvent(IMCMessage msg)
public IoEvent(IMCDefinition defs)
public IoEvent(IoEvent.TYPE type, java.lang.String error)
public static IoEvent create(java.lang.Object... values)
public static IoEvent clone(IMCMessage msg) throws java.lang.Exception
java.lang.Exception
public IoEvent.TYPE getType()
public java.lang.String getTypeStr()
public short getTypeVal()
public IoEvent setType(IoEvent.TYPE type)
type
- Type (enumerated)public IoEvent setTypeStr(java.lang.String type)
type
- Type (as a String)public IoEvent setTypeVal(short type)
type
- Type (integer value)public java.lang.String getError()
public IoEvent setError(java.lang.String error)
error
- Error Message