public static enum LogoutRequestParser.LogoutReasonCode extends Enum<LogoutRequestParser.LogoutReasonCode>
All other values are reserved.
| Enum Constant and Description |
|---|
CLOSE_CONNECTION
Close the connection.
|
CLOSE_SESSION
Close the session.
|
CONNECTION_RECOVERY
Remove the connection for recovery.
|
| Modifier and Type | Method and Description |
|---|---|
byte |
value()
Returns the value of this enumeration.
|
static LogoutRequestParser.LogoutReasonCode |
valueOf(byte value)
Returns the constant defined for the given
value. |
static LogoutRequestParser.LogoutReasonCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LogoutRequestParser.LogoutReasonCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LogoutRequestParser.LogoutReasonCode CLOSE_SESSION
public static final LogoutRequestParser.LogoutReasonCode CLOSE_CONNECTION
public static final LogoutRequestParser.LogoutReasonCode CONNECTION_RECOVERY
public static LogoutRequestParser.LogoutReasonCode[] values()
for (LogoutRequestParser.LogoutReasonCode c : LogoutRequestParser.LogoutReasonCode.values()) System.out.println(c);
public static LogoutRequestParser.LogoutReasonCode 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 final byte value()
public static final LogoutRequestParser.LogoutReasonCode valueOf(byte value)
value.value - The value to search for.value. Or null, if this value
is not defined by this
enumeration.Copyright © 2013 University of Konstanz, Distributed Systems Group. All Rights Reserved.