MqttUnsubscribeAckVariableHeader class

The variable header of the unsubscribe acknowledgement message contains the following fields in the order: packet(message) identifier from the unsubscribe message that is being acknowledged, and properties.

Implemented types

Constructors

MqttUnsubscribeAckVariableHeader()
Initializes a new instance of the MqttUnsubscribeAckVariableHeader class.
MqttUnsubscribeAckVariableHeader.fromByteBuffer(MqttByteBuffer headerStream)
Initializes a new instance of the MqttUnsubscribeAckVariableHeader class.

Properties

hashCode int
The hash code for this object.
no setterinherited
length int
Receive length
no setteroverride
messageIdentifier int
no setter
reasonString String?
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
userProperty List<MqttUserProperty>
no setter

Methods

getWriteLength() int
Gets the length of the write data. Always 0.
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
Message identifier
toString() String
A string representation of this object.
override
writeTo(MqttByteBuffer variableHeaderStream) → void
Writes the variable header to the supplied stream. Not implemented, the message is receive only.
override

Operators

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