Skip to content

Transport

Abstract base class for concreate transport implementations.

Fields:

TransportStates State

State of the transport.

MQTTClient Parent

Parent MQTTClient instance that the transport is created for.

ConcurrentQueue<Packet> IncomingPackets

Received and parsed packets, sent by the server.

CancellationToken ConnectCancellationToken

Optional CancellationToken for connection cancellation support.

LoggingContext Context

Debug context of the transport.

Comments