MqttConnectAckVariableHeader class

The Variable Header of the Connect Acknowledgement message contains the following fields in the order: Connect Acknowledge Flags, Connect Reason Code, and Properties.

Implemented types

Constructors

MqttConnectAckVariableHeader()
Initializes a new instance of the MqttConnectVariableHeader class.
MqttConnectAckVariableHeader.fromByteBuffer(MqttByteBuffer headerStream)
Initializes a new instance of the MqttConnectVariableHeader from a byte buffer.

Properties

assignedClientIdentifier String?
Assigned Client Identifier.
no setter
authenticationData → Uint8Buffer?
Authentication Data.
no setter
authenticationMethod String?
Authentication Method.
no setter
connectAckFlags MqttConnectAckFlags
Connect acknowledge message flags
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
length int
Length of the recieved message.
getter/setter pairoverride-getter
maximumPacketSize int?
Maximum Packet Size.
no setter
maximumQos int?
Maximum QoS.
no setter
reasonCode MqttConnectReasonCode?
Reason Code
getter/setter pair
reasonString String?
Reason String.
no setter
receiveMaximum int?
Receive Maximum.
no setter
responseInformation String?
Response Information.
no setter
retainAvailable bool
Retain Available.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
serverKeepAlive int?
Server Keep Alive.
no setter
serverReference String?
Server Reference.
no setter
sessionExpiryInterval int?
Session Expiry Interval.
no setter
sessionPresent bool
Session present
getter/setter pair
sharedSubscriptionAvailable bool
Shared Subscription Available.
no setter
subscriptionIdentifiersAvailable bool
Subscription Identifiers Available.
no setter
topicAliasMaximum int?
Topic Alias Maximum.
no setter
userProperty List<MqttUserProperty>?
User Property.
no setter
wildcardSubscriptionsAvailable bool
Wildcard Subscription Available.
no setter

Methods

getWriteLength() int
Gets the length of the write data when WriteTo will be called.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
readFrom(MqttByteBuffer variableHeaderStream) → void
Creates a variable header from the specified header stream.
override
toString() String
A string representation of this object.
override
writeTo(MqttByteBuffer variableHeaderStream) → void
Writes the variable header to the supplied stream. Not implemented for this message
override

Operators

operator ==(Object other) bool
The equality operator.
inherited