Exemple #1
0
 //------------------------------------------------------------------------------------------------------------------------
 private void _mqttClient_MqttMsgUnsubscribed(object sender, MqttMsgUnsubscribedEventArgs e)
 {
     DebugEx.TraceLog("MqttClient:: Message id " + e.MessageId + " unsubscribed successfully");
 }
 /// <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);
 }
 private void Client_MqttMsgUnsubscribed(object sender, MqttMsgUnsubscribedEventArgs e)
 {
     Console.WriteLine(e.MessageId);
 }
Exemple #4
0
 private void M_client_MqttMsgUnsubscribed(object sender, uPLibrary.Networking.M2Mqtt.Messages.MqttMsgUnsubscribedEventArgs e)
 {
 }
Exemple #5
0
 public virtual void FClient_MqttMsgUnsubscribed(object sender, MqttMsgUnsubscribedEventArgs e)
 {
     throw new NotImplementedException();
 }
Exemple #6
0
 public override void FClient_MqttMsgUnsubscribed(object sender, MqttMsgUnsubscribedEventArgs e)
 {
 }
Exemple #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);
     }
 }
Exemple #8
0
 static void client_MqttMsgUnsubscribed(object sender, MqttMsgUnsubscribedEventArgs e)
 {
     Debug.Print(e.MessageId.ToString());
 }