|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<DXEndpoint.State>
com.dxfeed.api.DXEndpoint.State
public static enum DXEndpoint.State
Represents the current state of endpoint.
DXEndpoint
Enum Constant Summary | |
---|---|
CLOSED
Endpoint was closed . |
|
CONNECTED
The connection to remote endpoint is established. |
|
CONNECTING
The connect method was called to establish connection to remove endpoint,
but connection is not actually established yet or was lost. |
|
NOT_CONNECTED
Endpoint was created by is not connected to remote endpoints. |
Method Summary | |
---|---|
static DXEndpoint.State |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static DXEndpoint.State[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final DXEndpoint.State NOT_CONNECTED
public static final DXEndpoint.State CONNECTING
connect
method was called to establish connection to remove endpoint,
but connection is not actually established yet or was lost.
public static final DXEndpoint.State CONNECTED
public static final DXEndpoint.State CLOSED
closed
.
Method Detail |
---|
public static DXEndpoint.State[] values()
for (DXEndpoint.State c : DXEndpoint.State.values()) System.out.println(c);
public static DXEndpoint.State valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |