protected static enum NioConnection.State extends java.lang.Enum<NioConnection.State>
| Enum Constant and Description |
|---|
done |
reading |
waiting_to_terminate |
| Modifier and Type | Method and Description |
|---|---|
static NioConnection.State |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NioConnection.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NioConnection.State reading
public static final NioConnection.State waiting_to_terminate
public static final NioConnection.State done
public static NioConnection.State[] values()
for (NioConnection.State c : NioConnection.State.values()) System.out.println(c);
public static NioConnection.State 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 © 1998-2020 Red Hat. All Rights Reserved.