public enum MqttSubAckReasonCode extends Enum<MqttSubAckReasonCode> implements MqttReasonCode
Modifier and Type | Method and Description |
---|---|
MqttSubAckReasonCode |
limitForMqttVersion(io.netty.handler.codec.mqtt.MqttVersion version) |
static MqttSubAckReasonCode |
qosGranted(io.netty.handler.codec.mqtt.MqttQoS qos) |
byte |
value() |
static MqttSubAckReasonCode |
valueOf(String name)
Returns 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.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
isError
public static final MqttSubAckReasonCode GRANTED_QOS0
public static final MqttSubAckReasonCode GRANTED_QOS1
public static final MqttSubAckReasonCode GRANTED_QOS2
public static final MqttSubAckReasonCode UNSPECIFIED_ERROR
public static final MqttSubAckReasonCode IMPLEMENTATION_SPECIFIC_ERROR
public static final MqttSubAckReasonCode NOT_AUTHORIZED
public static final MqttSubAckReasonCode TOPIC_FILTER_INVALID
public static final MqttSubAckReasonCode PACKET_IDENTIFIER_IN_USE
public static final MqttSubAckReasonCode QUOTA_EXCEEDED
public static final MqttSubAckReasonCode SHARED_SUBSCRIPTIONS_NOT_SUPPORTED
public static final MqttSubAckReasonCode SUBSCRIPTION_IDENTIFIERS_NOT_SUPPORTED
public static final MqttSubAckReasonCode WILDCARD_SUBSCRIPTIONS_NOT_SUPPORTED
public static MqttSubAckReasonCode[] values()
for (MqttSubAckReasonCode c : MqttSubAckReasonCode.values()) System.out.println(c);
public static MqttSubAckReasonCode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic byte value()
value
in interface MqttReasonCode
public static MqttSubAckReasonCode qosGranted(io.netty.handler.codec.mqtt.MqttQoS qos)
public MqttSubAckReasonCode limitForMqttVersion(io.netty.handler.codec.mqtt.MqttVersion version)
Copyright © 2023 Eclipse. All rights reserved.