Bitcoin Core  0.15.99
P2P Digital Currency
Public Member Functions | Private Attributes | List of all members
CZMQAbstractPublishNotifier Class Reference

#include <zmqpublishnotifier.h>

Inheritance diagram for CZMQAbstractPublishNotifier:
[legend]
Collaboration diagram for CZMQAbstractPublishNotifier:
[legend]

Public Member Functions

bool SendMessage (const char *command, const void *data, size_t size)
 
bool Initialize (void *pcontext) override
 
void Shutdown () override
 
- Public Member Functions inherited from CZMQAbstractNotifier
 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 NotifyBlock (const CBlockIndex *pindex)
 
virtual bool NotifyTransaction (const CTransaction &transaction)
 

Private Attributes

uint32_t nSequence
 upcounting per message sequence number More...
 

Additional Inherited Members

- Static Public Member Functions inherited from CZMQAbstractNotifier
template<typename T >
static CZMQAbstractNotifierCreate ()
 
- Protected Attributes inherited from CZMQAbstractNotifier
void * psocket
 
std::string type
 
std::string address
 

Detailed Description

Definition at line 12 of file zmqpublishnotifier.h.

Member Function Documentation

bool CZMQAbstractPublishNotifier::Initialize ( void *  pcontext)
overridevirtual

Implements CZMQAbstractNotifier.

Definition at line 63 of file zmqpublishnotifier.cpp.

Here is the call graph for this function:

bool CZMQAbstractPublishNotifier::SendMessage ( const char *  command,
const void *  data,
size_t  size 
)

Definition at line 132 of file zmqpublishnotifier.cpp.

Here is the caller graph for this function:

void CZMQAbstractPublishNotifier::Shutdown ( )
overridevirtual

Implements CZMQAbstractNotifier.

Definition at line 102 of file zmqpublishnotifier.cpp.

Member Data Documentation

uint32_t CZMQAbstractPublishNotifier::nSequence
private

upcounting per message sequence number

Definition at line 15 of file zmqpublishnotifier.h.


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