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