MqttPublishReceivedVariableHeader class

Implementation of the variable header for an MQTT Publish Received message.

Inheritance

Constructors

MqttPublishReceivedVariableHeader()
Initializes a new instance of the MqttPublishCompleteVariableHeader class.
MqttPublishReceivedVariableHeader.fromByteBuffer(MqttByteBuffer headerStream)
Initializes a new instance of the MqttPublishReceivedVariableHeader class.

Properties

connectFlags MqttConnectFlags
Conenct flags
read / write, inherited
hashCode → int
The hash code for this object. [...]
read-only, inherited
keepAlive ↔ int
Defines the maximum allowable lag, in seconds, between expected messages. The spec indicates that clients won't be disconnected until KeepAlive + 1/2 KeepAlive time period elapses.
read / write, inherited
length ↔ int
The length, in bytes, consumed by the variable header.
read / write, inherited
messageIdentifier ↔ int
Message identifier
read / write, inherited
protocolName ↔ String
Protocol name
read / write, inherited
protocolVersion ↔ int
Protocol version
read / write, inherited
returnCode MqttConnectReturnCode
Return code
read / write, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited
topicName ↔ String
Topic name
read / write, inherited

Methods

getWriteLength() → int
Gets the length of the write data when WriteTo will be called.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
readConnectFlags(MqttByteBuffer stream) → void
Connect flags
inherited
readFrom(MqttByteBuffer variableHeaderStream) → void
Creates a variable header from the specified header stream.
override
readKeepAlive(MqttByteBuffer stream) → void
Keep alive
inherited
readMessageIdentifier(MqttByteBuffer stream) → void
Message identifier
inherited
readProtocolName(MqttByteBuffer stream) → void
Read functions Protocol name
inherited
readProtocolVersion(MqttByteBuffer stream) → void
Protocol version
inherited
readReturnCode(MqttByteBuffer stream) → void
Return code
inherited
readTopicName(MqttByteBuffer stream) → void
Topic name
inherited
toString() → String
Returns a string representation of this object.
override
writeConnectFlags(MqttByteBuffer stream) → void
Connect flags
inherited
writeKeepAlive(MqttByteBuffer stream) → void
Keep alive
inherited
writeMessageIdentifier(MqttByteBuffer stream) → void
Message identifier
inherited
writeProtocolName(MqttByteBuffer stream) → void
Write functions Protocol name
inherited
writeProtocolVersion(MqttByteBuffer stream) → void
Protocol version
inherited
writeReturnCode(MqttByteBuffer stream) → void
Return code
inherited
writeTo(MqttByteBuffer variableHeaderStream) → void
Writes the variable header to the supplied stream.
override
writeTopicName(MqttByteBuffer stream) → void
Topic name
inherited

Operators

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