Interface for message handling
Declared in <net.h>
class NetEventsInterface;
| Name | Description |
|---|---|
FinalizeNode [virtual] | Handle removal of a peer (clear state). |
HasAllDesirableServiceFlags [virtual] | Callback to determine whether the given set of service flags are sufficient for a peer to be "relevant". |
InitializeNode [virtual] | Initialize a peer (setup state). |
ProcessMessages [virtual] | Process protocol messages received from a given node |
SendMessages [virtual] | Send queued protocol messages to a given node. |
| Name | Description |
|---|---|
g_msgproc_mutex | Mutex for anything that is only accessed via the msg processing thread |
| Name | Description |
|---|---|
~NetEventsInterface [destructor] | 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. |
| Name | Description |
|---|---|
PeerManager | Drives the peer-to-peer message processing and relay logic for a node. |