diff --git a/source/doap/client/client.d b/source/doap/client/client.d index 9659980..c016378 100644 --- a/source/doap/client/client.d +++ b/source/doap/client/client.d @@ -45,6 +45,12 @@ public class CoapClient */ private Condition watcherSignal; + /** + * Rolling Message ID + */ + private ulong rollingMid; + private Mutex rollingLock; + /** * Creates a new CoAP client to the * provided endpoint address @@ -62,6 +68,9 @@ public class CoapClient this.requestsLock = new Mutex(); this.watcherSignal = new Condition(this.requestsLock); + this.rollingMid = 0; + this.rollingLock = new Mutex(); + init(); }