CCF
Loading...
Searching...
No Matches
Public Member Functions | List of all members
ccf::CommitCallbackSubsystem Class Reference

#include <commit_callback_subsystem.h>

Inherits ccf::CommitCallbackInterface.

Public Member Functions

 CommitCallbackSubsystem ()=default
 
void set_consensus (ccf::kv::Consensus *c)
 
void add_callback (ccf::TxID tx_id, CommitCallback &&callback) override
 
void trigger_callbacks (ccf::TxID committed, const aft::ViewHistory &view_history)
 
- Public Member Functions inherited from ccf::CommitCallbackInterface
 ~CommitCallbackInterface () override=default
 
- Public Member Functions inherited from ccf::AbstractNodeSubSystem
virtual ~AbstractNodeSubSystem ()=default
 

Additional Inherited Members

- Static Public Member Functions inherited from ccf::CommitCallbackInterface
static char const * get_subsystem_name ()
 

Constructor & Destructor Documentation

◆ CommitCallbackSubsystem()

ccf::CommitCallbackSubsystem::CommitCallbackSubsystem ( )
default

Member Function Documentation

◆ add_callback()

void ccf::CommitCallbackSubsystem::add_callback ( ccf::TxID  tx_id,
CommitCallback &&  callback 
)
inlineoverridevirtual

◆ set_consensus()

void ccf::CommitCallbackSubsystem::set_consensus ( ccf::kv::Consensus c)
inline

◆ trigger_callbacks()

void ccf::CommitCallbackSubsystem::trigger_callbacks ( ccf::TxID  committed,
const aft::ViewHistory view_history 
)
inline

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