public static enum Server.Command extends Enum<Server.Command>
| Enum Constant and Description |
|---|
CHECKPOINTED |
COMMITTED |
CONNECTED |
DISCONNECTED |
ECHO |
SEEK |
SERVER_ERROR |
WINDOWED |
| Modifier and Type | Method and Description |
|---|---|
static Server.Command |
getCommand(byte b) |
byte |
getOrdinal() |
static Server.Command |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Server.Command[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Server.Command ECHO
public static final Server.Command SEEK
public static final Server.Command COMMITTED
public static final Server.Command CHECKPOINTED
public static final Server.Command CONNECTED
public static final Server.Command DISCONNECTED
public static final Server.Command WINDOWED
public static final Server.Command SERVER_ERROR
public static Server.Command[] values()
for (Server.Command c : Server.Command.values()) System.out.println(c);
public static Server.Command 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 byte getOrdinal()
public static Server.Command getCommand(byte b)
Copyright © 2015-2017 Apache Software Foundation. All Rights Reserved.