BSHA3  0.17.99
P2P Blockchain, based on Bitcoin
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 484 of file net.h.

Constructor & Destructor Documentation

◆ ~NetEventsInterface()

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

◆ FinalizeNode()

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

Implemented in PeerLogicValidation.

Here is the caller graph for this function:

◆ InitializeNode()

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

Implemented in PeerLogicValidation.

Here is the caller graph for this function:

◆ ProcessMessages()

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

Implemented in PeerLogicValidation.

Here is the caller graph for this function:

◆ SendMessages()

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: