Dash Core Source Documentation (0.16.0.1)

Find detailed information regarding the Dash Core source code.

#include <zmqabstractnotifier.h>

+ Inheritance diagram for CZMQAbstractNotifier:

Public Member Functions

 CZMQAbstractNotifier ()
 
virtual ~CZMQAbstractNotifier ()
 
std::string GetType () const
 
void SetType (const std::string &t)
 
std::string GetAddress () const
 
void SetAddress (const std::string &a)
 
virtual bool Initialize (void *pcontext)=0
 
virtual void Shutdown ()=0
 
virtual bool NotifyBlock (const CBlockIndex *pindex)
 
virtual bool NotifyChainLock (const CBlockIndex *pindex, const llmq::CChainLockSig &clsig)
 
virtual bool NotifyTransaction (const CTransaction &transaction)
 
virtual bool NotifyTransactionLock (const CTransaction &transaction, const llmq::CInstantSendLock &islock)
 
virtual bool NotifyGovernanceVote (const CGovernanceVote &vote)
 
virtual bool NotifyGovernanceObject (const CGovernanceObject &object)
 
virtual bool NotifyInstantSendDoubleSpendAttempt (const CTransaction &currentTx, const CTransaction &previousTx)
 

Static Public Member Functions

template<typename T >
static CZMQAbstractNotifierCreate ()
 

Protected Attributes

void * psocket
 
std::string type
 
std::string address
 

Detailed Description

Definition at line 22 of file zmqabstractnotifier.h.

Constructor & Destructor Documentation

◆ CZMQAbstractNotifier()

CZMQAbstractNotifier::CZMQAbstractNotifier ( )
inline

Definition at line 25 of file zmqabstractnotifier.h.

◆ ~CZMQAbstractNotifier()

CZMQAbstractNotifier::~CZMQAbstractNotifier ( )
virtual

Definition at line 9 of file zmqabstractnotifier.cpp.

References psocket.

Member Function Documentation

◆ Create()

template<typename T >
static CZMQAbstractNotifier* CZMQAbstractNotifier::Create ( )
inlinestatic

Definition at line 29 of file zmqabstractnotifier.h.

◆ GetAddress()

std::string CZMQAbstractNotifier::GetAddress ( ) const
inline

◆ GetType()

std::string CZMQAbstractNotifier::GetType ( ) const
inline

◆ Initialize()

virtual bool CZMQAbstractNotifier::Initialize ( void *  pcontext)
pure virtual

◆ NotifyBlock()

bool CZMQAbstractNotifier::NotifyBlock ( const CBlockIndex pindex)
virtual

◆ NotifyChainLock()

bool CZMQAbstractNotifier::NotifyChainLock ( const CBlockIndex pindex,
const llmq::CChainLockSig clsig 
)
virtual

◆ NotifyGovernanceObject()

bool CZMQAbstractNotifier::NotifyGovernanceObject ( const CGovernanceObject object)
virtual

◆ NotifyGovernanceVote()

bool CZMQAbstractNotifier::NotifyGovernanceVote ( const CGovernanceVote vote)
virtual

◆ NotifyInstantSendDoubleSpendAttempt()

bool CZMQAbstractNotifier::NotifyInstantSendDoubleSpendAttempt ( const CTransaction currentTx,
const CTransaction previousTx 
)
virtual

◆ NotifyTransaction()

bool CZMQAbstractNotifier::NotifyTransaction ( const CTransaction transaction)
virtual

◆ NotifyTransactionLock()

bool CZMQAbstractNotifier::NotifyTransactionLock ( const CTransaction transaction,
const llmq::CInstantSendLock islock 
)
virtual

◆ SetAddress()

void CZMQAbstractNotifier::SetAddress ( const std::string &  a)
inline

Definition at line 37 of file zmqabstractnotifier.h.

References address.

Referenced by CZMQNotificationInterface::Create().

◆ SetType()

void CZMQAbstractNotifier::SetType ( const std::string &  t)
inline

Definition at line 35 of file zmqabstractnotifier.h.

References type.

Referenced by CZMQNotificationInterface::Create().

◆ Shutdown()

Member Data Documentation

◆ address

std::string CZMQAbstractNotifier::address
protected

◆ psocket

◆ type

std::string CZMQAbstractNotifier::type
protected

Definition at line 53 of file zmqabstractnotifier.h.

Referenced by GetType(), and SetType().


The documentation for this class was generated from the following files:
Released under the MIT license