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
read / write
hashCode → int
The hash code for this object. [...]
read-only, inherited
passwordFlag ↔ bool
Password present
read / write
reserved1 ↔ bool
Reserved1
read / write
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited
usernameFlag ↔ bool
Username present
read / write
willFlag ↔ bool
Will
read / write
willQos MqttQos
Will Qos
read / write
willRetain ↔ bool
Will retain
read / write

Methods

connectFlagByte() → int
Return the connect flag value
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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.