public class CommandResult
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static CommandResult |
FAILED_CLIENT |
static CommandResult |
FAILED_SERVER |
static CommandResult |
OK |
static CommandResult |
OK_WITH_RESULT |
static CommandResult |
SERVER_BUSY |
static CommandResult |
SERVER_READY |
static int |
VALUE_FAILED_CLIENT
Indicates a problem on the client side
|
static int |
VALUE_FAILED_SERVER
Indicates a problem on the server side
|
static int |
VALUE_OK
Indicates that a step was successful
|
static int |
VALUE_OK_WITH_RESULT
Indicates that a step or command was successful and a result will follow this indicator
|
static int |
VALUE_SERVER_BUSY
Indicates that the server is currently busy with requests
|
static int |
VALUE_SERVER_READY
Indicates that the server is ready to serve the request
|
static int |
VALUE_WRONG_VERSION
Indicates that the client is using a wrong version
|
static CommandResult |
WRONG_VERSION |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString() |
int |
value() |
static CommandResult |
valueof(int result) |
public static final int VALUE_OK
public static final CommandResult OK
public static final int VALUE_FAILED_SERVER
public static final CommandResult FAILED_SERVER
public static final int VALUE_FAILED_CLIENT
public static final CommandResult FAILED_CLIENT
public static final int VALUE_OK_WITH_RESULT
public static final CommandResult OK_WITH_RESULT
public static final int VALUE_WRONG_VERSION
public static final CommandResult WRONG_VERSION
public static final int VALUE_SERVER_BUSY
public static final CommandResult SERVER_BUSY
public static final int VALUE_SERVER_READY
public static final CommandResult SERVER_READY
public int value()
public static CommandResult valueof(int result)
public java.lang.String toString()
toString
in class java.lang.Object