mirror of
https://github.com/deavmi/doap
synced 2024-07-04 14:10:47 +02:00
CoapMessagingLayerFR
- Added missing imports - Added `getClient()` method - Removed the super constructor call
This commit is contained in:
parent
f4a4258f87
commit
0494a0fd74
|
@ -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;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user