MqttPublishAckMessage class
A publish acknowledge messageis the response to a publish message with QoS 1.
- Inheritance
-
- Object
- MqttMessage
- MqttPublishAckMessage
Constructors
- MqttPublishAckMessage()
- Initializes a new instance of the MqttPublishAckMessage class.
- MqttPublishAckMessage.fromByteBuffer(MqttHeader header, MqttByteBuffer messageStream)
- Initializes a new instance of the MqttPublishAckMessage 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
- reasonCode → MqttPublishReasonCode?
-
Publish reason code
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 → MqttPublishAckVariableHeader?
-
Gets the variable header contents. Contains extended
metadata about the message.
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.
inherited
-
toString(
) → String -
A string representation of this object.
override
-
withMessageIdentifier(
int messageIdentifier) → MqttPublishAckMessage - Sets the message identifier of the MqttMessage.
-
withReasonCode(
MqttPublishReasonCode reason) → MqttPublishAckMessage - Sets the reason code of the MqttMessage.
-
writeTo(
MqttByteBuffer messageStream) → void -
Writes the message to the supplied stream.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited