Files
MQTTnet/Source/MQTTnet/MqttApplicationMessage.cs
T

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