| Enum Constant and Description |
|---|
_INVALID |
EXTRA_TEST2
(Extra test for future use)
|
EXTRA_TEST3
(Extra test for future use)
|
EXTRA_TEST4
(Extra test for future use)
|
EXTRA_TEST5
(Extra test for future use)
|
FORCE_DISCONNECT_FEEDS
(Disconnect the API server from all its feed connections (for
testing).
|
FORCE_LOCAL_DISCONNECT
Force a hard socket close/disconnection from the api side.
|
FORCE_REMOTE_DISCONNECT
Force a hard socket close/disconnection from the remote side.
|
INVOKE_EVENT_REPORT
No longer supported.
|
NONE
No test, default value.
|
TEST_FULL_BUFFER
For internal use only: write too much data for the socket
buffer on the server side, to test disconnection on
slow consumers.
|
| Modifier and Type | Field and Description |
|---|---|
byte |
val |
| Modifier and Type | Method and Description |
|---|---|
byte |
get() |
static APITest |
get(byte value) |
static java.util.Collection<APITest> |
validValues() |
static APITest |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static APITest[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final APITest NONE
public static final APITest INVOKE_EVENT_REPORT
public static final APITest FORCE_LOCAL_DISCONNECT
public static final APITest FORCE_REMOTE_DISCONNECT
public static final APITest TEST_FULL_BUFFER
public static final APITest FORCE_DISCONNECT_FEEDS
public static final APITest EXTRA_TEST2
public static final APITest EXTRA_TEST3
public static final APITest EXTRA_TEST4
public static final APITest EXTRA_TEST5
public static final APITest _INVALID
public static APITest[] values()
for (APITest c : APITest.values()) System.out.println(c);
public static APITest 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 APITest get(byte value)
public static java.util.Collection<APITest> validValues()