![]() |
Max OS 0.3
|
Event for when data is received on a TCP socket. More...
#include <tcp.h>
Public Member Functions | |
| DataReceivedEvent (TCPSocket *socket, uint8_t *data, uint16_t size) | |
| Construct a new Data Received Event object. | |
Public Member Functions inherited from MaxOS::common::Event< TCPPayloadHandlerEvents > | |
| Event (TCPPayloadHandlerEvents type) | |
| Constructs a new Event object. | |
Public Attributes | ||
| TCPSocket * | 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< TCPPayloadHandlerEvents > | ||
| TCPPayloadHandlerEvents | 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 Data Received Event object.
| socket | The socket that received the data |
| data | The data that was received |
| size | The size of the data |
Definition at line 594 of file tcp.cpp.
| uint8_t* MaxOS::net::DataReceivedEvent::data |
| uint16_t MaxOS::net::DataReceivedEvent::size |
The size of the data received.
Definition at line 127 of file tcp.h.
Referenced by DataReceivedEvent().
| TCPSocket* MaxOS::net::DataReceivedEvent::socket |
The socket that received the data.
Definition at line 125 of file tcp.h.
Referenced by DataReceivedEvent().