- connect
Connects to an MQTT server using the specified options.The server to connect to
is specified on the
- getClientId
Returns the client ID used by this client.All clients connected to the same
server or server farm mu
- disconnect
Disconnects from the server.An attempt is made to quiesce the client allowing
outstanding work to co
- publish
Publishes a message to a topic on the server.A convenience method, which will
create a new MqttMessa
- getServerURI
Returns the address of the server used by this client.The format of the returned
String is the same
- subscribe
Subscribe to multiple topics, each of which may include wildcards.Provides an
optimized way to subsc
- close
Close the client Releases all resource associated with the client. After the
client has been closed
- setCallback
Sets a callback listener to use for events that happen asynchronously.There are
a number of events t
- unsubscribe
Requests the server unsubscribe the client from one or more topics. Unsubcribing
is the opposite of