public static enum Ascii.FlowCtrl extends Enum<Ascii.FlowCtrl>
| Enum Constant and Description |
|---|
DTR
DTR/DSR flow control (ignored for serial port)
|
DTR_XON
DTR/DSR and XON/XOFF flow control
|
NONE
No flow control
|
RTS
RTS/CTS flow control
|
RTS_DTR
RTS/CTS and DTR/DSR flow control
|
RTS_DTR_XON
RTS/CTS, DTR/DSR and XON/XOFF flow control
|
RTS_XON
RTS/CTS and XON/XOFF flow control
|
XON
XON/XOFF flow control
|
| Modifier and Type | Method and Description |
|---|---|
int |
getValue() |
static Ascii.FlowCtrl |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Ascii.FlowCtrl[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Ascii.FlowCtrl NONE
public static final Ascii.FlowCtrl RTS
public static final Ascii.FlowCtrl DTR
public static final Ascii.FlowCtrl XON
public static final Ascii.FlowCtrl RTS_DTR
public static final Ascii.FlowCtrl RTS_XON
public static final Ascii.FlowCtrl DTR_XON
public static final Ascii.FlowCtrl RTS_DTR_XON
public static Ascii.FlowCtrl[] values()
for (Ascii.FlowCtrl c : Ascii.FlowCtrl.values()) System.out.println(c);
public static Ascii.FlowCtrl 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 © 2014 LSST. All rights reserved.