public enum TransportState extends Enum<TransportState>
Enum Constant and Description |
---|
CONNECTED |
CONNECTING |
CREATED |
DISCONNECTED |
DISCONNECTING |
Modifier and Type | Method and Description |
---|---|
static TransportState |
valueOf(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(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 © 2016 The Apache Software Foundation. All rights reserved.