MqttApplicationMessage.cs 840 B

123456789101112131415161718192021222324252627282930313233
  1. using System.Collections.Generic;
  2. using MQTTnet.Packets;
  3. using MQTTnet.Protocol;
  4. namespace MQTTnet
  5. {
  6. public class MqttApplicationMessage
  7. {
  8. public string Topic { get; set; }
  9. public byte[] Payload { get; set; }
  10. public MqttQualityOfServiceLevel QualityOfServiceLevel { get; set; }
  11. public bool Retain { get; set; }
  12. public List<MqttUserProperty> UserProperties { get; set; }
  13. public string ContentType { get; set; }
  14. public string ResponseTopic { get; set; }
  15. public MqttPayloadFormatIndicator? PayloadFormatIndicator { get; set; }
  16. public uint? MessageExpiryInterval { get; set; }
  17. public ushort? TopicAlias { get; set; }
  18. public byte[] CorrelationData { get; set; }
  19. public List<uint> SubscriptionIdentifiers { get; set; }
  20. }
  21. }