CoapMessagingLayer

- Made `getEndpointAddress()` protected
- Added documentation for `getEndpointAddress()`
This commit is contained in:
Tristan B. Velloza Kildaire 2023-09-22 16:57:39 +02:00
parent 0fb0149d9d
commit 76feaade27

View File

@ -43,7 +43,13 @@ class CoapMessagingLayer : Thread
this.client = client; this.client = client;
} }
public final Address getEndpointAddress() /**
* Retrieves the CoAP endpoint the client is
* connected to
*
* Returns: the endpoint address
*/
protected final Address getEndpointAddress()
{ {
return this.client.address; return this.client.address;
} }