public abstract class AbstractCommPortConnectionFactory extends AbstractFax4JConnectionFactory<CommPortAdapter> implements CommPortConnectionFactory
factoryConfigurationHolder, LOGGER
Constructor and Description |
---|
AbstractCommPortConnectionFactory()
This is the class constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getPortName()
This function returns the port name.
|
int |
getTimeOut()
This function returns the timeout.
|
protected void |
initializeImpl()
This function initializes the connection factory.
|
protected void |
releaseResourceImpl(CommPortAdapter resource)
Releases the resource from the connection.
|
getProvider
createConnection, createConnectionForResource, createResourceImpl, initialize, releaseConnection, releaseResource
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createConnection, initialize, releaseConnection
getProvider
public AbstractCommPortConnectionFactory()
protected void initializeImpl()
initializeImpl
in class AbstractConnectionFactory<CommPortAdapter>
protected void releaseResourceImpl(CommPortAdapter resource)
releaseResourceImpl
in class AbstractConnectionFactory<CommPortAdapter>
resource
- The resourcepublic final String getPortName()
public final int getTimeOut()
Copyright © 2009–2020 fax4j. All rights reserved.