CatapultServer  v0.5.0.1 (Elephant)
catapult::subscribers::AggregateTransactionStatusSubscriber< TTransactionStatusSubscriber > Class Template Reference

Aggregate transaction status subscriber. More...

Inheritance diagram for catapult::subscribers::AggregateTransactionStatusSubscriber< TTransactionStatusSubscriber >:
Collaboration diagram for catapult::subscribers::AggregateTransactionStatusSubscriber< TTransactionStatusSubscriber >:

Public Member Functions

void notifyStatus (const model::Transaction &transaction, const Hash256 &hash, uint32_t status) override
 Indicates transaction with hash completed with status. More...
 
void flush () override
 Flushes all queued data. More...
 
- Public Member Functions inherited from catapult::subscribers::BasicAggregateSubscriber< TTransactionStatusSubscriber >
 BasicAggregateSubscriber (std::vector< std::unique_ptr< TTransactionStatusSubscriber >> &&subscribers)
 Creates an aggregate subscriber around subscribers. More...
 
- Public Member Functions inherited from catapult::subscribers::TransactionStatusSubscriber
virtual ~TransactionStatusSubscriber ()=default
 

Additional Inherited Members

- Protected Member Functions inherited from catapult::subscribers::BasicAggregateSubscriber< TTransactionStatusSubscriber >
void forEach (TAction action) const
 

Detailed Description

template<typename TTransactionStatusSubscriber = TransactionStatusSubscriber>
class catapult::subscribers::AggregateTransactionStatusSubscriber< TTransactionStatusSubscriber >

Aggregate transaction status subscriber.

Member Function Documentation

◆ flush()

template<typename TTransactionStatusSubscriber = TransactionStatusSubscriber>
void catapult::subscribers::AggregateTransactionStatusSubscriber< TTransactionStatusSubscriber >::flush ( )
inlineoverridevirtual

Flushes all queued data.

Implements catapult::subscribers::TransactionStatusSubscriber.

Here is the call graph for this function:

◆ notifyStatus()

template<typename TTransactionStatusSubscriber = TransactionStatusSubscriber>
void catapult::subscribers::AggregateTransactionStatusSubscriber< TTransactionStatusSubscriber >::notifyStatus ( const model::Transaction transaction,
const Hash256 hash,
uint32_t  status 
)
inlineoverridevirtual

Indicates transaction with hash completed with status.

Implements catapult::subscribers::TransactionStatusSubscriber.

Here is the call graph for this function:

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