MqttSubscribeAckVariableHeader class

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

Implemented types

Constructors

MqttSubscribeAckVariableHeader()
Initializes a new instance of the MqttSubscribeAckVariableHeader class.
MqttSubscribeAckVariableHeader.fromByteBuffer(MqttByteBuffer headerStream)
Initializes a new instance of the MqttSubscribeAckVariableHeader 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