public static enum IChannelState.ConnectionState extends java.lang.Enum<IChannelState.ConnectionState>
Enum Constant and Description |
---|
CONNECTED |
CONNECTION_FAILED |
DISCONNECTED |
NOT_CONNECTED |
TRYING_TO_CONNECT |
Modifier and Type | Method and Description |
---|---|
static IChannelState.ConnectionState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static IChannelState.ConnectionState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IChannelState.ConnectionState NOT_CONNECTED
public static final IChannelState.ConnectionState TRYING_TO_CONNECT
public static final IChannelState.ConnectionState CONNECTED
public static final IChannelState.ConnectionState DISCONNECTED
public static final IChannelState.ConnectionState CONNECTION_FAILED
public static IChannelState.ConnectionState[] values()
for (IChannelState.ConnectionState c : IChannelState.ConnectionState.values()) System.out.println(c);
public static IChannelState.ConnectionState 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