public static enum SerialAddress.FlowControl extends Enum<SerialAddress.FlowControl>
Enum Constant and Description |
---|
NONE
No flow control
|
RTSCTS_IN
RTS/CTS IN flow control
|
RTSCTS_IN_OUT
RTS/CTS IN/OUT flow control
|
RTSCTS_OUT
RTS/CTS OUT flow control
|
XONXOFF_IN
XON/XOFF IN flow control
|
XONXOFF_IN_OUT
XON/XOFF IN/OUT flow control
|
XONXOFF_OUT
XON/XOFF OUT flow control
|
Modifier and Type | Method and Description |
---|---|
static SerialAddress.FlowControl |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SerialAddress.FlowControl[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SerialAddress.FlowControl NONE
public static final SerialAddress.FlowControl RTSCTS_IN
public static final SerialAddress.FlowControl RTSCTS_OUT
public static final SerialAddress.FlowControl RTSCTS_IN_OUT
public static final SerialAddress.FlowControl XONXOFF_IN
public static final SerialAddress.FlowControl XONXOFF_OUT
public static final SerialAddress.FlowControl XONXOFF_IN_OUT
public static SerialAddress.FlowControl[] values()
for (SerialAddress.FlowControl c : SerialAddress.FlowControl.values()) System.out.println(c);
public static SerialAddress.FlowControl 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 © 2004–2018 Apache MINA Project. All rights reserved.