Dash Core  0.12.2.1
P2P Digital Currency
CZMQAbstractNotifier Class Referenceabstract

#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 NotifyTransaction (const CTransaction &transaction)
 
virtual bool NotifyTransactionLock (const CTransaction &transaction)
 

Static Public Member Functions

template<typename T >
static CZMQAbstractNotifierCreate ()
 

Protected Attributes

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

Detailed Description

Definition at line 15 of file zmqabstractnotifier.h.

Constructor & Destructor Documentation

◆ CZMQAbstractNotifier()

CZMQAbstractNotifier::CZMQAbstractNotifier ( )
inline

Definition at line 18 of file zmqabstractnotifier.h.

◆ ~CZMQAbstractNotifier()

CZMQAbstractNotifier::~CZMQAbstractNotifier ( )
virtual

Definition at line 9 of file zmqabstractnotifier.cpp.

Member Function Documentation

◆ Create()

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

Definition at line 22 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

◆ NotifyTransaction()

bool CZMQAbstractNotifier::NotifyTransaction ( const CTransaction transaction)
virtual

◆ NotifyTransactionLock()

bool CZMQAbstractNotifier::NotifyTransactionLock ( const CTransaction transaction)
virtual

◆ SetAddress()

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

◆ SetType()

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

◆ Shutdown()

Member Data Documentation

◆ address

std::string CZMQAbstractNotifier::address
protected

◆ psocket

◆ type

std::string CZMQAbstractNotifier::type
protected

Definition at line 41 of file zmqabstractnotifier.h.

Referenced by GetType(), and SetType().


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