MqttUnsubscribeMessage class

Implementation of an MQTT Unsubscribe Message.

Inheritance

Constructors

MqttUnsubscribeMessage()
Initializes a new instance of the MqttUnsubscribeMessage class.
MqttUnsubscribeMessage.fromByteBuffer(MqttHeader header, MqttByteBuffer messageStream)
Initializes a new instance of the MqttUnsubscribeMessage 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
payload MqttUnsubscribePayload
Gets or sets the payload of the Mqtt Message.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
variableHeader MqttUnsubscribeVariableHeader?
Gets or sets the variable header contents. Contains extended metadata about the message.
getter/setter pair

Methods

expectAcknowledgement() MqttUnsubscribeMessage
Sets the message up to request acknowledgement from the broker for each topic subscription.
fromTopic(String topic) MqttUnsubscribeMessage
Adds a topic to the list of topics to unsubscribe from.
isDuplicate() MqttUnsubscribeMessage
Sets the duplicate flag for the message to indicate its a duplicate of a previous message type with the same message identifier.
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
withMessageIdentifier(int messageIdentifier) MqttUnsubscribeMessage
Sets the message identifier on the subscribe message.
writeTo(MqttByteBuffer messageStream) → void
Writes the message to the supplied stream.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited