CatapultServer
v0.5.0.1 (Elephant)
|
Go to the documentation of this file.
25 namespace catapult {
namespace subscribers {
28 template<
typename TUtChangeSubscriber = cache::UtChangeSubscriber>
35 this->
forEach([&transactionInfos](
auto& subscriber) { subscriber.notifyAdds(transactionInfos); });
39 this->
forEach([&transactionInfos](
auto& subscriber) { subscriber.notifyRemoves(transactionInfos); });
43 this->
forEach([](
auto& subscriber) { subscriber.flush(); });
void notifyRemoves(const TransactionInfos &transactionInfos) override
Indicates transaction infos (transactionInfos) were removed from unconfirmed transactions.
Definition: AggregateUtChangeSubscriber.h:38
Unconfirmed transactions change subscriber.
Definition: UtChangeSubscriber.h:28
model::TransactionInfosSet TransactionInfos
Definition: UtChangeSubscriber.h:30
void flush() override
Flushes all pending unconfirmed transactions changes.
Definition: AggregateUtChangeSubscriber.h:42
void notifyAdds(const TransactionInfos &transactionInfos) override
Indicates transaction infos (transactionInfos) were added to unconfirmed transactions.
Definition: AggregateUtChangeSubscriber.h:34
Aggregate unconfirmed transactions change subscriber.
Definition: AggregateUtChangeSubscriber.h:29
void forEach(TAction action) const
Definition: BasicAggregateSubscriber.h:38
Basic aggregate subscriber.
Definition: BasicAggregateSubscriber.h:29
Definition: AddressExtractionExtension.cpp:28