MqttUnsubscribeVariableHeader class

The variable header of the unsubscribe contains the following fields in the order: packet(message) identifier, and properties.

Implemented types

Constructors

MqttUnsubscribeVariableHeader()
Initializes a new instance of the MqttUnsubscribeVariableHeader class.

Properties

hashCode int
The hash code for this object.
no setterinherited
length int
The length of the variable header as received which in this message is always 0; To get the write length us getWriteLength
no setteroverride
messageIdentifier int
The message identifier
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 when WriteTo will be called.
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. Not implemented, the unsubscribe message is send only.
override
toString() String
A string representation of this object.
override
writeMessageIdentifier(MqttByteBuffer stream) → void
Write the message identifier.
writeTo(MqttByteBuffer variableHeaderStream) → void
Writes the variable header to the supplied stream.
override

Operators

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