CatapultServer  v0.5.0.1 (Elephant)
catapult::local::NemesisBlockNotifier Class Reference

Raises nemesis block notifications. More...

Collaboration diagram for catapult::local::NemesisBlockNotifier:

Public Member Functions

 NemesisBlockNotifier (const model::BlockChainConfiguration &config, const cache::CatapultCache &cache, const io::BlockStorageCache &storage, const plugins::PluginManager &pluginManager)
 Creates a notifier around config, cache, storage and pluginManager. More...
 
void raise (io::BlockChangeSubscriber &subscriber)
 Raises and forwards block change notifications to subscriber. More...
 
void raise (subscribers::StateChangeSubscriber &subscriber)
 Raises and forwards state change notifications to subscriber. More...
 

Private Member Functions

void raise (const consumer< model::BlockElement > &action)
 

Private Attributes

const model::BlockChainConfigurationm_config
 
const cache::CatapultCachem_cache
 
const io::BlockStorageCachem_storage
 
const plugins::PluginManagerm_pluginManager
 

Detailed Description

Raises nemesis block notifications.

Constructor & Destructor Documentation

◆ NemesisBlockNotifier()

catapult::local::NemesisBlockNotifier::NemesisBlockNotifier ( const model::BlockChainConfiguration config,
const cache::CatapultCache cache,
const io::BlockStorageCache storage,
const plugins::PluginManager pluginManager 
)

Creates a notifier around config, cache, storage and pluginManager.

Member Function Documentation

◆ raise() [1/3]

void catapult::local::NemesisBlockNotifier::raise ( const consumer< model::BlockElement > &  action)
private
Here is the call graph for this function:

◆ raise() [2/3]

void catapult::local::NemesisBlockNotifier::raise ( io::BlockChangeSubscriber subscriber)

Raises and forwards block change notifications to subscriber.

Here is the call graph for this function:

◆ raise() [3/3]

void catapult::local::NemesisBlockNotifier::raise ( subscribers::StateChangeSubscriber subscriber)

Raises and forwards state change notifications to subscriber.

Here is the call graph for this function:

Member Data Documentation

◆ m_cache

const cache::CatapultCache& catapult::local::NemesisBlockNotifier::m_cache
private

◆ m_config

const model::BlockChainConfiguration& catapult::local::NemesisBlockNotifier::m_config
private

◆ m_pluginManager

const plugins::PluginManager& catapult::local::NemesisBlockNotifier::m_pluginManager
private

◆ m_storage

const io::BlockStorageCache& catapult::local::NemesisBlockNotifier::m_storage
private

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