MqttPublishReleaseVariableHeader class

The variable header of the publish release message contains the following fields in the order: the message Identifier from the publish receive message that is being acknowledged, reason code, and properties.

Implemented types

Constructors

MqttPublishReleaseVariableHeader(dynamic _header)
Initializes a new instance of the MqttPublishReleaseVariableHeader class.
MqttPublishReleaseVariableHeader.fromByteBuffer(dynamic _header, MqttByteBuffer headerStream)
Initializes a new instance of the class from a byte buffer.

Properties

hashCode int
The hash code for this object.
no setterinherited
no setter
length int
The length of the variable header as received. To get the write length us getWriteLength
no setteroverride
messageIdentifier int
The message identifier
getter/setter pair
reasonCode MqttPublishReasonCode?
Publish reason code
getter/setter pair
reasonString String?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
userProperty List<MqttUserProperty>
getter/setter pair

Methods

getWriteLength() int
Gets the length of the write data.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
readFrom(MqttByteBuffer variableHeaderStream) → void
Creates a variable header from the specified header stream.
override
readMessageIdentifier(MqttByteBuffer stream) → void
Read the message identifier
readReasonCode(MqttByteBuffer stream) → void
Read the reason code.
toString() String
A string representation of this object.
override
writeMessageIdentifier(MqttByteBuffer stream) → void
Write the message identifier.
writeReasonCode(MqttByteBuffer stream) → void
Write the reason code
writeTo(MqttByteBuffer variableHeaderStream) → void
Writes a variable header to the supplied message stream.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited