public enum MqttAuthReasonCode extends Enum<MqttAuthReasonCode> implements MqttReasonCode
| Enum Constant and Description |
|---|
CONTINUE_AUTHENTICATION
Continue Authentication
|
RE_AUTHENTICATE
Re-Authenticate
|
SUCCESS
Success
|
| Modifier and Type | Method and Description |
|---|---|
byte |
value()
byteValue
|
static MqttAuthReasonCode |
valueOf(byte code) |
static MqttAuthReasonCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MqttAuthReasonCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfisErrorpublic static final MqttAuthReasonCode SUCCESS
public static final MqttAuthReasonCode CONTINUE_AUTHENTICATION
public static final MqttAuthReasonCode RE_AUTHENTICATE
public static MqttAuthReasonCode[] values()
for (MqttAuthReasonCode c : MqttAuthReasonCode.values()) System.out.println(c);
public static MqttAuthReasonCode 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 static MqttAuthReasonCode valueOf(byte code)
public byte value()
MqttReasonCodevalue in interface MqttReasonCodeCopyright © 2025. All rights reserved.