MqttPayload class abstract

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.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getWriteLength() int
Gets the length of the payload in bytes when written to a stream.
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.
toString() String
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 ==(Object other) bool
The equality operator.
inherited