CatapultServer  v0.5.0.1 (Elephant)
catapult::model::TransactionPluginFactory< Options >::EmbeddedTransactionPluginT< TEmbeddedTransaction > Class Template Reference
Inheritance diagram for catapult::model::TransactionPluginFactory< Options >::EmbeddedTransactionPluginT< TEmbeddedTransaction >:
Collaboration diagram for catapult::model::TransactionPluginFactory< Options >::EmbeddedTransactionPluginT< TEmbeddedTransaction >:

Public Member Functions

template<typename TPublishEmbeddedFunc >
 EmbeddedTransactionPluginT (TPublishEmbeddedFunc publishEmbeddedFunc)
 
void publish (const EmbeddedTransaction &transaction, NotificationSubscriber &sub) const override
 Sends all notifications from transaction to sub. More...
 
- Public Member Functions inherited from catapult::model::TransactionPluginFactory< Options >::BasicTransactionPluginT< EmbeddedTransaction, TEmbeddedTransaction, EmbeddedTransactionPlugin >
 BasicTransactionPluginT (const PublishFunc &publishFunc)
 
EntityType type () const override
 
TransactionAttributes attributes () const override
 
uint64_t calculateRealSize (const EmbeddedTransaction &transaction) const override
 
- Public Member Functions inherited from catapult::model::TransactionPluginT< EmbeddedTransaction >
virtual ~TransactionPluginT ()=default
 

Private Types

using BaseType = BasicTransactionPluginT< EmbeddedTransaction, TEmbeddedTransaction, EmbeddedTransactionPlugin >
 

Additional Inherited Members

- Protected Member Functions inherited from catapult::model::TransactionPluginFactory< Options >::BasicTransactionPluginT< EmbeddedTransaction, TEmbeddedTransaction, EmbeddedTransactionPlugin >
void publishImpl (const EmbeddedTransaction &transaction, NotificationSubscriber &sub) const
 

Member Typedef Documentation

◆ BaseType

template<TransactionPluginFactoryOptions Options>
template<typename TEmbeddedTransaction >
using catapult::model::TransactionPluginFactory< Options >::EmbeddedTransactionPluginT< TEmbeddedTransaction >::BaseType = BasicTransactionPluginT<EmbeddedTransaction, TEmbeddedTransaction, EmbeddedTransactionPlugin>
private

Constructor & Destructor Documentation

◆ EmbeddedTransactionPluginT()

template<TransactionPluginFactoryOptions Options>
template<typename TEmbeddedTransaction >
template<typename TPublishEmbeddedFunc >
catapult::model::TransactionPluginFactory< Options >::EmbeddedTransactionPluginT< TEmbeddedTransaction >::EmbeddedTransactionPluginT ( TPublishEmbeddedFunc  publishEmbeddedFunc)
inlineexplicit

Member Function Documentation

◆ publish()

template<TransactionPluginFactoryOptions Options>
template<typename TEmbeddedTransaction >
void catapult::model::TransactionPluginFactory< Options >::EmbeddedTransactionPluginT< TEmbeddedTransaction >::publish ( const EmbeddedTransaction transaction,
NotificationSubscriber sub 
) const
inlineoverridevirtual

Sends all notifications from transaction to sub.

Implements catapult::model::EmbeddedTransactionPlugin.

Here is the call graph for this function:

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