Package org.ka2ddo.yaac.os
Interface OSAdapter.SerialPortListGetter
- Enclosing class:
- OSAdapter
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Interface to a class that can provide a list of available serial ports on the host computer.
- Author:
- Andrew Pavlin, KA2DDO
-
Method Summary
Modifier and TypeMethodDescriptionString[]
getSerialPortNames
(String currentDevName) Obtain the list of unused serial ports on this system.
-
Method Details
-
getSerialPortNames
Obtain the list of unused serial ports on this system.- Parameters:
currentDevName
- String of an already-busy device name to add to list, or null for no additional name- Returns:
- array String device names, or null if the system does not have access to serial ports
-