MqttConnectVariableHeader class

The Variable Header for the connect Packet contains the following fields in this order: Protocol Name, Protocol Level, Connect Flags, Keep Alive, and Properties.

Implemented types

Constructors

MqttConnectVariableHeader()

Properties

authenticationData ↔ Uint8Buffer
getter/setter pair
authenticationMethod String
getter/setter pair
connectFlags MqttConnectFlags
Connect flags
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
keepAlive int
Keep alive
getter/setter pair
length int
The length of the variable header, as this is a send only message this is always the write length.
no setteroverride
maximumPacketSize int
getter/setter pair
receiveMaximum int
getter/setter pair
requestProblemInformation bool
getter/setter pair
requestResponseInformation bool
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sessionExpiryInterval int
getter/setter pair
topicAliasMaximum int
getter/setter pair
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 for this message type which for the client is send only.
override
toString() String
A string representation of this object.
override
writeConnectFlags(MqttByteBuffer stream) → void
Connect flags
writeKeepAlive(MqttByteBuffer stream) → void
Keep alive
writeProperties(MqttByteBuffer stream) → void
Properties
writeProtocolName(MqttByteBuffer stream) → void
Protocol name
writeProtocolVersion(MqttByteBuffer stream) → void
Protocol version
writeTo(MqttByteBuffer variableHeaderStream) → void
Writes the variable header to the supplied stream.
override

Operators

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

Constants

sessionDoesNotExpire → const int