Package jmri.jmrix.purejavacomm
Class CommPortIdentifier
- java.lang.Object
-
- jmri.jmrix.purejavacomm.CommPortIdentifier
-
public class CommPortIdentifier extends java.lang.Object
Comm port identifier.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CommPortIdentifier
getPortIdentifier(java.lang.String portName)
SerialPort
open(java.lang.String appName, int timeout)
-
-
-
Method Detail
-
getPortIdentifier
public static CommPortIdentifier getPortIdentifier(java.lang.String portName) throws NoSuchPortException
- Throws:
NoSuchPortException
-
open
public SerialPort open(java.lang.String appName, int timeout) throws PortInUseException, NoSuchPortException
-
-