Exemplo n.º 1
0
 //------------------------------------------------------------------------------------------------------------------------
 private void _mqttClient_MqttMsgUnsubscribed(object sender, MqttMsgUnsubscribedEventArgs e)
 {
     DebugEx.TraceLog("MqttClient:: Message id " + e.MessageId + " unsubscribed successfully");
 }
Exemplo n.º 2
0
 /// <summary>
 /// broker acknowledges an unsubscription
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 public override void FClient_MqttMsgUnsubscribed(object sender, MqttMsgUnsubscribedEventArgs e)
 {
     var issued = FUnsubscribeStatus[e.MessageId];
     FMessageStatusQueue.Enqueue(PrependTime("unsubscribed from " + issued.Item1));
     FUnsubscribeStatus.Remove(e.MessageId);
 }
Exemplo n.º 3
0
 private void Client_MqttMsgUnsubscribed(object sender, MqttMsgUnsubscribedEventArgs e)
 {
     Console.WriteLine(e.MessageId);
 }
Exemplo n.º 4
0
 private void M_client_MqttMsgUnsubscribed(object sender, uPLibrary.Networking.M2Mqtt.Messages.MqttMsgUnsubscribedEventArgs e)
 {
 }
Exemplo n.º 5
0
 public virtual void FClient_MqttMsgUnsubscribed(object sender, MqttMsgUnsubscribedEventArgs e)
 {
     throw new NotImplementedException();
 }
Exemplo n.º 6
0
 public override void FClient_MqttMsgUnsubscribed(object sender, MqttMsgUnsubscribedEventArgs e)
 {
 }
Exemplo n.º 7
0
 /// <summary>
 /// broker acknowledges an unsubscription
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 public void FClient_MqttMsgUnsubscribed(object sender, MqttMsgUnsubscribedEventArgs e)
 {
     if (FUnsubscribeStatus.ContainsKey(e.MessageId))
     {
         var issued = FUnsubscribeStatus[e.MessageId];
         FMessageStatusQueue.Enqueue("unsubscribed from " + issued.Item1);
         FUnsubscribeStatus.Remove(e.MessageId);
     }
 }
Exemplo n.º 8
0
 static void client_MqttMsgUnsubscribed(object sender, MqttMsgUnsubscribedEventArgs e)
 {
     Debug.Print(e.MessageId.ToString());
 }