public enum ServerAuthSessionState extends Enum<ServerAuthSessionState> implements IAppSessionState<ServerAuthSessionState>
| Enum Constant and Description |
|---|
DISCONNECTED |
IDLE |
OPEN |
| Modifier and Type | Method and Description |
|---|---|
ServerAuthSessionState |
fromInt(int val) |
int |
getValue() |
static ServerAuthSessionState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ServerAuthSessionState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ServerAuthSessionState IDLE
public static final ServerAuthSessionState OPEN
public static final ServerAuthSessionState DISCONNECTED
public static ServerAuthSessionState[] values()
for (ServerAuthSessionState c : ServerAuthSessionState.values()) System.out.println(c);
public static ServerAuthSessionState 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 int getValue()
getValue in interface IAppSessionState<ServerAuthSessionState>public final ServerAuthSessionState fromInt(int val) throws IllegalArgumentException
fromInt in interface IAppSessionState<ServerAuthSessionState>IllegalArgumentExceptionCopyright © 2016. All Rights Reserved.