mirror of
https://github.com/dotnet/MQTTnet.git
synced 2026-10-16 17:23:04 +08:00
21 lines
467 B
C#
21 lines
467 B
C#
using MQTTnet.Formatter;
|
|
|
|
namespace MQTTnet.Adapter
|
|
{
|
|
public class ReceivedMqttPacket
|
|
{
|
|
public ReceivedMqttPacket(byte fixedHeader, IMqttPacketBodyReader body, int totalLength)
|
|
{
|
|
FixedHeader = fixedHeader;
|
|
Body = body;
|
|
TotalLength = totalLength;
|
|
}
|
|
|
|
public byte FixedHeader { get; set; }
|
|
|
|
public IMqttPacketBodyReader Body { get; }
|
|
|
|
public int TotalLength { get; }
|
|
}
|
|
}
|