MqttPublishReleaseMessage class
A publish release message is the response to a publish received message. It is the third packet of the QoS 2 protocol exchange.
- Inheritance
-
- Object
- MqttMessage
- MqttPublishReleaseMessage
Constructors
- MqttPublishReleaseMessage()
- Initializes a new instance of the MqttPublishReleaseMessage class.
- MqttPublishReleaseMessage.fromByteBuffer(MqttHeader header, MqttByteBuffer messageStream)
- Initializes a new instance of the MqttPublishReleaseMessage 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 setteroverride
- 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 ↔ MqttPublishReleaseVariableHeader
-
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) → MqttPublishReleaseMessage - Sets the message identifier of the MqttMessage.
-
withReasonCode(
MqttPublishReasonCode reason) → MqttPublishReleaseMessage - 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