20 std::chrono::time_point<std::chrono::high_resolution_clock>
_start;
30 virtual std::chrono::nanoseconds ExtractResponse(
const Node* node,
const data::Message*
message)
override;
41 :
Awaiter(endpoint, requestIdentifier)
43 _start = std::chrono::high_resolution_clock::now();
53 double GetResponseInMilliseconds();
A special mailbox that handles responses to a message.
An Awaiter that returns the roundtrip time of the Echo message.
TimingAwaiter(Endpoint *endpoint, uint64_t requestIdentifier)
Construct a new TimingAwaiter object.
Abstract base class for Endpoint implementations.
Represents a Node the Endpoint knows about and can send messages to.
std::chrono::time_point< std::chrono::high_resolution_clock > _start
When the ping request was sent.