MqttSubscribeAckMessage class
A subscribe acknowledgement message is sent by the broker to the client to confirm receipt and processing of a subscribe message.
A subscribe acknowledgement message contains a list of reason codes, that specify the maximum QoS level that was granted or the error which was found for each Subscription that was requested by the subscribe message.
- Inheritance
-
- Object
- MqttMessage
- MqttSubscribeAckMessage
Constructors
- MqttSubscribeAckMessage()
- Initializes a new instance of the MqttSubscribeAckMessage class.
- MqttSubscribeAckMessage.fromByteBuffer(MqttHeader header, MqttByteBuffer messageStream)
- Initializes a new instance of the MqttSubscribeAckMessage 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
- isValid → bool
-
Is valid
no setterinherited
- messageIdentifier → int
-
The message identifier
no setter
- payload → MqttSubscribeAckPayload?
-
no setter
-
reasonCodes
→ List<
MqttSubscribeReasonCode?> -
Reason codes, one for each topic subscribed
no setter
- reasonString → String?
-
Reason String.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
userProperty
→ List<
MqttUserProperty> -
User Property.
no setter
- variableHeader → MqttSubscribeAckVariableHeader?
-
no setter
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
-
writeTo(
MqttByteBuffer messageStream) → void -
Writes the message to the supplied stream.
Not implemented, message is receive only.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited