|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<UTServerState>
cz.cuni.pogamut.server.UTServerState
public enum UTServerState
Enum Constant Summary | |
---|---|
HANDSHAKE
Handshake phase with GB2004. |
|
INITIALIZING
First phase, even before connecting to GB2004. |
|
MAP_CHANGING
This state is switched to when the GB is changing map. |
|
NONE
UTServer never received request for CHANGE_URI, therefore is not connected to anything and is not doing anything. |
|
PAUSED
Server is paused. |
|
RUNNING
Server is UP and running. |
|
TERMINATED
The server failed and terminated it self, it needs to be recreated (whole UTServer object!). |
|
UNAVAILABLE
Server is unavailable. |
Field Summary | |
---|---|
private java.lang.String |
helpMessage
|
Method Summary | |
---|---|
java.lang.String |
getHelpMessage()
|
static UTServerState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static UTServerState[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final UTServerState NONE
public static final UTServerState INITIALIZING
public static final UTServerState HANDSHAKE
public static final UTServerState RUNNING
public static final UTServerState PAUSED
public static final UTServerState UNAVAILABLE
public static final UTServerState MAP_CHANGING
public static final UTServerState TERMINATED
Field Detail |
---|
private java.lang.String helpMessage
Method Detail |
---|
public static UTServerState[] values()
for (UTServerState c : UTServerState.values()) System.out.println(c);
public static UTServerState valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is nullpublic java.lang.String getHelpMessage()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |