![]() |
Max OS 0.3
|
Event fired when data is received on a UDP socket. More...
#include <udp.h>
Public Member Functions | |
| UDPDataReceivedEvent (UDPSocket *socket, uint8_t *data, uint16_t size) | |
| Construct a new UDP Data Received Event object. | |
Public Member Functions inherited from MaxOS::common::Event< UDPEvents > | |
| Event (UDPEvents type) | |
| Constructs a new Event object. | |
Public Attributes | ||
| UDPSocket * | socket | |
| The socket that received the data. | ||
| uint8_t * | data | |
| The data received. | ||
| uint16_t | size | |
| The size of the data received. | ||
Public Attributes inherited from MaxOS::common::Event< UDPEvents > | ||
| UDPEvents | type | |
| uint8_t * | buffer_value | |
| uint32_t | int_value | |
| bool | bool_value | |
| union { | ||
| uint8_t * buffer_value | ||
| uint32_t int_value | ||
| bool bool_value | ||
| } | return_value | |
Construct a new UDP Data Received Event object.
| socket | The socket that received the data |
| data | The data received |
| size | The size of the data received |
Definition at line 322 of file udp.cpp.
| uint8_t* MaxOS::net::UDPDataReceivedEvent::data |
| uint16_t MaxOS::net::UDPDataReceivedEvent::size |
The size of the data received.
Definition at line 60 of file udp.h.
Referenced by UDPDataReceivedEvent().
| UDPSocket* MaxOS::net::UDPDataReceivedEvent::socket |
The socket that received the data.
Definition at line 58 of file udp.h.
Referenced by UDPDataReceivedEvent().