Session

MQTT session status holder

Members

Functions

add
auto add(T packet, PacketState state)

Adds packet to Session

canFind
auto canFind(ushort packetId, PacketContext ctx, size_t idx, PacketState state)

Finds package context stored in session

clear
void clear()

Clears cached messages

popFront
void popFront()
Undocumented in source. Be warned that the author may not have intended to support it.
removeAt
void removeAt(size_t idx)

Removes the stored PacketContext

Properties

front
PacketContext front [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
nextPacketId
auto nextPacketId [@property getter]

Gets next packet id

packetCount
auto packetCount [@property getter]

Number of packets to process

Meta