123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
-
- using System.Collections;
- namespace uPLibrary.Networking.M2Mqtt.Session
- {
-
-
-
- public abstract class MqttSession
- {
-
-
-
- public string ClientId { get; set; }
-
-
-
- public Hashtable InflightMessages { get; set; }
-
-
-
- public MqttSession()
- : this(null)
- {
- }
-
-
-
-
- public MqttSession(string clientId)
- {
- this.ClientId = clientId;
- this.InflightMessages = new Hashtable();
- }
-
-
-
- public virtual void Clear()
- {
- this.ClientId = null;
- this.InflightMessages.Clear();
- }
- }
- }
|