CatapultServer  v0.5.0.1 (Elephant)
catapult::timesync::TimeSynchronizationResult Struct Reference

Information about the result of a time synchronization procedure with a remote node. More...

Collaboration diagram for catapult::timesync::TimeSynchronizationResult:

Public Member Functions

 TimeSynchronizationResult (catapult::Timestamp timestamp, int64_t currentOffset, int64_t change)
 Creates a result around timestamp, currentOffset and change. More...
 

Public Attributes

catapult::Timestamp Timestamp
 Time when the synchronization happened. More...
 
int64_t CurrentOffset
 Time offset after the synchronization. More...
 
int64_t Change
 Change in time offset caused by the synchronization. More...
 

Detailed Description

Information about the result of a time synchronization procedure with a remote node.

Constructor & Destructor Documentation

◆ TimeSynchronizationResult()

catapult::timesync::TimeSynchronizationResult::TimeSynchronizationResult ( catapult::Timestamp  timestamp,
int64_t  currentOffset,
int64_t  change 
)
inline

Creates a result around timestamp, currentOffset and change.

Member Data Documentation

◆ Change

int64_t catapult::timesync::TimeSynchronizationResult::Change

Change in time offset caused by the synchronization.

◆ CurrentOffset

int64_t catapult::timesync::TimeSynchronizationResult::CurrentOffset

Time offset after the synchronization.

◆ Timestamp

catapult::Timestamp catapult::timesync::TimeSynchronizationResult::Timestamp

Time when the synchronization happened.


The documentation for this struct was generated from the following file: