OnixS Eurex EDCI Handler C++ library 1.0.0
Users' manual and API documentation
Loading...
Searching...
No Matches
MessageInfo Class Reference

Public Attributes

std::chrono::steady_clock::time_point receivingTime {std::chrono::steady_clock::time_point::min()}

Detailed Description

Definition at line 32 of file MessageInfo.h.

Member Data Documentation

◆ receivingTime

std::chrono::steady_clock::time_point receivingTime {std::chrono::steady_clock::time_point::min()}

Time at which the Handler read this message from the transport, captured via std::chrono::steady_clock.

Intended for latency measurement:

const auto latency = std::chrono::steady_clock::now() - info.receivingTime;

The epoch of steady_clock is unspecified. Do not serialize this value, compare it across processes, or interpret it as wall-clock time.

If not captured, equals std::chrono::steady_clock::time_point::min().

Definition at line 48 of file MessageInfo.h.