CatapultServer
v0.5.0.1 (Elephant)
|
Go to the documentation of this file.
27 namespace catapult {
namespace mongo {
34 std::unique_ptr<ChainScoreProvider>&& pChainScoreProvider,
35 std::unique_ptr<ExternalCacheStorage>&& pCacheStorage)
State change subscriber.
Definition: StateChangeSubscriber.h:31
Definition: ChainScore.h:30
std::unique_ptr< ExternalCacheStorage > m_pCacheStorage
Definition: ApiStateChangeSubscriber.h:51
void notifyStateChange(const subscribers::StateChangeInfo &stateChangeInfo) override
Indicates state was changed with change information in stateChangeInfo.
Definition: ApiStateChangeSubscriber.h:45
Api state change subscriber.
Definition: ApiStateChangeSubscriber.h:30
void notifyScoreChange(const model::ChainScore &chainScore) override
Indicates chain score was changed to chainScore.
Definition: ApiStateChangeSubscriber.h:41
State change information.
Definition: StateChangeInfo.h:29
Definition: AddressExtractionExtension.cpp:28
std::unique_ptr< ChainScoreProvider > m_pChainScoreProvider
Definition: ApiStateChangeSubscriber.h:50
const cache::CacheChanges CacheChanges
Cache changes.
Definition: StateChangeInfo.h:40
ApiStateChangeSubscriber(std::unique_ptr< ChainScoreProvider > &&pChainScoreProvider, std::unique_ptr< ExternalCacheStorage > &&pCacheStorage)
Creates a subscriber around pChainScoreProvider and pCacheStorage.
Definition: ApiStateChangeSubscriber.h:33