Interface for message handling
Synopsis
Declared in <net.h>
class NetEventsInterface;
Member Functions
Name |
Description |
|
Handle removal of a peer (clear state). |
|
Callback to determine whether the given set of service flags are sufficient for a peer to be "relevant". |
|
Initialize a peer (setup state). |
|
Process protocol messages received from a given node |
|
Send queued protocol messages to a given node. |
Static Data Members
Name |
Description |
Mutex for anything that is only accessed via the msg processing thread |
Protected Member Functions
Name |
Description |
|
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. |
Derived Classes
Name |
Description |
Drives the peer‐to‐peer message processing and relay logic for a node. |
Created with MrDocs