PacketContext

Context for MQTT packet stored in Session

Members

Functions

opAssign
void opAssign(Publish pub)
Undocumented in source. Be warned that the author may not have intended to support it.
opAssign
void opAssign(Subscribe sub)
Undocumented in source. Be warned that the author may not have intended to support it.
opAssign
PacketContext opAssign(PacketContext ctx)
Undocumented in source. Be warned that the author may not have intended to support it.
opAssign
void opAssign(Unsubscribe unsub)
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

packetId
ushort packetId [@property getter]

MQTT packet id

Unions

__anonymous
union __anonymous

Context can hold different packet types

Variables

attempt
uint attempt;

Attempt (for retry)

packetType
PacketType packetType;

MQTT packet content

state
PacketState state;

MQTT packet state

timestamp
SysTime timestamp;

Timestamp (for retry)

Meta