CatapultServer  v0.5.0.1 (Elephant)
catapult::subscribers::StateChangeSubscriber Class Referenceabstract

State change subscriber. More...

Inheritance diagram for catapult::subscribers::StateChangeSubscriber:

Public Member Functions

virtual ~StateChangeSubscriber ()=default
 
virtual void notifyScoreChange (const model::ChainScore &chainScore)=0
 Indicates chain score was changed to chainScore. More...
 
virtual void notifyStateChange (const StateChangeInfo &stateChangeInfo)=0
 Indicates state was changed with change information in stateChangeInfo. More...
 

Detailed Description

State change subscriber.

Constructor & Destructor Documentation

◆ ~StateChangeSubscriber()

virtual catapult::subscribers::StateChangeSubscriber::~StateChangeSubscriber ( )
virtualdefault

Member Function Documentation

◆ notifyScoreChange()

virtual void catapult::subscribers::StateChangeSubscriber::notifyScoreChange ( const model::ChainScore chainScore)
pure virtual

Indicates chain score was changed to chainScore.

Implemented in catapult::mongo::ApiStateChangeSubscriber, and catapult::subscribers::AggregateStateChangeSubscriber< TStateChangeSubscriber >.

Here is the caller graph for this function:

◆ notifyStateChange()

virtual void catapult::subscribers::StateChangeSubscriber::notifyStateChange ( const StateChangeInfo stateChangeInfo)
pure virtual

Indicates state was changed with change information in stateChangeInfo.

Implemented in catapult::mongo::ApiStateChangeSubscriber, and catapult::subscribers::AggregateStateChangeSubscriber< TStateChangeSubscriber >.

Here is the caller graph for this function:

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