Enum MqttSubAckReasonCode
- All Implemented Interfaces:
MqttReasonCode, Serializable, Comparable<MqttSubAckReasonCode>
Reason codes for SUBACK MQTT message
-
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionlimitForMqttVersion(MqttVersion version) static MqttSubAckReasonCodeqosGranted(MqttQoS qos) bytevalue()static MqttSubAckReasonCodeReturns the enum constant of this type with the specified name.static MqttSubAckReasonCode[]values()Returns an array containing the constants of this enum type, in the order they are declared.Methods inherited from class Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfMethods inherited from interface MqttReasonCode
isError
-
Enum Constant Details
-
GRANTED_QOS0
-
GRANTED_QOS1
-
GRANTED_QOS2
-
UNSPECIFIED_ERROR
-
IMPLEMENTATION_SPECIFIC_ERROR
-
NOT_AUTHORIZED
-
TOPIC_FILTER_INVALID
-
PACKET_IDENTIFIER_IN_USE
-
QUOTA_EXCEEDED
-
SHARED_SUBSCRIPTIONS_NOT_SUPPORTED
-
SUBSCRIPTION_IDENTIFIERS_NOT_SUPPORTED
-
WILDCARD_SUBSCRIPTIONS_NOT_SUPPORTED
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
value
public byte value()- Specified by:
valuein interfaceMqttReasonCode
-
qosGranted
-
limitForMqttVersion
-