FixedHeader

Constructors

this
this(PacketType type, bool dup, QoSLevel qos, bool retain, uint length)
Undocumented in source.
this
this(PacketType type, T flags, uint length)
Undocumented in source.
this
this(T value)
Undocumented in source.

Alias This

flags

Members

Properties

dup
bool dup [@property getter]
bool dup [@property setter]

Duplicate delivery of a PUBLISH Control Packet

flags
ubyte flags [@property getter]

flags to ubyte

flags
ubyte flags [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
qos
QoSLevel qos [@property getter]
QoSLevel qos [@property setter]

Quality Of Service for a message

retain
bool retain [@property getter]
bool retain [@property setter]

PUBLISH Retain flag

type
PacketType type [@property getter]
PacketType type [@property setter]

Represented as a 4-bit unsigned value

Variables

length
uint length;

The Remaining Length is the number of bytes remaining within the current packet, including data in the variable header and the payload. The Remaining Length does not include the bytes used to encode the Remaining Length.

Meta