MqttConnectPayload class

Class that contains details related to an MQTT Connect messages payload.

Inheritance

Constructors

MqttConnectPayload(MqttConnectVariableHeader variableHeader)
Initializes a new instance of the MqttConnectPayload class.
MqttConnectPayload.fromByteBuffer(MqttConnectVariableHeader variableHeader, MqttByteBuffer payloadStream)
Initializes a new instance of the MqttConnectPayload class.

Properties

clientIdentifier ↔ String
Client identifier
read / write
hashCode → int
The hash code for this object. [...]
read-only, inherited
password ↔ String
Password
read / write
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited
username ↔ String
User name
read / write
variableHeader MqttConnectVariableHeader
Variable header
read / write
willMessage ↔ String
Will message
read / write
willTopic ↔ String
Will topic
read / write

Methods

getWriteLength() → int
Gets the length of the payload in bytes when written to a stream.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
readFrom(MqttByteBuffer payloadStream) → void
Creates a payload from the specified header stream.
override
toString() → String
Returns a string representation of this object.
override
writeTo(MqttByteBuffer payloadStream) → void
Writes the connect message payload to the supplied stream.
override

Operators

operator ==(Object other) → bool
The equality operator. [...]
inherited