Bitcoin Core  0.15.99
P2P Digital Currency
Public Member Functions | Static Public Member Functions | Static Public Attributes | 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)
 
int GetOutboundMessageHighWaterMark () const
 
void SetOutboundMessageHighWaterMark (const int sndhwm)
 
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 ()
 

Static Public Attributes

static const int DEFAULT_ZMQ_SNDHWM {1000}
 

Protected Attributes

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

Detailed Description

Definition at line 15 of file zmqabstractnotifier.h.

Constructor & Destructor Documentation

◆ CZMQAbstractNotifier()

CZMQAbstractNotifier::CZMQAbstractNotifier ( )
inline

Definition at line 20 of file zmqabstractnotifier.h.

Here is the call graph for this function:

◆ ~CZMQAbstractNotifier()

CZMQAbstractNotifier::~CZMQAbstractNotifier ( )
virtual

Definition at line 10 of file zmqabstractnotifier.cpp.

Here is the caller graph for this function:

Member Function Documentation

◆ Create()

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

Definition at line 24 of file zmqabstractnotifier.h.

◆ GetAddress()

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

Definition at line 31 of file zmqabstractnotifier.h.

◆ GetOutboundMessageHighWaterMark()

int CZMQAbstractNotifier::GetOutboundMessageHighWaterMark ( ) const
inline

Definition at line 33 of file zmqabstractnotifier.h.

◆ GetType()

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

Definition at line 29 of file zmqabstractnotifier.h.

◆ Initialize()

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

Implemented in CZMQAbstractPublishNotifier.

Here is the caller graph for this function:

◆ NotifyBlock()

bool CZMQAbstractNotifier::NotifyBlock ( const CBlockIndex pindex)
virtual

Reimplemented in CZMQPublishRawBlockNotifier, and CZMQPublishHashBlockNotifier.

Definition at line 15 of file zmqabstractnotifier.cpp.

Here is the caller graph for this function:

◆ NotifyTransaction()

bool CZMQAbstractNotifier::NotifyTransaction ( const CTransaction transaction)
virtual

Reimplemented in CZMQPublishRawTransactionNotifier, and CZMQPublishHashTransactionNotifier.

Definition at line 20 of file zmqabstractnotifier.cpp.

Here is the caller graph for this function:

◆ SetAddress()

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

Definition at line 32 of file zmqabstractnotifier.h.

Here is the caller graph for this function:

◆ SetOutboundMessageHighWaterMark()

void CZMQAbstractNotifier::SetOutboundMessageHighWaterMark ( const int  sndhwm)
inline

Definition at line 34 of file zmqabstractnotifier.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetType()

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

Definition at line 30 of file zmqabstractnotifier.h.

Here is the caller graph for this function:

◆ Shutdown()

virtual void CZMQAbstractNotifier::Shutdown ( )
pure virtual

Implemented in CZMQAbstractPublishNotifier.

Here is the caller graph for this function:

Member Data Documentation

◆ address

std::string CZMQAbstractNotifier::address
protected

Definition at line 49 of file zmqabstractnotifier.h.

◆ DEFAULT_ZMQ_SNDHWM

const int CZMQAbstractNotifier::DEFAULT_ZMQ_SNDHWM {1000}
static

Definition at line 18 of file zmqabstractnotifier.h.

◆ outbound_message_high_water_mark

int CZMQAbstractNotifier::outbound_message_high_water_mark
protected

Definition at line 50 of file zmqabstractnotifier.h.

◆ psocket

void* CZMQAbstractNotifier::psocket
protected

Definition at line 47 of file zmqabstractnotifier.h.

◆ type

std::string CZMQAbstractNotifier::type
protected

Definition at line 48 of file zmqabstractnotifier.h.


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