public static enum SerialComManager.FLOWCONTROL extends Enum<SerialComManager.FLOWCONTROL>
Pre-defined enum constants for controlling data flow between DTE and DCE.
| Enum Constant and Description |
|---|
HARDWARE
Operating system (or driver) will assert or de-assert RTS/DTR lines as per the amount of
data in buffers.
|
NONE
No flow control.
|
SOFTWARE
Operating system (or driver) will send XON or XOFF characters as per the amount of data
in buffers.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getValue() |
static SerialComManager.FLOWCONTROL |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SerialComManager.FLOWCONTROL[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SerialComManager.FLOWCONTROL NONE
No flow control. Application is responsible to manage data buffers. Application can use RTS/CTS or DTR/DSR signals explicitly.
public static final SerialComManager.FLOWCONTROL HARDWARE
Operating system (or driver) will assert or de-assert RTS/DTR lines as per the amount of data in buffers.
public static final SerialComManager.FLOWCONTROL SOFTWARE
Operating system (or driver) will send XON or XOFF characters as per the amount of data in buffers. Upon reception of XOFF system will stop transmitting data.
public static SerialComManager.FLOWCONTROL[] values()
for (SerialComManager.FLOWCONTROL c : SerialComManager.FLOWCONTROL.values()) System.out.println(c);
public static SerialComManager.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 nullpublic int getValue()
Copyright © 2016. All rights reserved.