public enum MqttAuthenticateReasonCode extends Enum<MqttAuthenticateReasonCode> implements MqttReasonCode
| Enum Constant and Description |
|---|
CONTINUE_AUTHENTICATION |
RE_AUTHENTICATE |
SUCCESS |
| Modifier and Type | Method and Description |
|---|---|
byte |
value()
byteValue
|
static MqttAuthenticateReasonCode |
valueOf(byte b) |
static MqttAuthenticateReasonCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MqttAuthenticateReasonCode[] |
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 MqttAuthenticateReasonCode SUCCESS
public static final MqttAuthenticateReasonCode CONTINUE_AUTHENTICATION
public static final MqttAuthenticateReasonCode RE_AUTHENTICATE
public static MqttAuthenticateReasonCode[] values()
for (MqttAuthenticateReasonCode c : MqttAuthenticateReasonCode.values()) System.out.println(c);
public static MqttAuthenticateReasonCode 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 value()
MqttReasonCodevalue in interface MqttReasonCodepublic static MqttAuthenticateReasonCode valueOf(byte b)
Copyright © 2025. All rights reserved.