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