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

Interface for message handling. More...

#include <net.h>

Inheritance diagram for NetEventsInterface:
[legend]

Public Member Functions

virtual bool ProcessMessages (CNode *pnode, std::atomic< bool > &interrupt)=0
 
virtual bool SendMessages (CNode *pnode)=0
 
virtual void InitializeNode (CNode *pnode)=0
 
virtual void FinalizeNode (NodeId id, bool &update_connection_time)=0
 

Protected Member Functions

 ~NetEventsInterface ()=default
 Protected destructor so that instances can only be deleted by derived classes. More...
 

Detailed Description

Interface for message handling.

Definition at line 474 of file net.h.

Constructor & Destructor Documentation

NetEventsInterface::~NetEventsInterface ( )
protecteddefault

Protected destructor so that instances can only be deleted by derived classes.

If that restriction is no longer desired, this should be made public and virtual.

Member Function Documentation

virtual void NetEventsInterface::FinalizeNode ( NodeId  id,
bool &  update_connection_time 
)
pure virtual

Implemented in PeerLogicValidation.

Here is the caller graph for this function:

virtual void NetEventsInterface::InitializeNode ( CNode pnode)
pure virtual

Implemented in PeerLogicValidation.

Here is the caller graph for this function:

virtual bool NetEventsInterface::ProcessMessages ( CNode pnode,
std::atomic< bool > &  interrupt 
)
pure virtual

Implemented in PeerLogicValidation.

Here is the caller graph for this function:

virtual bool NetEventsInterface::SendMessages ( CNode pnode)
pure virtual

Implemented in PeerLogicValidation.

Here is the caller graph for this function:


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