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

ConnectedMqttClient.cs 522 B

12345678910111213141516171819202122
  1. using System;
  2. using MQTTnet.Serializer;
  3. namespace MQTTnet.Server
  4. {
  5. // TODO: Rename to "RegisteredClient"
  6. // TODO: Add IsConnected
  7. // TODO: Add interface
  8. public class ConnectedMqttClient
  9. {
  10. public string ClientId { get; set; }
  11. public MqttProtocolVersion? ProtocolVersion { get; set; }
  12. public TimeSpan LastPacketReceived { get; set; }
  13. public TimeSpan LastNonKeepAlivePacketReceived { get; set; }
  14. public int PendingApplicationMessages { get; set; }
  15. }
  16. }