public class RXTXCommPortConnectionFactory extends AbstractCommPortConnectionFactory
factoryConfigurationHolder, LOGGER
Constructor and Description |
---|
RXTXCommPortConnectionFactory()
This is the class constructor.
|
Modifier and Type | Method and Description |
---|---|
protected CommPortAdapter |
createResourceImpl()
Creates and returns the resource.
|
protected gnu.io.CommPortIdentifier |
getPortIdentifier(String portName)
This function returns the COMM port identifier object.
|
getPortName, getTimeOut, initializeImpl, releaseResourceImpl
getProvider
createConnection, createConnectionForResource, initialize, releaseConnection, releaseResource
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createConnection, initialize, releaseConnection
getProvider
public RXTXCommPortConnectionFactory()
protected gnu.io.CommPortIdentifier getPortIdentifier(String portName) throws gnu.io.NoSuchPortException
portName
- The port namegnu.io.NoSuchPortException
- In case no such port existsprotected CommPortAdapter createResourceImpl()
createResourceImpl
in class AbstractConnectionFactory<CommPortAdapter>
Copyright © 2009–2020 fax4j. All rights reserved.