public Task HandleClientConnectedAsync(MqttServerClientConnectedEventArgs eventArgs)
 {
     return(_handler(eventArgs));
 }
예제 #2
0
 private static void MqttServerOnClientConnected(object sender, MQTTnet.Server.MqttServerClientConnectedEventArgs e)
 {
     Console.WriteLine("Client connected: " + e.ClientId);
 }