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