public static enum JChannel.State extends Enum<JChannel.State>
Enum Constant and Description |
---|
CLOSED |
CONNECTED |
CONNECTING |
OPEN |
Modifier and Type | Method and Description |
---|---|
static JChannel.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JChannel.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JChannel.State OPEN
public static final JChannel.State CONNECTING
public static final JChannel.State CONNECTED
public static final JChannel.State CLOSED
public static JChannel.State[] values()
for (JChannel.State c : JChannel.State.values()) System.out.println(c);
public static JChannel.State 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 © 2018 JBoss, a division of Red Hat. All rights reserved.