MQTT::ClientBase
Inherits Reference / Object
The version agnostic half of an MQTT client: transport lifecycle, framing, the request pipeline, packet identifier allocation, the registry of responses we're waiting on, keep alive and reconnection.
Everything that depends on the wire format of a particular protocol version — building packets, parsing them, and what an acknowledgement means — is left to the subclass.
Constants
How long to wait for a broker response before giving up
Constructors
Drives the client over transports produced by factory, re-establishing the connection whenever it drops
Drives the client over a single transport, with no reconnection
Instance methods
Sends whatever this protocol version uses for a liveness check, and waits for the response
Applied to any request that isn't given an explicit timeout.
Set to nil to wait indefinitely
Applied to any request that isn't given an explicit timeout.
Set to nil to wait indefinitely