您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 
 

18 行
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. }