Struct astutedds::rtps::TCPMessageHeader
ClassList > astutedds > rtps > TCPMessageHeader
TCP message frame header. More...
#include <tcp_transport.hpp>
Public Attributes
| Type | Name |
|---|---|
| uint32_t | message_length = {0} |
Public Static Attributes
| Type | Name |
|---|---|
| constexpr size_t | SIZE = 4 |
Public Functions
| Type | Name |
|---|---|
| bool | deserialize (const uint8_t * data, size_t len) |
| void | serialize (std::vector< uint8_t > & buffer) const |
Detailed Description
Each RTPS message over TCP is prefixed with a 4-byte length field.
Public Attributes Documentation
variable message_length
uint32_t astutedds::rtps::TCPMessageHeader::message_length;
Public Static Attributes Documentation
variable SIZE
constexpr size_t astutedds::rtps::TCPMessageHeader::SIZE;
Public Functions Documentation
function deserialize
inline bool astutedds::rtps::TCPMessageHeader::deserialize (
const uint8_t * data,
size_t len
)
function serialize
inline void astutedds::rtps::TCPMessageHeader::serialize (
std::vector< uint8_t > & buffer
) const
The documentation for this class was generated from the following file include/astutedds/rtps/tcp_transport.hpp