public static enum SerialCommConfig.FlowControlMode extends java.lang.Enum<SerialCommConfig.FlowControlMode>
Enum Constant and Description |
---|
DSR_DTR
Deprecated.
|
NONE
No flow control
|
RTS_CTS
Hardware flow control RTS/CTS
|
XON_XOFF
Software flow control
|
Modifier and Type | Method and Description |
---|---|
static SerialCommConfig.FlowControlMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SerialCommConfig.FlowControlMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SerialCommConfig.FlowControlMode NONE
public static final SerialCommConfig.FlowControlMode RTS_CTS
@Deprecated public static final SerialCommConfig.FlowControlMode DSR_DTR
public static final SerialCommConfig.FlowControlMode XON_XOFF
public static SerialCommConfig.FlowControlMode[] values()
for (SerialCommConfig.FlowControlMode c : SerialCommConfig.FlowControlMode.values()) System.out.println(c);
public static SerialCommConfig.FlowControlMode 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