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.
 
 
 
 

23 regels
522 B

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