MqttSubscribeVariableHeader class

The variable Header of the subscribe message contains the following fields in the order: Packet(message) identifier, and properties.

Implemented types

Constructors

MqttSubscribeVariableHeader()
Initializes a new instance of the MqttSubscribeVariableHeader 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
subscriptionIdentifier int
getter/setter pair
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. Not implemented, the subscribe 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 a variable header to the supplied message stream.
override

Operators

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