public static enum SimpleRequest.Type extends java.lang.Enum<SimpleRequest.Type>
| Enum Constant and Description |
|---|
ECHO
Echo request data.
|
LOG
Provide log data.
|
QUERY
Query for data.
|
QUIT
Terminate server execution.
|
USER_PROFILE
Return user profile.
|
| Modifier and Type | Method and Description |
|---|---|
static SimpleRequest.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SimpleRequest.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SimpleRequest.Type ECHO
public static final SimpleRequest.Type QUERY
public static final SimpleRequest.Type LOG
public static final SimpleRequest.Type USER_PROFILE
public static final SimpleRequest.Type QUIT
public static SimpleRequest.Type[] values()
for (SimpleRequest.Type c : SimpleRequest.Type.values()) System.out.println(c);
public static SimpleRequest.Type 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 namejava.lang.NullPointerException - if the argument is null