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

Time synchronization configuration settings. More...

Static Public Member Functions

static TimeSynchronizationConfiguration Uninitialized ()
 Creates an uninitialized time synchronization configuration. More...
 
static TimeSynchronizationConfiguration LoadFromBag (const utils::ConfigurationBag &bag)
 Loads a time synchronization configuration from bag. More...
 
static TimeSynchronizationConfiguration LoadFromPath (const boost::filesystem::path &resourcesPath)
 Loads a time synchronization configuration from resourcesPath. More...
 

Public Attributes

uint8_t MaxNodes
 Number of nodes that this node should communicate with during time synchronization. More...
 

Private Member Functions

 TimeSynchronizationConfiguration ()=default
 

Detailed Description

Time synchronization configuration settings.

Constructor & Destructor Documentation

◆ TimeSynchronizationConfiguration()

catapult::timesync::TimeSynchronizationConfiguration::TimeSynchronizationConfiguration ( )
privatedefault
Here is the caller graph for this function:

Member Function Documentation

◆ LoadFromBag()

TimeSynchronizationConfiguration catapult::timesync::TimeSynchronizationConfiguration::LoadFromBag ( const utils::ConfigurationBag bag)
static

Loads a time synchronization configuration from bag.

Here is the call graph for this function:

◆ LoadFromPath()

TimeSynchronizationConfiguration catapult::timesync::TimeSynchronizationConfiguration::LoadFromPath ( const boost::filesystem::path &  resourcesPath)
static

Loads a time synchronization configuration from resourcesPath.

◆ Uninitialized()

TimeSynchronizationConfiguration catapult::timesync::TimeSynchronizationConfiguration::Uninitialized ( )
static

Creates an uninitialized time synchronization configuration.

Here is the call graph for this function:

Member Data Documentation

◆ MaxNodes

uint8_t catapult::timesync::TimeSynchronizationConfiguration::MaxNodes

Number of nodes that this node should communicate with during time synchronization.


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