public static enum DataStream.Status extends Enum<DataStream.Status>
Enum Constant and Description |
---|
CLOSED
Channel closed
|
OPEN
Channel connected
|
PENDING
Channel not ready
|
Modifier and Type | Method and Description |
---|---|
static DataStream.Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DataStream.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DataStream.Status PENDING
public static final DataStream.Status OPEN
public static final DataStream.Status CLOSED
public static DataStream.Status[] values()
for (DataStream.Status c : DataStream.Status.values()) System.out.println(c);
public static DataStream.Status 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 © 2015. All rights reserved.