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