public abstract class AbstractFaxModemAdapter extends Object implements FaxModemAdapter
Constructor and Description |
---|
AbstractFaxModemAdapter()
This is the class constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
initialize(FaxClientSpi faxClientSpi)
This function initializes the fax modem adapter.
|
protected abstract void |
initializeImpl(FaxClientSpi faxClientSpi)
This function initializes the fax modem adapter.
|
void |
submitFaxJob(FaxJob faxJob,
CommPortAdapter adapter)
This function will submit a new fax job.
The fax job ID may be populated by this method in the provided fax job object. |
protected abstract void |
submitFaxJobImpl(FaxJob faxJob,
CommPortAdapter adapter)
This function will submit a new fax job.
The fax job ID may be populated by this method in the provided fax job object. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getProvider
public AbstractFaxModemAdapter()
public void initialize(FaxClientSpi faxClientSpi)
initialize
in interface FaxModemAdapter
faxClientSpi
- The fax client SPIpublic void submitFaxJob(FaxJob faxJob, CommPortAdapter adapter)
submitFaxJob
in interface FaxModemAdapter
faxJob
- The fax job object containing the needed informationadapter
- The COMM port adapterprotected abstract void initializeImpl(FaxClientSpi faxClientSpi)
faxClientSpi
- The fax client SPIprotected abstract void submitFaxJobImpl(FaxJob faxJob, CommPortAdapter adapter)
faxJob
- The fax job object containing the needed informationadapter
- The COMM port adapterCopyright © 2009–2020 fax4j. All rights reserved.