//------------------------------------------------------------------------------------------------------------------------ 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); }
private void M_client_MqttMsgUnsubscribed(object sender, uPLibrary.Networking.M2Mqtt.Messages.MqttMsgUnsubscribedEventArgs e) { }
public virtual void FClient_MqttMsgUnsubscribed(object sender, MqttMsgUnsubscribedEventArgs e) { throw new NotImplementedException(); }
public override void FClient_MqttMsgUnsubscribed(object sender, MqttMsgUnsubscribedEventArgs e) { }
/// <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); } }
static void client_MqttMsgUnsubscribed(object sender, MqttMsgUnsubscribedEventArgs e) { Debug.Print(e.MessageId.ToString()); }