static enum Pipe.State extends java.lang.Enum<Pipe.State>
Enum Constant and Description |
---|
ACTIVE |
DELIMITER_RECEIVED |
TERM_ACK_SENT |
TERM_REQ_SENT_1 |
TERM_REQ_SENT_2 |
WAITING_FOR_DELIMITER |
Modifier and Type | Method and Description |
---|---|
static Pipe.State |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Pipe.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Pipe.State ACTIVE
public static final Pipe.State DELIMITER_RECEIVED
public static final Pipe.State WAITING_FOR_DELIMITER
public static final Pipe.State TERM_ACK_SENT
public static final Pipe.State TERM_REQ_SENT_1
public static final Pipe.State TERM_REQ_SENT_2
public static Pipe.State[] values()
for (Pipe.State c : Pipe.State.values()) System.out.println(c);
public static Pipe.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 null