| 
    CatapultServer
    v0.5.0.1 (Elephant)
    
   | 
 
 
 
 
int64_t remoteDuration() const
Gets the remote duration.
Definition: TimeSynchronizationSample.cpp:66
 
TimeSynchronizationSample()
Creates a default time synchronization sample.
Definition: TimeSynchronizationSample.cpp:31
 
Represents the network timestamps for sending and receiving a time synchronization request / response...
Definition: CommunicationTimestamps.h:29
 
const CommunicationTimestamps & remoteTimestamps() const
Gets the remote timestamps.
Definition: TimeSynchronizationSample.cpp:54
 
const Key & identityKey() const
Gets the unique identifier (a public key).
Definition: Node.cpp:60
 
static constexpr TimeSpan FromDifference(Timestamp end, Timestamp start)
Creates a time span from the difference between start and end.
Definition: TimeSpan.h:64
 
bool operator!=(const TimeSynchronizationSample &rhs) const
Returns true if this time synchronization sample is not equal to rhs.
Definition: TimeSynchronizationSample.cpp:97
 
Represents a time duration.
Definition: TimeSpan.h:30
 
CommunicationTimestamps m_remoteTimestamps
Definition: TimeSynchronizationSample.h:79
 
int64_t localDuration() const
Gets the local duration.
Definition: TimeSynchronizationSample.cpp:62
 
Represents a sample in the time synchronization process.
Definition: TimeSynchronizationSample.h:30
 
CommunicationTimestamps m_localTimestamps
Definition: TimeSynchronizationSample.h:78
 
const ionet::Node & node() const
Gets the node.
Definition: TimeSynchronizationSample.cpp:46
 
utils::TimeSpan duration() const
Gets the duration of the complete cycle.
Definition: TimeSynchronizationSample.cpp:58
 
int64_t timeOffsetToRemote() const
Gets the offset of the local node's network time relative to the remote node's network time.
Definition: TimeSynchronizationSample.cpp:76
 
std::set< TimeSynchronizationSample > TimeSynchronizationSamples
A set of time synchronization samples.
Definition: TimeSynchronizationSample.h:83
 
const CommunicationTimestamps & localTimestamps() const
Gets the local timestamps.
Definition: TimeSynchronizationSample.cpp:50
 
Timestamp SendTimestamp
Time when the request/response was sent.
Definition: CommunicationTimestamps.h:53
 
bool operator<(const TimeSynchronizationSample &rhs) const
Returns true if this time synchronization sample is less than rhs.
Definition: TimeSynchronizationSample.cpp:81
 
Timestamp ReceiveTimestamp
Time when the request/response was received.
Definition: CommunicationTimestamps.h:56
 
utils::BaseValue< uint64_t, Timestamp_tag > Timestamp
Definition: src/catapult/types.h:73
 
ionet::Node m_node
Definition: TimeSynchronizationSample.h:77
 
Definition: AddressExtractionExtension.cpp:28
 
bool operator==(const TimeSynchronizationSample &rhs) const
Returns true if this time synchronization sample is equal to rhs.
Definition: TimeSynchronizationSample.cpp:93
 
A node in the catapult network.
Definition: Node.h:82