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.

@FunctionalInterface public static interface OSAdapter.SerialPortListGetter
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 Type
    Method
    Description
    getSerialPortNames(String currentDevName)
    Obtain the list of unused serial ports on this system.
  • Method Details

    • getSerialPortNames

      String[] getSerialPortNames(String currentDevName)
      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