MqttConnectFlags class

Represents the connect flags part of the MQTT Variable Header

Constructors

MqttConnectFlags()
Initializes a new instance of the MqttConnectFlags class.
MqttConnectFlags.fromByteBuffer(MqttByteBuffer connectFlagsStream)
Initializes a new instance of the MqttConnectFlags class configured as per the supplied stream.

Properties

cleanStart bool
Clean start
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
passwordFlag bool
Password present
getter/setter pair
reserved1 bool
Reserved1
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
usernameFlag bool
Username present
getter/setter pair
willFlag bool
Will
getter/setter pair
willQos MqttQos
Will Qos
getter/setter pair
willRetain bool
Will retain
getter/setter pair

Methods

connectFlagByte() int
Return the connect flag value
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
readFrom(MqttByteBuffer stream) → void
Reads the connect flags from the underlying stream.
toString() String
Returns a String that represents the current connect flag settings
override
writeTo(MqttByteBuffer connectFlagsStream) → void
Writes the connect flag byte to the supplied stream.

Operators

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

Static Methods

getWriteLength() int
Gets the length of data written when WriteTo is called.