MqttPublishPayload class

Class that contains details related to an MQTT Connect messages payload

Inheritance

Constructors

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

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
Message header
read / write
message Uint8Buffer
The message that forms the payload of the publish message.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
variableHeader MqttPublishVariableHeader
Variable header
read / write

Methods

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 ==(Object other) bool
The equality operator. [...]
inherited

Static Methods

bytesToString(Uint8Buffer message) String
Converts an array of bytes to a byte string.
bytesToStringAsString(Uint8Buffer message) String
Converts an array of bytes to a character string.