MqttPublishCompleteMessage class

The publish complete message is the response to a publisg release message. It is the fourth and final message of the QoS 2 protocol exchange.

Inheritance

Constructors

MqttPublishCompleteMessage()
Initializes a new instance of the MqttPublishCompleteMessage class.
MqttPublishCompleteMessage.fromByteBuffer(MqttHeader header, MqttByteBuffer messageStream)
Initializes a new instance of the MqttPublishCompleteMessage class.

Properties

hashCode int
The hash code for this object.
no setterinherited
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 MqttPublishCompleteVariableHeader
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.
inherited
toString() String
A string representation of this object.
override
withMessageIdentifier(int messageIdentifier) MqttPublishCompleteMessage
Sets the message identifier of the MqttMessage.
withReasonCode(MqttPublishReasonCode reason) MqttPublishCompleteMessage
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