public enum TransportState extends java.lang.Enum<TransportState>
| Enum Constant and Description |
|---|
CONNECTED |
CONNECTING |
CREATED |
DISCONNECTED |
DISCONNECTING |
| Modifier and Type | Method and Description |
|---|---|
static TransportState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TransportState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TransportState CREATED
public static final TransportState CONNECTING
public static final TransportState CONNECTED
public static final TransportState DISCONNECTING
public static final TransportState DISCONNECTED
public static TransportState[] values()
for (TransportState c : TransportState.values()) System.out.println(c);
public static TransportState 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 nullCopyright © 2013 FuseSource, Corp.. All Rights Reserved.