Struct Message
Defined in File types.hpp
Struct Documentation
-
struct Message
A single Message published to a Channel.
Public Members
-
uint32_t sequence
An optional sequence number. If non-zero, sequence numbers should be unique per channel and increasing over time.
-
Timestamp publishTime
Nanosecond timestamp when this message was initially published. If not available, this should be set to
logTime.
-
uint64_t dataSize
Size of the message payload in bytes, pointed to via
data.
-
const std::byte *data = nullptr
A pointer to the message payload. For readers, this pointer is only valid for the lifetime of an onMessage callback or before the message iterator is advanced.
-
uint32_t sequence