Events¶
MessageInfo¶
A representation of key metrics relating to the origin and age of a message.
-
struct
roq
::
MessageInfo
¶ Trace information relating to the current message.
Public Members
-
uint8_t
source
= {}¶ Source identifier (index into the list of connections)
-
std::string_view
source_name
¶ Source name.
-
UUID
source_session_id
¶ Session identifier (UUID)
-
uint64_t
source_seqno
= {}¶ Sequence number (strictly increasing)
-
std::chrono::nanoseconds
receive_time_utc
= {}¶ Client receive time (realtime clock)
-
std::chrono::nanoseconds
receive_time
= {}¶ Client receive time (monotonic clock)
-
std::chrono::nanoseconds
source_send_time
= {}¶ Source send time (monotonic clock)
-
std::chrono::nanoseconds
source_receive_time
= {}¶ Source receive time (monotonic clock)
-
bool
is_last
= false¶ Is last in batch?
-
uint64_t
opaque
= {}¶ Opaque value (internal)
-
uint8_t
Event¶
A template used to encapsulate a message with its associated
roq::MessageInfo
.