예제 #1
0
파일: Mqtt.cs 프로젝트: mlinnen/MqttDotNet
 public Mqtt(string connString, string clientID, IPersistence store)
 {
     _store = store;
     qosManager = new QoSManager(_store);
     manager = new StreamManager(connString, qosManager);
     qosManager.MessageReceived += new QoSManager.MessageReceivedDelegate(qosManager_MessageReceived);
     _clientID = clientID;
 }
예제 #2
0
파일: Mqtt.cs 프로젝트: Hades32/MqttDotNet
 public Mqtt(string connString, string clientID, string username, string password, IPersistence store)
 {
     _store = store;
     qosManager = new QoSManager(_store);
     manager = new StreamManager(connString, qosManager);
     qosManager.MessageReceived += new QoSManager.MessageReceivedDelegate(qosManager_MessageReceived);
     _clientID = clientID;
     _username = username;
     _password = password;
 }
예제 #3
0
 public StreamManager(string connString, QoSManager qosMan)
 {
     _connString = connString;
     qosManager = qosMan;
     callback = new AsyncCallback(listen);
 }
예제 #4
0
 public StreamManager(string connString, QoSManager qosMan)
 {
     _connString = connString;
     qosManager  = qosMan;
     callback    = new AsyncCallback(listen);
 }