MqttIVariableHeader class abstract

Variable header base class

Some types of MQTT Control Packet contain a Variable Header component. It resides between the Fixed Header and the Payload. The content of the Variable Header varies depending on the message type. The Packet Identifier field of Variable Header is common in several message types.

Implementers

Constructors

MqttIVariableHeader()

Properties

hashCode int
The hash code for this object.
no setterinherited
length int
The length of the variable header in bytes
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getWriteLength() int
Gets the length of the write data when WriteTo will be called. A subclass that overrides writeTo must also overwrite this method.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
readFrom(MqttByteBuffer stream) → void
Deserialize from a byte buffer stream
toString() String
A string representation of this object.
inherited
writeTo(MqttByteBuffer stream) → void
Serialize to a byte buffer stream

Operators

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