MqttConnectAckMessage class
Message that indicates a connection acknowledgement.
- Inheritance
-
- Object
- MqttMessage
- MqttConnectAckMessage
Constructors
- MqttConnectAckMessage()
- Initializes a new instance of the MqttConnectAckMessage class. Only called via the MqttMessage.Create operation during processing of an Mqtt message stream.
- MqttConnectAckMessage.fromByteBuffer(MqttHeader header, MqttByteBuffer messageStream)
- Initializes a new instance of the MqttConnectAckMessage class.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- header ↔ MqttHeader?
-
The header of the MQTT Message. Contains metadata about the message
getter/setter pairinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- variableHeader ↔ MqttConnectAckVariableHeader
-
Gets or sets the variable header contents. Contains extended
metadata about the message
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
readFrom(
MqttByteBuffer messageStream) → void -
Reads a message from the supplied stream.
override
-
toString(
) → String -
A string representation of this object.
override
-
withReturnCode(
MqttConnectReturnCode returnCode) → MqttConnectAckMessage - Sets the return code of the Variable Header.
-
writeTo(
MqttByteBuffer messageStream) → void -
Writes a message to the supplied stream.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited