Example #1
0
        private void OnConnected(MqttClientConnectedEventArgs e)
        {
            _traceMessages.Enqueue(new MqttNetLogMessage("", DateTime.Now, -1,
                                                         "", MqttNetLogLevel.Info, "! CONNECTED EVENT FIRED", null));

            Task.Run(UpdateLogAsync);
        }
 public Task HandleConnectedAsync(MqttClientConnectedEventArgs eventArgs)
 {
     return(_handler(eventArgs));
 }