CatapultServer  v0.5.0.1 (Elephant)
catapult::subscribers::AggregatePtChangeSubscriber< TPtChangeSubscriber > Class Template Reference

Aggregate partial transactions change subscriber. More...

Inheritance diagram for catapult::subscribers::AggregatePtChangeSubscriber< TPtChangeSubscriber >:
Collaboration diagram for catapult::subscribers::AggregatePtChangeSubscriber< TPtChangeSubscriber >:

Public Member Functions

void notifyAddPartials (const TransactionInfos &transactionInfos) override
 
void notifyAddCosignature (const model::TransactionInfo &parentTransactionInfo, const Key &signer, const Signature &signature) override
 Indicates a cosignature (composed of signer and signature) was added to a partial transaction (parentTransactionInfo). More...
 
void notifyRemovePartials (const TransactionInfos &transactionInfos) override
 
void flush () override
 Flushes all pending partial transactions changes. More...
 
- Public Member Functions inherited from catapult::subscribers::BasicAggregateSubscriber< TPtChangeSubscriber >
 BasicAggregateSubscriber (std::vector< std::unique_ptr< TPtChangeSubscriber >> &&subscribers)
 Creates an aggregate subscriber around subscribers. More...
 
- Public Member Functions inherited from catapult::cache::PtChangeSubscriber
virtual ~PtChangeSubscriber ()=default
 

Additional Inherited Members

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

Detailed Description

template<typename TPtChangeSubscriber = cache::PtChangeSubscriber>
class catapult::subscribers::AggregatePtChangeSubscriber< TPtChangeSubscriber >

Aggregate partial transactions change subscriber.

Member Function Documentation

◆ flush()

template<typename TPtChangeSubscriber = cache::PtChangeSubscriber>
void catapult::subscribers::AggregatePtChangeSubscriber< TPtChangeSubscriber >::flush ( )
inlineoverridevirtual

Flushes all pending partial transactions changes.

Implements catapult::cache::PtChangeSubscriber.

Here is the call graph for this function:

◆ notifyAddCosignature()

template<typename TPtChangeSubscriber = cache::PtChangeSubscriber>
void catapult::subscribers::AggregatePtChangeSubscriber< TPtChangeSubscriber >::notifyAddCosignature ( const model::TransactionInfo parentTransactionInfo,
const Key signer,
const Signature signature 
)
inlineoverridevirtual

Indicates a cosignature (composed of signer and signature) was added to a partial transaction (parentTransactionInfo).

Implements catapult::cache::PtChangeSubscriber.

Here is the call graph for this function:

◆ notifyAddPartials()

template<typename TPtChangeSubscriber = cache::PtChangeSubscriber>
void catapult::subscribers::AggregatePtChangeSubscriber< TPtChangeSubscriber >::notifyAddPartials ( const TransactionInfos transactionInfos)
inlineoverridevirtual

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

Note
This is only aggregate part and will not have any cosignatures.

Implements catapult::cache::PtChangeSubscriber.

Here is the call graph for this function:

◆ notifyRemovePartials()

template<typename TPtChangeSubscriber = cache::PtChangeSubscriber>
void catapult::subscribers::AggregatePtChangeSubscriber< TPtChangeSubscriber >::notifyRemovePartials ( const TransactionInfos transactionInfos)
inlineoverridevirtual

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

Note
This is only aggregate part and will not have any cosignatures.

Implements catapult::cache::PtChangeSubscriber.

Here is the call graph for this function:

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