CatapultServer  v0.5.0.1 (Elephant)
catapult::partialtransaction::PtServerHooks Class Reference

Hooks for the partial transactions subsystem. More...

Public Member Functions

void setCosignedTransactionInfosConsumer (const CosignedTransactionInfosConsumer &consumer)
 Sets the cosigned transaction infos consumer. More...
 
void setPtRangeConsumer (const handlers::TransactionRangeHandler &consumer)
 Sets the partial transaction range consumer. More...
 
void setCosignatureRangeConsumer (const handlers::RangeHandler< model::DetachedCosignature > &consumer)
 Sets the cosignature range consumer. More...
 
const auto & cosignedTransactionInfosConsumer () const
 Gets the cosigned transaction infos consumer. More...
 
const auto & ptRangeConsumer () const
 Gets the partial transaction range consumer. More...
 
const auto & cosignatureRangeConsumer () const
 Gets the cosignature range consumer. More...
 

Private Attributes

CosignedTransactionInfosConsumer m_cosignedTransactionInfosConsumer
 
handlers::TransactionRangeHandler m_ptRangeConsumer
 
handlers::RangeHandler< model::DetachedCosignaturem_cosignatureRangeConsumer
 

Detailed Description

Hooks for the partial transactions subsystem.

Member Function Documentation

◆ cosignatureRangeConsumer()

const auto& catapult::partialtransaction::PtServerHooks::cosignatureRangeConsumer ( ) const
inline

Gets the cosignature range consumer.

Here is the call graph for this function:

◆ cosignedTransactionInfosConsumer()

const auto& catapult::partialtransaction::PtServerHooks::cosignedTransactionInfosConsumer ( ) const
inline

Gets the cosigned transaction infos consumer.

Here is the call graph for this function:

◆ ptRangeConsumer()

const auto& catapult::partialtransaction::PtServerHooks::ptRangeConsumer ( ) const
inline

Gets the partial transaction range consumer.

Here is the call graph for this function:

◆ setCosignatureRangeConsumer()

void catapult::partialtransaction::PtServerHooks::setCosignatureRangeConsumer ( const handlers::RangeHandler< model::DetachedCosignature > &  consumer)
inline

Sets the cosignature range consumer.

Here is the call graph for this function:

◆ setCosignedTransactionInfosConsumer()

void catapult::partialtransaction::PtServerHooks::setCosignedTransactionInfosConsumer ( const CosignedTransactionInfosConsumer consumer)
inline

Sets the cosigned transaction infos consumer.

Here is the call graph for this function:

◆ setPtRangeConsumer()

void catapult::partialtransaction::PtServerHooks::setPtRangeConsumer ( const handlers::TransactionRangeHandler consumer)
inline

Sets the partial transaction range consumer.

Here is the call graph for this function:

Member Data Documentation

◆ m_cosignatureRangeConsumer

handlers::RangeHandler<model::DetachedCosignature> catapult::partialtransaction::PtServerHooks::m_cosignatureRangeConsumer
private

◆ m_cosignedTransactionInfosConsumer

CosignedTransactionInfosConsumer catapult::partialtransaction::PtServerHooks::m_cosignedTransactionInfosConsumer
private

◆ m_ptRangeConsumer

handlers::TransactionRangeHandler catapult::partialtransaction::PtServerHooks::m_ptRangeConsumer
private

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