| 程序包 | 说明 |
|---|---|
| com.swak.rxtx.utils | |
| gnu.io | |
| gnu.io.factory |
| 限定符和类型 | 方法和说明 |
|---|---|
static SerialPort |
SerialUtils.connect(String portName,
int baudRate)
connect SerialPort
|
static SerialPort |
SerialUtils.connect(String portName,
int baudRate,
int dataBits,
int stopBits,
int parity)
connect SerialPort
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
RXTXPort
An extension of gnu.io.SerialPort
|
| 构造器和说明 |
|---|
SerialPortEvent(SerialPort srcport,
int eventtype,
boolean oldvalue,
boolean newvalue) |
| 限定符和类型 | 接口和说明 |
|---|---|
interface |
SerialPortCreator<T extends SerialPort> |
| 限定符和类型 | 方法和说明 |
|---|---|
<T extends SerialPort> |
DefaultSerialPortFactory.createSerialPort(String portName,
Class<T> expectedClass) |
<T extends SerialPort> |
SerialPortFactory.createSerialPort(String portName,
Class<T> expectedClass)
Creates a
SerialPort instance out of the given portName. |
<T extends SerialPort> |
SerialPortRegistry.getPortCreatorForPortName(String portName,
Class<T> expectedClass)
Gets the best applicable
SerialPortCreator for the given portName |
| 限定符和类型 | 方法和说明 |
|---|---|
SerialPort |
DefaultSerialPortFactory.createSerialPort(String portName) |
SerialPort |
SerialPortFactory.createSerialPort(String portName)
Creates a
SerialPort instance out of the given portName. |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
SerialPortRegistry.registerSerialPortCreator(SerialPortCreator<? extends SerialPort> creator)
Registers a
SerialPortCreator. |
Copyright © 2020. All rights reserved.