MqttUnsubscribeAckPayload class

The payload contains a list of reason codes. Each reason code corresponds to a topic filter in the unsubscribe message being acknowledged.

Inheritance

Constructors

MqttUnsubscribeAckPayload()
Initializes a new instance of the MqttUnsubscribeAckPayload class.
MqttUnsubscribeAckPayload.fromByteBuffer(MqttHeader? header, MqttUnsubscribeAckVariableHeader? variableHeader, MqttByteBuffer payloadStream)
Initializes a new instance of the MqttUnsubscribeAckPayload class.

Properties

hashCode int
The hash code for this object.
no setterinherited
Message header
getter/setter pair
length int
Receive length
no setter
reasonCodes List<MqttSubscribeReasonCode?>
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
variableHeader MqttUnsubscribeAckVariableHeader?
Variable header
getter/setter pair

Methods

getWriteLength() int
Gets the length of the payload in bytes when written to a stream. Always 0, message is receive only
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.
override
toString() String
A string representation of this object.
override
writeTo(MqttByteBuffer payloadStream) → void
Writes the payload to the supplied stream. Not implemented, message is receive only.
override

Operators

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