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()
Event type.
|
IoEvent |
setError(java.lang.String error) |
IoEvent |
setType(IoEvent.TYPE type) |
IoEvent |
setType(short type) |
IoEvent |
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 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 getError()
public IoEvent setType(IoEvent.TYPE type)
type
- Type (enumerated)public IoEvent setType(java.lang.String type)
type
- Type (as a String)public IoEvent setType(short type)
type
- Type (integer value)public IoEvent setError(java.lang.String error)
error
- Error Message