public interface FaxJobMonitor
Modifier and Type | Method and Description |
---|---|
void |
initialize(Map<String,String> configuration,
Logger logger)
This function initializes the fax job monitor.
This method is called by the FaxClientSpiFactory. |
void |
monitorFaxJob(FaxClientSpi faxClientSpi,
FaxJob faxJob)
This function starts monitoring the requested fax job.
|
void |
stopMonitoringAllFaxJobs(FaxClientSpi faxClientSpi)
This function will stop the monitoring of all fax jobs registered by the provided fax client SPI.
Other fax jobs registered by other SPIs will keep on being monitored. |
void initialize(Map<String,String> configuration, Logger logger)
configuration
- The fax job monitor configurationlogger
- The internal loggervoid monitorFaxJob(FaxClientSpi faxClientSpi, FaxJob faxJob)
faxClientSpi
- The fax client SPIfaxJob
- The fax job to monitorvoid stopMonitoringAllFaxJobs(FaxClientSpi faxClientSpi)
faxClientSpi
- The fax client SPICopyright © 2009–2020 fax4j. All rights reserved.