public static enum MqttReasonCodes.SubAck extends Enum<MqttReasonCodes.SubAck>
Modifier and Type | Method and Description |
---|---|
byte |
byteValue() |
static MqttReasonCodes.SubAck |
valueOf(byte b) |
static MqttReasonCodes.SubAck |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MqttReasonCodes.SubAck[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MqttReasonCodes.SubAck GRANTED_QOS_0
public static final MqttReasonCodes.SubAck GRANTED_QOS_1
public static final MqttReasonCodes.SubAck GRANTED_QOS_2
public static final MqttReasonCodes.SubAck UNSPECIFIED_ERROR
public static final MqttReasonCodes.SubAck IMPLEMENTATION_SPECIFIC_ERROR
public static final MqttReasonCodes.SubAck NOT_AUTHORIZED
public static final MqttReasonCodes.SubAck TOPIC_FILTER_INVALID
public static final MqttReasonCodes.SubAck PACKET_IDENTIFIER_IN_USE
public static final MqttReasonCodes.SubAck QUOTA_EXCEEDED
public static final MqttReasonCodes.SubAck SHARED_SUBSCRIPTIONS_NOT_SUPPORTED
public static final MqttReasonCodes.SubAck SUBSCRIPTION_IDENTIFIERS_NOT_SUPPORTED
public static final MqttReasonCodes.SubAck WILDCARD_SUBSCRIPTIONS_NOT_SUPPORTED
public static MqttReasonCodes.SubAck[] values()
for (MqttReasonCodes.SubAck c : MqttReasonCodes.SubAck.values()) System.out.println(c);
public static MqttReasonCodes.SubAck 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 byteValue()
public static MqttReasonCodes.SubAck valueOf(byte b)
b
- the number to decode.Copyright © 2008–2024 The Netty Project. All rights reserved.