MqttUnsubscribePayload class

The payload for the unsubscribe message contains the list of topic filters that the client wishes to unsubscribe from

Inheritance

Constructors

MqttUnsubscribePayload()
Initializes a new instance of the MqttUnsubscribePayload class.

Properties

hashCode int
The hash code for this object.
no setterinherited
isValid bool
Is valid, there must be at least one topic
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
subscriptions List<MqttSubscriptionTopic>
The subscribe topics to unsubscribe.
no setter

Methods

addStringSubscription(String topic) → void
Adds a new subscription string to the collection of subscriptions.
addTopicSubscription(MqttSubscriptionTopic topic) → void
Adds a new subscription topic to the collection of subscriptions.
clear() → void
Clears the subscriptions.
getWriteLength() int
Gets the length of the payload in bytes when written to a stream.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
readFrom(MqttByteBuffer payloadStream) → void
Creates a payload from the specified header stream. Not implemented, message is send only
override
toString() String
A string representation of this object.
override
writeTo(MqttByteBuffer payloadStream) → void
Writes the payload to the supplied stream.
override

Operators

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