public class TextMessage extends IMCMessage
Modifier and Type | Field and Description |
---|---|
static int |
ID_STATIC |
DEFAULT_ENTITY_ID, DEFAULT_SYSTEM_ID
Constructor and Description |
---|
TextMessage() |
TextMessage(IMCDefinition defs) |
TextMessage(IMCMessage msg) |
TextMessage(java.lang.String origin,
java.lang.String text) |
Modifier and Type | Method and Description |
---|---|
static TextMessage |
clone(IMCMessage msg) |
static TextMessage |
create(java.lang.Object... values) |
java.lang.String |
getOrigin() |
java.lang.String |
getText() |
TextMessage |
setOrigin(java.lang.String origin) |
TextMessage |
setText(java.lang.String text) |
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 TextMessage()
public TextMessage(IMCMessage msg)
public TextMessage(IMCDefinition defs)
public TextMessage(java.lang.String origin, java.lang.String text)
public static TextMessage create(java.lang.Object... values)
public static TextMessage clone(IMCMessage msg) throws java.lang.Exception
java.lang.Exception
public java.lang.String getOrigin()
public TextMessage setOrigin(java.lang.String origin)
origin
- Originpublic java.lang.String getText()
public TextMessage setText(java.lang.String text)
text
- Text