Creates a disconnected client from the given options.
Connects to the broker and starts the background event loop.
Closes the connection and stops the background event loop.
Reports whether the client currently holds an active connection.
Publishes a payload to a topic.
Awaits the next message from any subscribed topic, or null once the
connection has ended.
Subscribes to a topic filter.
An MQTT client transport backed by the native pamoja core.