MqttSubscribeAckPayload class

Class that contains details related to an MQTT Subscribe Ack messages payload.

Inheritance

Constructors

MqttSubscribeAckPayload()
Initializes a new instance of the MqttSubscribeAckPayload class.
MqttSubscribeAckPayload.fromByteBuffer(MqttHeader header, MqttVariableHeader variableHeader, MqttByteBuffer payloadStream)
Initializes a new instance of the MqttSubscribeAckPayload class.

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
Message header
read / write
qosGrants List<MqttQos>
The collection of Qos grants, Key is the topic, Value is the qos
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
variableHeader MqttVariableHeader
Variable header
read / write

Methods

addGrant(MqttQos grantedQos) → void
Adds a new QosGrant to the collection of QosGrants
clearGrants() → void
Clears the grants.
getWriteLength() int
Gets the length of the payload in bytes when written to a stream.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
readFrom(MqttByteBuffer payloadStream) → void
Creates a payload from the specified header stream.
override
toString() String
Returns a string representation of this object.
override
writeTo(MqttByteBuffer payloadStream) → void
Writes the payload to the supplied stream.
override

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited