6 #include <hal_posix/coap_posix.h>
7 #include <satcat5/udp_dispatch.h>
16 for (
unsigned a = 0 ; a < size ; ++a)
20 ManageUdpHeap::~ManageUdpHeap() {
Variant of coap::Connection for UDP connections.
CoAP endpoint (i.e., client, server, or combined client+server).
satcat5::net::Dispatch * iface() const
Fetch the associated network interface.
CoAP client/server implementation that requires POSIX features.
EndpointUdpHeap(satcat5::udp::Dispatch *udp, unsigned size)
Constructor binds to the specified UDP interface and immediately allocates each requested Connection ...
Variant of ManageUdp using heap-allocated Connection objects.
std::vector< ConnectionUdp * > m_connections
Pointers to heap-allocated Connection objects.
Connection manager for CoAP endpoints using UDP.
satcat5::udp::Dispatch * udp() const
Pointer to the parent's network interface.
Dispatcher sorts incoming UDP messages by port index.