Raven Core  3.0.0
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)
 
virtual bool NotifyMessage (const CMessage &message)
 

Static Public Member Functions

template<typename T >
static CZMQAbstractNotifierCreate ()
 

Protected Attributes

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

Detailed Description

Definition at line 17 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.

Here is the caller graph for this function:

◆ GetType()

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

Definition at line 29 of file zmqabstractnotifier.h.

Here is the caller graph for this function:

◆ 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:

◆ NotifyMessage()

bool CZMQAbstractNotifier::NotifyMessage ( const CMessage message)
virtual

Reimplemented in CZMQPublishNewAssetMessageNotifier.

Definition at line 25 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 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 44 of file zmqabstractnotifier.h.

◆ psocket

void* CZMQAbstractNotifier::psocket
protected

Definition at line 42 of file zmqabstractnotifier.h.

◆ type

std::string CZMQAbstractNotifier::type
protected

Definition at line 43 of file zmqabstractnotifier.h.


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