diff --git a/source/doap/client/mesglayer.d b/source/doap/client/mesglayer.d index 8162312..3ded49e 100644 --- a/source/doap/client/mesglayer.d +++ b/source/doap/client/mesglayer.d @@ -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; + } } \ No newline at end of file