Bitcoin Core  0.15.99
P2P Digital Currency
Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
CZMQAbstractNotifier Class Referenceabstract

#include <zmqabstractnotifier.h>

Inheritance diagram for CZMQAbstractNotifier:
[legend]

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)
 

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 ( )
inline

Definition at line 18 of file zmqabstractnotifier.h.

Here is the call graph for this function:

CZMQAbstractNotifier::~CZMQAbstractNotifier ( )
virtual

Definition at line 9 of file zmqabstractnotifier.cpp.

Here is the caller graph for this function:

Member Function Documentation

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

Definition at line 22 of file zmqabstractnotifier.h.

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

Definition at line 29 of file zmqabstractnotifier.h.

Here is the caller graph for this function:

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

Definition at line 27 of file zmqabstractnotifier.h.

Here is the caller graph for this function:

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

Implemented in CZMQAbstractPublishNotifier.

Here is the caller graph for this function:

bool CZMQAbstractNotifier::NotifyBlock ( const CBlockIndex pindex)
virtual

Reimplemented in CZMQPublishRawBlockNotifier, and CZMQPublishHashBlockNotifier.

Definition at line 14 of file zmqabstractnotifier.cpp.

Here is the caller graph for this function:

bool CZMQAbstractNotifier::NotifyTransaction ( const CTransaction transaction)
virtual

Reimplemented in CZMQPublishRawTransactionNotifier, and CZMQPublishHashTransactionNotifier.

Definition at line 19 of file zmqabstractnotifier.cpp.

Here is the caller graph for this function:

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

Definition at line 30 of file zmqabstractnotifier.h.

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 28 of file zmqabstractnotifier.h.

Here is the caller graph for this function:

virtual void CZMQAbstractNotifier::Shutdown ( )
pure virtual

Implemented in CZMQAbstractPublishNotifier.

Here is the caller graph for this function:

Member Data Documentation

std::string CZMQAbstractNotifier::address
protected

Definition at line 41 of file zmqabstractnotifier.h.

void* CZMQAbstractNotifier::psocket
protected

Definition at line 39 of file zmqabstractnotifier.h.

std::string CZMQAbstractNotifier::type
protected

Definition at line 40 of file zmqabstractnotifier.h.


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