|
Dawn Framework 1.0
Universal data acquisition framework for embedded systems
|
UDP and optional DTLS transport used by the Wakaama client runtime. More...
#include <transport.hxx>
Classes | |
| struct | Connection |
| Runtime state for one remote LwM2M server connection. More... | |
Public Member Functions | |
| Transport (CProtoWakaama &owner) | |
| Construct transport state for a Wakaama protocol owner. | |
| ~Transport () | |
| Close sockets, DTLS state, and connection-pool allocations. | |
| void | closeAllConnections () |
| Close every active server connection. | |
| void | closeConnection (Connection *conn) |
| Close one active server connection. | |
| Connection * | connectServer (uint16_t securityInstanceId) |
| Connect to the server referenced by a Security object instance. | |
| void | destroyDtls () |
| Destroy optional shared DTLS context state. | |
| Connection * | findConnection (const void *addr, size_t addrLen) |
| Find an active connection by peer address. | |
| void | handlePacket (Connection *conn, uint8_t *buffer, size_t length) |
| Deliver one received packet into the Wakaama runtime. | |
| int | initConnectionPool () |
| Allocate the fixed connection pool used by Wakaama callbacks. | |
| int | initDtls () |
| Initialize optional shared DTLS context state. | |
| int | openSocket () |
| Open and bind the local UDP socket. | |
| void | thread () |
| Run the transport receive loop. | |
UDP and optional DTLS transport used by the Wakaama client runtime.
Definition at line 29 of file transport.hxx.