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