Uses of Class
org.eclipse.paho.client.mqttv3.MqttException

Uses of MqttException in org.eclipse.paho.client.mqttv3
 

Subclasses of MqttException in org.eclipse.paho.client.mqttv3
 class MqttPersistenceException
          This exception should be thrown by the implementor of the persistence interface if there is a problem reading or writing persistent data.
 class MqttSecurityException
          Thrown when a client is not authorized to perform an operation, or if there is a problem with the security configuration.
 

Methods in org.eclipse.paho.client.mqttv3 that throw MqttException
 MqttDeliveryToken MqttTopic.publish(byte[] payload, int qos, boolean retained)
          Publishes a message on the topic.
 MqttDeliveryToken MqttTopic.publish(MqttMessage message)
          Publishes the specified message to this topic, but doesn't wait for a response.
 byte[] MqttMessage.getPayload()
          Returns the payload as a byte array.
 void MqttDeliveryToken.waitForCompletion()
          Blocks the current thread until the message this is the token for completes delivery.
 void MqttDeliveryToken.waitForCompletion(long timeout)
          Blocks the current thread until the message this is the token for completes delivery.
 MqttMessage MqttDeliveryToken.getMessage()
          Returns the message associated with this token, or null if the message has already been successfully sent.
 void MqttClient.connect()
          Connects to a server using the default options.
 void MqttClient.connect(MqttConnectOptions options)
          Connects to a server using the specified options.
 void MqttClient.disconnect()
          Disconnects from the server, which quiesces for up to a maximum of thirty seconds, to allow the client to finish any work it currently has.
 void MqttClient.disconnect(long quiesceTimeout)
          Disconnects from the server.
 void MqttClient.subscribe(java.lang.String topicFilter)
          Subscribes to a topic, which may include wildcards, using the default options.
 void MqttClient.subscribe(java.lang.String[] topicFilters)
          Subscribes to multiple topics, each of which may include wildcards, using the default options.
 void MqttClient.subscribe(java.lang.String topicFilter, int qos)
          Subscribes to a topic, which may include wildcards, using the specified options.
 void MqttClient.subscribe(java.lang.String[] topicFilters, int[] qos)
          Subscribes to multiple topics, each of which may include wildcards, using the specified options.
 void MqttClient.unsubscribe(java.lang.String topicFilter)
          Unsubscribes from a topic.
 void MqttClient.unsubscribe(java.lang.String[] topicFilters)
          Unsubscribes from multiple topics.
 void MqttClient.setCallback(MqttCallback callback)
          Sets the callback listener to use for asynchronously received messages.
 

Constructors in org.eclipse.paho.client.mqttv3 that throw MqttException
MqttClient(java.lang.String serverURI, java.lang.String clientId)
          Creates an MqttClient to connect to the specified address, using the specified client identifier.
MqttClient(java.lang.String serverURI, java.lang.String clientId, MqttClientPersistence persistence)
          Creates an MqttClient to connect to the specified address, using the specified client identifer and persistence implementation.