public class SerialPortFactory extends Object
| Constructor and Description |
|---|
SerialPortFactory() |
| Modifier and Type | Method and Description |
|---|---|
static List<String> |
getAvailablePorts()
Utility method to return the list of all serial ports.
|
static SerialPortInterface |
getNewSerialPort(String port)
Create an instance of SerialPortInterface implementation.
|
static SerialPortListener |
getNewSerialPortListener(ControlLabInterface controller)
Create an instance of SerialPortListener implementation.
|
public static SerialPortInterface getNewSerialPort(String port)
port - portpublic static SerialPortListener getNewSerialPortListener(ControlLabInterface controller)
controller - controllerCopyright © 2018. All rights reserved.