public class Header extends IMCMessage
DEFAULT_ENTITY_ID, DEFAULT_SYSTEM_ID
Constructor and Description |
---|
Header() |
Header(IMCDefinition defs) |
Modifier and Type | Method and Description |
---|---|
short |
get_dst_ent() |
int |
get_dst() |
int |
get_mgid() |
int |
get_size() |
short |
get_src_ent() |
int |
get_src() |
int |
get_sync() |
double |
get_timestamp() |
Header |
set_dst_ent(short dst_ent) |
Header |
set_dst(int dst) |
Header |
set_mgid(int mgid) |
Header |
set_size(int size) |
Header |
set_src_ent(short src_ent) |
Header |
set_src(int src) |
Header |
set_sync(int sync) |
Header |
set_timestamp(double timestamp) |
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 Header()
public Header(IMCDefinition defs)
public int get_sync()
public int get_mgid()
public int get_size()
public double get_timestamp()
public int get_src()
public short get_src_ent()
public int get_dst()
public short get_dst_ent()
public Header set_sync(int sync)
sync
- Synchronization Numberpublic Header set_mgid(int mgid)
mgid
- Message Identification Numberpublic Header set_size(int size)
size
- Message size (byte)public Header set_timestamp(double timestamp)
timestamp
- Time stamp (s)public Header set_src(int src)
src
- Source Addresspublic Header set_src_ent(short src_ent)
src_ent
- Source Entitypublic Header set_dst(int dst)
dst
- Destination Addresspublic Header set_dst_ent(short dst_ent)
dst_ent
- Destination Entity