Interface for objects that wish to receive NDEVR packet events and connection state changes.
More...
Interface for objects that wish to receive NDEVR packet events and connection state changes.
Definition at line 70 of file NDEVRCommunicationLogic.h.
◆ onConnectionChanged()
| virtual void PacketListener::onConnectionChanged |
( |
void * | socket, |
|
|
bool | is_connected ) |
|
pure virtual |
Called when a connection's state changes.
- Parameters
-
| [in] | socket | The socket whose state changed. |
| [in] | is_connected | True if the socket is now connected, false if disconnected. |
◆ onReceive()
Called when a complete packet has been received.
- Parameters
-
| [in] | state | The connection data containing the received packet. |
The documentation for this class was generated from the following file: