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); }