You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

18 line
443 B

  1. using System;
  2. using System.Threading.Tasks;
  3. namespace MQTTnet.Adapter
  4. {
  5. public class MqttServerAdapterClientAcceptedEventArgs : EventArgs
  6. {
  7. public MqttServerAdapterClientAcceptedEventArgs(IMqttChannelAdapter client)
  8. {
  9. Client = client ?? throw new ArgumentNullException(nameof(client));
  10. }
  11. public IMqttChannelAdapter Client { get; }
  12. public Task SessionTask { get; set; }
  13. }
  14. }