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

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