public interface FaxClientSpi extends FaxClientActions, ConfigurationHolder
Modifier and Type | Method and Description |
---|---|
void |
fireFaxMonitorEvent(FaxMonitorEvent.FaxMonitorEventID id,
FaxJob faxJob,
FaxJobStatus faxJobStatus)
This function fires a new fax monitor event.
|
FaxJobMonitor |
getFaxJobMonitor()
Returns the fax job monitor.
|
Logger |
getLogger()
Returns the internal logger.
|
void |
initialize(Map<String,String> configuration,
Logger logger,
FaxJobMonitor faxJobMonitor)
This function initializes the fax client SPI.
This method is called by the FaxClientSpiFactory. |
boolean |
isFaxMonitorEventsSupported()
This function returns true if the fax monitor events are supported by this SPI.
|
FaxJobStatus[] |
pollForFaxJobStatues(FaxJob[] faxJobs)
This function polls the new statues for the provided fax jobs.
|
addFaxClientActionEventListener, addFaxMonitorEventListener, cancelFaxJob, createFaxJob, getFaxJobStatus, removeAllFaxClientActionEventListeners, removeAllFaxMonitorEventListeners, removeFaxClientActionEventListener, removeFaxMonitorEventListener, resumeFaxJob, submitFaxJob, suspendFaxJob
getProvider
getConfiguration, getConfigurationValue, getConfigurationValue, getPropertyPart
void initialize(Map<String,String> configuration, Logger logger, FaxJobMonitor faxJobMonitor)
configuration
- The fax client configurationlogger
- The internal loggerfaxJobMonitor
- The fax job monitorLogger getLogger()
FaxJobMonitor getFaxJobMonitor()
boolean isFaxMonitorEventsSupported()
FaxJobStatus[] pollForFaxJobStatues(FaxJob[] faxJobs)
faxJobs
- The fax jobs to pollvoid fireFaxMonitorEvent(FaxMonitorEvent.FaxMonitorEventID id, FaxJob faxJob, FaxJobStatus faxJobStatus)
id
- The fax monitor event IDfaxJob
- The fax jobfaxJobStatus
- The fax job statusCopyright © 2009–2020 fax4j. All rights reserved.