CoapMessagingLayerFR

- Added missing imports
- Added `getClient()` method
- Removed the super constructor call
This commit is contained in:
Tristan B. Velloza Kildaire 2023-09-22 17:43:13 +02:00
parent f4a4258f87
commit 0494a0fd74

View File

@ -1,6 +1,34 @@
module doap.client.mesglayer;
import doap.client.client : CoapClient;
public abstract class CoapMessagingLayerFR
{
/**
* The client
*/
private CoapClient client;
/**
* Constructs a new messaging layer instance
* associated with the provided client
*
* Params:
* client = the client
*/
this(CoapClient client)
{
this.client = client;
}
/**
* Retrieves the client associated with
* this messaging layer
*
* Returns: the `CoapClient`
*/
public final CoapClient getClient()
{
return this.client;
}
}