25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

18 lines
482 B

  1. using System;
  2. namespace MQTTnet.Server
  3. {
  4. public class MqttClientDisconnectedEventArgs : EventArgs
  5. {
  6. public MqttClientDisconnectedEventArgs(ConnectedMqttClient client, bool wasCleanDisconnect)
  7. {
  8. Client = client ?? throw new ArgumentNullException(nameof(client));
  9. WasCleanDisconnect = wasCleanDisconnect;
  10. }
  11. public ConnectedMqttClient Client { get; }
  12. public bool WasCleanDisconnect { get; }
  13. }
  14. }