MqttPayload class

Represents the payload (Body) of an MQTT Message.

Implementers

Constructors

MqttPayload()
Initializes a new instance of the MqttPayload class.
MqttPayload.fromMqttByteBuffer(MqttByteBuffer payloadStream)
Initializes a new instance of the MqttPayload class.

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

getWriteLength() int
Gets the length of the payload in bytes when written to a stream.
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.
toString() String
Returns a string representation of this object.
inherited
writeTo(MqttByteBuffer payloadStream) → void
Writes the payload to the supplied stream. A basic message has no Variable Header.

Operators

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