| Enum Constant and Description |
|---|
Both |
BothActive |
None |
Receive |
ReceiveActive |
Send |
SendActive |
| Modifier and Type | Field and Description |
|---|---|
boolean |
active |
boolean |
canReceive |
boolean |
canSend |
| Modifier and Type | Method and Description |
|---|---|
static IOMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static IOMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IOMode Both
public static final IOMode BothActive
public static final IOMode Receive
public static final IOMode ReceiveActive
public static final IOMode Send
public static final IOMode SendActive
public static final IOMode None
public final boolean canReceive
public final boolean canSend
public final boolean active
public static IOMode[] values()
for (IOMode c : IOMode.values()) System.out.println(c);
public static IOMode 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