public static enum DXEndpoint.State extends Enum<DXEndpoint.State>
DXEndpoint
Enum Constant and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
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
.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 nameNullPointerException
- if the argument is nullCopyright © 2002–2023 Devexperts LLC. All rights reserved.