public enum FlowControl extends java.lang.Enum<FlowControl>
| Enum Constant and Description |
|---|
NONE
No flow control.
|
RTS_CTS
Hardware flow control on input and output (RTS/CTS).
|
XON_XOFF
Software flow control on input and output.
|
| Modifier and Type | Method and Description |
|---|---|
static FlowControl |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FlowControl[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FlowControl NONE
public static final FlowControl RTS_CTS
Sets RFR (ready for receiving) formally known as RTS and the CTS (clear to send) flag.
public static final FlowControl XON_XOFF
public static FlowControl[] values()
for (FlowControl c : FlowControl.values()) System.out.println(c);
public static FlowControl 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