mirror of
https://github.com/dotnet/MQTTnet.git
synced 2026-10-17 17:53:03 +08:00
34 lines
834 B
C#
34 lines
834 B
C#
using System.Collections.Generic;
|
|
using MQTTnet.Packets;
|
|
using MQTTnet.Protocol;
|
|
|
|
namespace MQTTnet
|
|
{
|
|
public class MqttApplicationMessage
|
|
{
|
|
public string Topic { get; set; }
|
|
|
|
public byte[] Payload { get; set; }
|
|
|
|
public MqttQualityOfServiceLevel QualityOfServiceLevel { get; set; }
|
|
|
|
public bool Retain { get; set; }
|
|
|
|
public List<MqttUserProperty> UserProperties { get; set; }
|
|
|
|
public string ContentType { get; set; }
|
|
|
|
public string ResponseTopic { get; set; }
|
|
|
|
public MqttPayloadFormatIndicator? PayloadFormatIndicator { get; set; }
|
|
|
|
public uint? MessageExpiryInterval { get; set; }
|
|
|
|
public ushort? TopicAlias { get; set; }
|
|
|
|
public byte[] CorrelationData { get; set; }
|
|
|
|
public uint? SubscriptionIdentifier { get; set; }
|
|
}
|
|
}
|