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.
 
 
 
 

20 line
490 B

  1. using System;
  2. using MQTTnet.Core.Packets;
  3. namespace MQTTnet.Core.Server
  4. {
  5. public sealed class MqttClientPublishPacketContext
  6. {
  7. public MqttClientPublishPacketContext(MqttPublishPacket publishPacket)
  8. {
  9. PublishPacket = publishPacket ?? throw new ArgumentNullException(nameof(publishPacket));
  10. }
  11. public MqttPublishPacket PublishPacket { get; }
  12. public int SendTries { get; set; }
  13. public bool IsSent { get; set; }
  14. }
  15. }