| Enum Constant and Description |
|---|
_INVALID |
ADMIN_HANDLER_FAULT
Admin users must use the api's admin handler, normal users
must not.
|
BUFFER_FULL
Incoming or outgoing buffers full.
|
COULD_NOT_CONNECT
Connection failed, server down or invalid host/port.
|
COULD_NOT_LOGIN
Other error attempting to log in.
|
COULD_NOT_OPEN
File could not be opened.
|
DUPLICATE_CLIENT_ORDERID
Another order with the smae client ID is current.
|
EXCEPTION_THROWN
An exception was raised within a handler function.
|
INCOMPATIBLE_PROTOCOL
The server protocol version is incompatible with this client's
protocol version.
|
INVALID_BATCHID
The batch definition ID provided is invalid.
|
INVALID_CLIENT_ORDERID
The client ID provided is invalid.
|
INVALID_FEED
The feed ID provided is invalid.
|
INVALID_MARKET
The feed ID provided is invalid.
|
INVALID_MARKETDATA_FEED
The feed does not support market data.
|
INVALID_ORDERID
The order ID provided is invalid.
|
INVALID_PARAMETER
A provided parameter was invalid.
|
INVALID_PASSWORD
The supplied password is invalid for the given username.
|
INVALID_TRADING_FEED
The feed does not support trading.
|
INVALID_USER
The supplied username is invalid.
|
IS_CONNECTED
The client is already connected.
|
IS_RUNNING
The dispatcher is already running; only one thread may
dispatch on a client instance.
|
IS_STOPPING
The dispatcher is stopping; no more outgoing messages allowed.
|
NOT_APPLICABLE
Null.
|
NOT_CONNECTED
The dispatcher is not connected.
|
NOT_IMPLEMENTED
The feature is not implemented.
|
NOT_RUNNING
The dispatcher is not running.
|
OK
Success; no error.
|
PROTOCOL_ERROR
An error occurred while decoding/encoding the network
protocol.
|
SOCKERR_CLOSED
Connection closed unexpectedly.
|
SOCKERR_CONNECT
Error connecting to the remote port.
|
SOCKERR_CREATE
Error creating communication socket.
|
SOCKERR_DNS
Error resolving the remote address for connection.
|
SOCKERR_READING
Error reading from the remote socket.
|
SOCKERR_WRITING
Error writing to the remote socket.
|
SYSTEM_LOCKED
Server is locked.
|
TIMEOUT
Keepalive messages timed out, connection probably stale.
|
USER_ALREADY_CONNECTED
The supplied username is already connected to the server via
another client.
|
USER_LOCKED
User is prohibited from logging in.
|
| Modifier and Type | Field and Description |
|---|---|
byte |
val |
| Modifier and Type | Method and Description |
|---|---|
byte |
get() |
static APIResult |
get(byte value) |
static java.util.Collection<APIResult> |
validValues() |
static APIResult |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static APIResult[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final APIResult OK
public static final APIResult COULD_NOT_CONNECT
public static final APIResult TIMEOUT
public static final APIResult BUFFER_FULL
public static final APIResult COULD_NOT_OPEN
public static final APIResult SOCKERR_DNS
public static final APIResult SOCKERR_CREATE
public static final APIResult SOCKERR_CONNECT
public static final APIResult SOCKERR_CLOSED
public static final APIResult SOCKERR_READING
public static final APIResult SOCKERR_WRITING
public static final APIResult NOT_CONNECTED
public static final APIResult NOT_RUNNING
public static final APIResult IS_CONNECTED
public static final APIResult IS_RUNNING
public static final APIResult IS_STOPPING
public static final APIResult EXCEPTION_THROWN
public static final APIResult PROTOCOL_ERROR
public static final APIResult INCOMPATIBLE_PROTOCOL
public static final APIResult INVALID_USER
public static final APIResult INVALID_PASSWORD
public static final APIResult USER_ALREADY_CONNECTED
public static final APIResult COULD_NOT_LOGIN
public static final APIResult INVALID_FEED
public static final APIResult INVALID_MARKET
public static final APIResult INVALID_ORDERID
public static final APIResult INVALID_BATCHID
public static final APIResult INVALID_CLIENT_ORDERID
public static final APIResult DUPLICATE_CLIENT_ORDERID
public static final APIResult INVALID_MARKETDATA_FEED
public static final APIResult INVALID_TRADING_FEED
public static final APIResult USER_LOCKED
public static final APIResult SYSTEM_LOCKED
public static final APIResult ADMIN_HANDLER_FAULT
public static final APIResult INVALID_PARAMETER
public static final APIResult NOT_IMPLEMENTED
public static final APIResult NOT_APPLICABLE
public static final APIResult _INVALID
public static APIResult[] values()
for (APIResult c : APIResult.values()) System.out.println(c);
public static APIResult 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 nullpublic byte get()
public static APIResult get(byte value)
public static java.util.Collection<APIResult> validValues()