CatapultServer  v0.5.0.1 (Elephant)
catapult::cache::PtChangeSubscriber Class Referenceabstract

Partial transactions change subscriber. More...

Inheritance diagram for catapult::cache::PtChangeSubscriber:

Public Types

using TransactionInfos = model::TransactionInfosSet
 

Public Member Functions

virtual ~PtChangeSubscriber ()=default
 
virtual void notifyAddPartials (const TransactionInfos &transactionInfos)=0
 
virtual void notifyAddCosignature (const model::TransactionInfo &parentTransactionInfo, const Key &signer, const Signature &signature)=0
 Indicates a cosignature (composed of signer and signature) was added to a partial transaction (parentTransactionInfo). More...
 
virtual void notifyRemovePartials (const TransactionInfos &transactionInfos)=0
 
virtual void flush ()=0
 Flushes all pending partial transactions changes. More...
 

Detailed Description

Partial transactions change subscriber.

Member Typedef Documentation

◆ TransactionInfos

Constructor & Destructor Documentation

◆ ~PtChangeSubscriber()

virtual catapult::cache::PtChangeSubscriber::~PtChangeSubscriber ( )
virtualdefault

Member Function Documentation

◆ flush()

virtual void catapult::cache::PtChangeSubscriber::flush ( )
pure virtual

Flushes all pending partial transactions changes.

Implemented in catapult::subscribers::AggregatePtChangeSubscriber< TPtChangeSubscriber >.

◆ notifyAddCosignature()

virtual void catapult::cache::PtChangeSubscriber::notifyAddCosignature ( const model::TransactionInfo parentTransactionInfo,
const Key signer,
const Signature signature 
)
pure virtual

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

Implemented in catapult::subscribers::AggregatePtChangeSubscriber< TPtChangeSubscriber >.

◆ notifyAddPartials()

virtual void catapult::cache::PtChangeSubscriber::notifyAddPartials ( const TransactionInfos transactionInfos)
pure virtual

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

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

Implemented in catapult::subscribers::AggregatePtChangeSubscriber< TPtChangeSubscriber >.

◆ notifyRemovePartials()

virtual void catapult::cache::PtChangeSubscriber::notifyRemovePartials ( const TransactionInfos transactionInfos)
pure virtual

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

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

Implemented in catapult::subscribers::AggregatePtChangeSubscriber< TPtChangeSubscriber >.


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