CatapultServer  v0.5.0.1 (Elephant)
catapult::subscribers::AggregateUtChangeSubscriber< TUtChangeSubscriber > Class Template Reference

Aggregate unconfirmed transactions change subscriber. More...

Inheritance diagram for catapult::subscribers::AggregateUtChangeSubscriber< TUtChangeSubscriber >:
Collaboration diagram for catapult::subscribers::AggregateUtChangeSubscriber< TUtChangeSubscriber >:

Public Member Functions

void notifyAdds (const TransactionInfos &transactionInfos) override
 Indicates transaction infos (transactionInfos) were added to unconfirmed transactions. More...
 
void notifyRemoves (const TransactionInfos &transactionInfos) override
 Indicates transaction infos (transactionInfos) were removed from unconfirmed transactions. More...
 
void flush () override
 Flushes all pending unconfirmed transactions changes. More...
 
- Public Member Functions inherited from catapult::subscribers::BasicAggregateSubscriber< TUtChangeSubscriber >
 BasicAggregateSubscriber (std::vector< std::unique_ptr< TUtChangeSubscriber >> &&subscribers)
 Creates an aggregate subscriber around subscribers. More...
 
- Public Member Functions inherited from catapult::cache::UtChangeSubscriber
virtual ~UtChangeSubscriber ()=default
 

Additional Inherited Members

- Public Types inherited from catapult::cache::UtChangeSubscriber
using TransactionInfos = model::TransactionInfosSet
 
- Protected Member Functions inherited from catapult::subscribers::BasicAggregateSubscriber< TUtChangeSubscriber >
void forEach (TAction action) const
 

Detailed Description

template<typename TUtChangeSubscriber = cache::UtChangeSubscriber>
class catapult::subscribers::AggregateUtChangeSubscriber< TUtChangeSubscriber >

Aggregate unconfirmed transactions change subscriber.

Member Function Documentation

◆ flush()

template<typename TUtChangeSubscriber = cache::UtChangeSubscriber>
void catapult::subscribers::AggregateUtChangeSubscriber< TUtChangeSubscriber >::flush ( )
inlineoverridevirtual

Flushes all pending unconfirmed transactions changes.

Implements catapult::cache::UtChangeSubscriber.

Here is the call graph for this function:

◆ notifyAdds()

template<typename TUtChangeSubscriber = cache::UtChangeSubscriber>
void catapult::subscribers::AggregateUtChangeSubscriber< TUtChangeSubscriber >::notifyAdds ( const TransactionInfos transactionInfos)
inlineoverridevirtual

Indicates transaction infos (transactionInfos) were added to unconfirmed transactions.

Implements catapult::cache::UtChangeSubscriber.

Here is the call graph for this function:

◆ notifyRemoves()

template<typename TUtChangeSubscriber = cache::UtChangeSubscriber>
void catapult::subscribers::AggregateUtChangeSubscriber< TUtChangeSubscriber >::notifyRemoves ( const TransactionInfos transactionInfos)
inlineoverridevirtual

Indicates transaction infos (transactionInfos) were removed from unconfirmed transactions.

Implements catapult::cache::UtChangeSubscriber.

Here is the call graph for this function:

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