Interface for message handling.
More...
#include <net.h>
Interface for message handling.
Definition at line 792 of file net.h.
◆ ~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.
◆ FinalizeNode()
Handle removal of a peer (clear state)
◆ InitializeNode()
Initialize a peer (setup state, queue any initial messages)
◆ ProcessMessages()
Process protocol messages received from a given node.
- Parameters
-
[in] | config | The applicable configuration object. |
[in] | pnode | The node which we have received messages from. |
[in] | interrupt | Interrupt condition for processing threads |
- Returns
- True if there is more work to be done
◆ SendMessages()
Send queued protocol messages to a given node.
- Parameters
-
[in] | config | The applicable configuration object. |
[in] | pnode | The node which we are sending messages to. |
- Returns
- True if there is more work to be done
◆ g_msgproc_mutex
Mutex NetEventsInterface::g_msgproc_mutex |
|
static |
Mutex for anything that is only accessed via the msg processing thread.
Definition at line 797 of file net.h.
The documentation for this class was generated from the following files: