Exemple #1
0
 public void ReceiveMessage(IMqttMessageBuilder mb)
 {
     MessageReceived(new MqttNetEventArgs
     {
         Message = mb.GetMessage()
     });
 }
 internal void SendMessageAsync(IMqttMessageBuilder bldr, object eventData, string clientUid)
 {
     SendMessageAsync(bldr.GetMessage(), eventData, clientUid);
 }
Exemple #3
0
 public void ReceiveMessage(IMqttMessageBuilder mb)
 {
     MessageReceived(new MqttNetEventArgs
     {
         Message = mb.GetMessage()
     });
 }
 internal void SendMessageAsync(IMqttMessageBuilder bldr, object eventData, string clientUid)
 {
     SendMessageAsync(bldr.GetMessage(), eventData, clientUid);
 }