#include <UdpConnection.h>
◆ UdpConnection() [1/2]
UdpConnection::UdpConnection |
( |
| ) |
|
|
inline |
◆ UdpConnection() [2/2]
◆ ~UdpConnection()
virtual UdpConnection::~UdpConnection |
( |
| ) |
|
|
inlinevirtual |
◆ close()
virtual void UdpConnection::close |
( |
| ) |
|
|
virtual |
◆ connect()
◆ initialize()
bool UdpConnection::initialize |
( |
udp_pcb * |
pcb = nullptr | ) |
|
|
protected |
◆ listen()
virtual bool UdpConnection::listen |
( |
int |
port | ) |
|
|
virtual |
◆ onReceive()
virtual void UdpConnection::onReceive |
( |
pbuf * |
buf, |
|
|
IpAddress |
remoteIP, |
|
|
uint16_t |
remotePort |
|
) |
| |
|
protectedvirtual |
◆ send()
virtual bool UdpConnection::send |
( |
const char * |
data, |
|
|
int |
length |
|
) |
| |
|
virtual |
◆ sendString() [1/2]
bool UdpConnection::sendString |
( |
const char * |
data | ) |
|
|
inline |
◆ sendString() [2/2]
bool UdpConnection::sendString |
( |
const String & |
data | ) |
|
|
inline |
◆ sendStringTo() [1/2]
◆ sendStringTo() [2/2]
◆ sendTo()
◆ staticOnReceive()
static void UdpConnection::staticOnReceive |
( |
void * |
arg, |
|
|
struct udp_pcb * |
pcb, |
|
|
struct pbuf * |
p, |
|
|
LWIP_IP_ADDR_T * |
addr, |
|
|
u16_t |
port |
|
) |
| |
|
staticprotected |
◆ onDataCallback
◆ udp
udp_pcb* UdpConnection::udp = nullptr |
|
protected |
The documentation for this class was generated from the following file: