The DtAssistantMsgHeaderReader class reads data from RTI Assistant message headers.
More...
|
| | DtAssistantMsgHeaderReader () |
| |
| virtual | ~DtAssistantMsgHeaderReader () |
| |
| virtual bool | isBundled (const char *msg, size_t size) const |
| | Whether the message is part of a bundle. More...
|
| |
| virtual void | setBundled (char *msg, size_t size, bool bundled) const |
| | Set whether message is part of a bundle. More...
|
| |
| virtual bool | isCompressed (const char *msg, size_t size) const |
| | Whether the message is compressed. More...
|
| |
| virtual void | setCompressed (char *msg, size_t size, bool compressed) const |
| | Set whether message is compressed. More...
|
| |
| virtual bool | hasMetadata (const char *msg, size_t size) const |
| | Whether the message contains metadata. More...
|
| |
| virtual bool | getMessageHeader (char *msg, size_t size, char **hdr, size_t &hdrSize) const |
| | Get the location and size of the message header. More...
|
| |
| virtual bool | getMessageBody (char *msg, size_t size, char **body, size_t &bodySize) const |
| | Get the location and size of the message body. More...
|
| |
| virtual bool | getMessageTrailer (char *msg, size_t size, char **trlr, size_t &trlrSize) const |
| | Get the location and size of the message trailer (generally metadata). More...
|
| |
| virtual size_t | messageSize (const char *msg, size_t size) const |
| | Determine the size of the whole message (including header and metadata) More...
|
| |
| virtual void | setMessageSize (char *msg, size_t size, size_t newSize) const |
| | Sets the size of the whole message (including header and metadata) More...
|
| |
| virtual size_t | bytesForSize () const |
| | Bytes of data required before message size can be determined. More...
|
| |
The DtAssistantMsgHeaderReader class reads data from RTI Assistant message headers.
| DtAssistantMsgHeaderReader::DtAssistantMsgHeaderReader |
( |
| ) |
|
| virtual DtAssistantMsgHeaderReader::~DtAssistantMsgHeaderReader |
( |
| ) |
|
|
virtual |
| virtual size_t DtAssistantMsgHeaderReader::bytesForSize |
( |
| ) |
const |
|
virtual |
Bytes of data required before message size can be determined.
Implements DtMsgHeaderReader.
| virtual bool DtAssistantMsgHeaderReader::getMessageBody |
( |
char * |
msg, |
|
|
size_t |
size, |
|
|
char ** |
body, |
|
|
size_t & |
bodySize |
|
) |
| const |
|
virtual |
Get the location and size of the message body.
Returns false if the message contains no body.
Implements DtMsgHeaderReader.
| virtual bool DtAssistantMsgHeaderReader::getMessageHeader |
( |
char * |
msg, |
|
|
size_t |
size, |
|
|
char ** |
hdr, |
|
|
size_t & |
hdrSize |
|
) |
| const |
|
virtual |
Get the location and size of the message header.
Returns false if the message does not contain a full header.
Implements DtMsgHeaderReader.
| virtual bool DtAssistantMsgHeaderReader::getMessageTrailer |
( |
char * |
msg, |
|
|
size_t |
size, |
|
|
char ** |
trlr, |
|
|
size_t & |
trlrSize |
|
) |
| const |
|
virtual |
Get the location and size of the message trailer (generally metadata).
Returns false if the message does not contain a trailer.
Implements DtMsgHeaderReader.
| virtual bool DtAssistantMsgHeaderReader::hasMetadata |
( |
const char * |
msg, |
|
|
size_t |
size |
|
) |
| const |
|
virtual |
| virtual bool DtAssistantMsgHeaderReader::isBundled |
( |
const char * |
msg, |
|
|
size_t |
size |
|
) |
| const |
|
virtual |
| virtual bool DtAssistantMsgHeaderReader::isCompressed |
( |
const char * |
msg, |
|
|
size_t |
size |
|
) |
| const |
|
virtual |
| virtual size_t DtAssistantMsgHeaderReader::messageSize |
( |
const char * |
msg, |
|
|
size_t |
size |
|
) |
| const |
|
virtual |
Determine the size of the whole message (including header and metadata)
Implements DtMsgHeaderReader.
| virtual void DtAssistantMsgHeaderReader::setBundled |
( |
char * |
msg, |
|
|
size_t |
size, |
|
|
bool |
bundled |
|
) |
| const |
|
virtual |
| virtual void DtAssistantMsgHeaderReader::setCompressed |
( |
char * |
msg, |
|
|
size_t |
size, |
|
|
bool |
compressed |
|
) |
| const |
|
virtual |
| virtual void DtAssistantMsgHeaderReader::setMessageSize |
( |
char * |
msg, |
|
|
size_t |
size, |
|
|
size_t |
newSize |
|
) |
| const |
|
virtual |
Sets the size of the whole message (including header and metadata)
Implements DtMsgHeaderReader.
| size_t DtAssistantMsgHeaderReader::myBytesForHeader |
|
protected |
Number of bytes needed for a full message header.
| size_t DtAssistantMsgHeaderReader::myBytesForSize |
|
protected |
Number of bytes needed to read the message size.
The documentation for this class was generated from the following file: