Bitcoin Core  0.21.1
P2P Digital Currency
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules
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 (const CNode &node, 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 621 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 ( const CNode node,
bool &  update_connection_time 
)
pure virtual

Implemented in PeerManager.

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

Implemented in PeerManager.

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

Implemented in PeerManager.

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

Implemented in PeerManager.


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