CatapultServer
v0.5.0.1 (Elephant)
|
Represents the network timestamps for sending and receiving a time synchronization request / response. More...
Public Member Functions | |
CommunicationTimestamps ()=default | |
Creates default communication timestamps. More... | |
CommunicationTimestamps (Timestamp sendTimestamp, Timestamp receiveTimestamp) | |
Creates communication timestamps around sendTimestamp and receiveTimestamp. More... | |
constexpr bool | operator== (const CommunicationTimestamps &rhs) const |
Returns true if these communication timestamps are equal to rhs. More... | |
constexpr bool | operator!= (const CommunicationTimestamps &rhs) const |
Returns true if these communication timestamps are not equal to rhs. More... | |
Public Attributes | |
Timestamp | SendTimestamp |
Time when the request/response was sent. More... | |
Timestamp | ReceiveTimestamp |
Time when the request/response was received. More... | |
Represents the network timestamps for sending and receiving a time synchronization request / response.
|
default |
Creates default communication timestamps.
|
inline |
Creates communication timestamps around sendTimestamp and receiveTimestamp.
|
inlineconstexpr |
Returns true
if these communication timestamps are not equal to rhs.
|
inlineconstexpr |
Returns true
if these communication timestamps are equal to rhs.
Timestamp catapult::timesync::CommunicationTimestamps::ReceiveTimestamp |
Time when the request/response was received.
Timestamp catapult::timesync::CommunicationTimestamps::SendTimestamp |
Time when the request/response was sent.