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