CatapultServer  v0.5.0.1 (Elephant)
catapult::io::BlockChangeSubscriber Class Referenceabstract

Block change subscriber. More...

Inheritance diagram for catapult::io::BlockChangeSubscriber:

Public Member Functions

virtual ~BlockChangeSubscriber ()=default
 
virtual void notifyBlock (const model::BlockElement &blockElement)=0
 Indicates blockElement was saved. More...
 
virtual void notifyDropBlocksAfter (Height height)=0
 Indicates all blocks after height were invalidated. More...
 

Detailed Description

Block change subscriber.

Constructor & Destructor Documentation

◆ ~BlockChangeSubscriber()

virtual catapult::io::BlockChangeSubscriber::~BlockChangeSubscriber ( )
virtualdefault

Member Function Documentation

◆ notifyBlock()

virtual void catapult::io::BlockChangeSubscriber::notifyBlock ( const model::BlockElement blockElement)
pure virtual

Indicates blockElement was saved.

Implemented in catapult::subscribers::AggregateBlockChangeSubscriber< TBlockChangeSubscriber >.

Here is the caller graph for this function:

◆ notifyDropBlocksAfter()

virtual void catapult::io::BlockChangeSubscriber::notifyDropBlocksAfter ( Height  height)
pure virtual

Indicates all blocks after height were invalidated.

Implemented in catapult::subscribers::AggregateBlockChangeSubscriber< TBlockChangeSubscriber >.


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