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