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