From 76feaade27cb9a65eed41acfaee87af0a390dbd1 Mon Sep 17 00:00:00 2001 From: "Tristan B. Velloza Kildaire" Date: Fri, 22 Sep 2023 16:57:39 +0200 Subject: [PATCH] CoapMessagingLayer - Made `getEndpointAddress()` protected - Added documentation for `getEndpointAddress()` --- source/doap/client/messaging.d | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/source/doap/client/messaging.d b/source/doap/client/messaging.d index 2c13d70..cd26434 100644 --- a/source/doap/client/messaging.d +++ b/source/doap/client/messaging.d @@ -43,7 +43,13 @@ class CoapMessagingLayer : Thread 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; }