UDPMessaging

UDP-based messaging layer

Handles the actual sending and receiving of datagrams and fulfilling of requests

Constructors

this
this(CoapClient client)

Constructs a new messaging layer instance associated with the provided client

Members

Functions

begin
void begin()

Starts the messaging layer by starting the underlying transport and then the reader loop

close
void close()

Stops the messaging layer by stopping the underlying network transport and therefore the reading loop

send
void send(CoapPacket packet)

Transmit the provided packet

Meta