public static enum ConnectionEvent.State extends java.lang.Enum<ConnectionEvent.State>
| Enum Constant and Description |
|---|
BOUND
The bound.
|
ERROR_STOPPED
The error stopped.
|
ERROR_UNBOUND
The error unbound.
|
STARTED
The started.
|
STOPPED
The stopped.
|
UNBOUND
The unbound.
|
| Modifier and Type | Method and Description |
|---|---|
static ConnectionEvent.State |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ConnectionEvent.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConnectionEvent.State STARTED
public static final ConnectionEvent.State STOPPED
public static final ConnectionEvent.State BOUND
public static final ConnectionEvent.State UNBOUND
public static final ConnectionEvent.State ERROR_STOPPED
public static final ConnectionEvent.State ERROR_UNBOUND
public static ConnectionEvent.State[] values()
for (ConnectionEvent.State c : ConnectionEvent.State.values()) System.out.println(c);
public static ConnectionEvent.State 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 null