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. [...]
read-only, inherited
The header of the MQTT Message. Contains metadata about the message
read / write, inherited
payload MqttUnsubscribePayload
Gets or sets the payload of the Mqtt Message.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
variableHeader MqttUnsubscribeVariableHeader
Gets or sets the variable header contents. Contains extended metadata about the message.
read / write

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 non-existent method or property is accessed. [...]
inherited
readFrom(MqttByteBuffer messageStream) → void
Reads a message from the supplied stream.
override
toString() String
Returns 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 ==(dynamic other) bool
The equality operator. [...]
inherited