CatapultServer  v0.5.0.1 (Elephant)
catapult::chain::EntitiesSynchronizer< TSynchronizerTraits > Class Template Reference

An entities synchronizer. More...

Public Types

using RemoteApiType = typename TSynchronizerTraits::RemoteApiType
 

Public Member Functions

 EntitiesSynchronizer (TSynchronizerTraits &&traits)
 Creates an entities synchronizer around traits. More...
 
NodeInteractionFuture operator() (const RemoteApiType &api)
 Pulls entities from a remote node using api. More...
 

Private Types

using NodeInteractionFuture = thread::future< ionet::NodeInteractionResultCode >
 

Private Attributes

TSynchronizerTraits m_traits
 

Detailed Description

template<typename TSynchronizerTraits>
class catapult::chain::EntitiesSynchronizer< TSynchronizerTraits >

An entities synchronizer.

Member Typedef Documentation

◆ NodeInteractionFuture

template<typename TSynchronizerTraits >
using catapult::chain::EntitiesSynchronizer< TSynchronizerTraits >::NodeInteractionFuture = thread::future<ionet::NodeInteractionResultCode>
private

◆ RemoteApiType

template<typename TSynchronizerTraits >
using catapult::chain::EntitiesSynchronizer< TSynchronizerTraits >::RemoteApiType = typename TSynchronizerTraits::RemoteApiType

Constructor & Destructor Documentation

◆ EntitiesSynchronizer()

template<typename TSynchronizerTraits >
catapult::chain::EntitiesSynchronizer< TSynchronizerTraits >::EntitiesSynchronizer ( TSynchronizerTraits &&  traits)
inlineexplicit

Creates an entities synchronizer around traits.

Member Function Documentation

◆ operator()()

template<typename TSynchronizerTraits >
NodeInteractionFuture catapult::chain::EntitiesSynchronizer< TSynchronizerTraits >::operator() ( const RemoteApiType api)
inline

Pulls entities from a remote node using api.

Here is the call graph for this function:

Member Data Documentation

◆ m_traits

template<typename TSynchronizerTraits >
TSynchronizerTraits catapult::chain::EntitiesSynchronizer< TSynchronizerTraits >::m_traits
private

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