net.sf.xenqtt
Class MqttQosNotGrantedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
net.sf.xenqtt.MqttException
net.sf.xenqtt.MqttQosNotGrantedException
- All Implemented Interfaces:
- Serializable
public final class MqttQosNotGrantedException
- extends MqttException
Thrown by synchronous MqttClient.subscribe(java.util.List)
and MqttClient.subscribe(Subscription[])
methods when the QoS
granted for
a subscription request does not match the QoS requested.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
MqttQosNotGrantedException
public MqttQosNotGrantedException(Subscription[] grantedSubscriptions)
getGrantedSubscriptions
public Subscription[] getGrantedSubscriptions()
- Returns:
- The topics subscribed to and the QoS granted for each
Copyright © 2013. All Rights Reserved.