|
DelegateMQ
|
Header for remote delegate messages. More...
#include <DmqHeader.h>
Public Member Functions | |
| DmqHeader ()=default | |
| DmqHeader (uint16_t id, uint16_t seqNum, uint16_t length=0) | |
| uint16_t | GetMarker () const |
| uint16_t | GetId () const |
| uint16_t | GetSeqNum () const |
| uint16_t | GetLength () const |
| void | SetId (uint16_t id) |
| void | SetSeqNum (uint16_t seqNum) |
| void | SetMarker (uint16_t marker) |
| void | SetLength (uint16_t length) |
Static Public Member Functions | |
| static uint16_t | GetNextSeqNum () |
Static Public Attributes | |
| static const uint16_t | MARKER = 0xAA55 |
| static const size_t | HEADER_SIZE = 8 |
Header for remote delegate messages.
This class is a Plain Old Data (POD) container. It stores values in Host Byte Order. The Transport layer is responsible for converting to/from Network Byte Order (Big Endian) during transmission.
|
default |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinestatic |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
static |
|
static |