CatapultServer
v0.5.0.1 (Elephant)
|
Raises nemesis block notifications. More...
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::BlockChainConfiguration & | m_config |
const cache::CatapultCache & | m_cache |
const io::BlockStorageCache & | m_storage |
const plugins::PluginManager & | m_pluginManager |
Raises nemesis block notifications.
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.
|
private |
void catapult::local::NemesisBlockNotifier::raise | ( | io::BlockChangeSubscriber & | subscriber | ) |
Raises and forwards block change notifications to subscriber.
void catapult::local::NemesisBlockNotifier::raise | ( | subscribers::StateChangeSubscriber & | subscriber | ) |
Raises and forwards state change notifications to subscriber.
|
private |
|
private |
|
private |
|
private |