public class MessagePart extends IMCMessage
Modifier and Type | Field and Description |
---|---|
static int |
ID_STATIC |
DEFAULT_ENTITY_ID, DEFAULT_SYSTEM_ID
Constructor and Description |
---|
MessagePart() |
MessagePart(IMCDefinition defs) |
MessagePart(IMCMessage msg) |
MessagePart(short uid,
short frag_number,
short num_frags,
byte[] data) |
Modifier and Type | Method and Description |
---|---|
static MessagePart |
clone(IMCMessage msg) |
static MessagePart |
create(java.lang.Object... values) |
byte[] |
getData() |
short |
getFragNumber() |
short |
getNumFrags() |
short |
getUid() |
MessagePart |
setData(byte[] data) |
MessagePart |
setFragNumber(short frag_number) |
MessagePart |
setNumFrags(short num_frags) |
MessagePart |
setUid(short uid) |
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 MessagePart()
public MessagePart(IMCMessage msg)
public MessagePart(IMCDefinition defs)
public MessagePart(short uid, short frag_number, short num_frags, byte[] data)
public static MessagePart create(java.lang.Object... values)
public static MessagePart clone(IMCMessage msg) throws java.lang.Exception
java.lang.Exception
public short getUid()
public MessagePart setUid(short uid)
uid
- Transmission Unique Idpublic short getFragNumber()
public MessagePart setFragNumber(short frag_number)
frag_number
- Fragment Numberpublic short getNumFrags()
public MessagePart setNumFrags(short num_frags)
num_frags
- Total Number of fragmentspublic byte[] getData()
public MessagePart setData(byte[] data)
data
- Fragment Data