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