| java.lang.Object org.apache.synapse.transport.base.AbstractTransportListener org.apache.synapse.transport.base.AbstractPollingTransportListener
All known Subclasses: org.apache.synapse.transport.mail.MailTransportListener, org.apache.synapse.transport.vfs.VFSTransportListener,
DEFAULT_POLL_INTERVAL | final public static int DEFAULT_POLL_INTERVAL(Code) | | the default poll interval
|
TRANSPORT_POLL_INTERVAL | final public static String TRANSPORT_POLL_INTERVAL(Code) | | the parameter in the services.xml that specifies the poll interval for a service
|
pollInProgress | protected boolean pollInProgress(Code) | | is a poll already executing?
|
pollInterval | protected int pollInterval(Code) | | default interval in ms before polls
|
pollLock | final protected Object pollLock(Code) | | a lock to prevent concurrent execution of polling
|
serviceToTimerTaskMap | protected Map serviceToTimerTaskMap(Code) | | a map that keeps track of services to the timer tasks created for them
|
timer | final protected Timer timer(Code) | | The main timer that runs as a daemon thread
|
cancelPoll | public void cancelPoll(AxisService service)(Code) | | Cancel any pending timer tasks for the given service
Parameters: service - the service for which the timer task should be cancelled |
getPollInterval | public int getPollInterval()(Code) | | |
onPoll | public void onPoll()(Code) | | |
schedulePoll | public void schedulePoll(AxisService service, long pollInterval)(Code) | | Schedule a repeated poll at the specified interval for the given service
Parameters: service - the service to be polled Parameters: pollInterval - the interval between successive polls in seconds |
setPollInterval | public void setPollInterval(int pollInterval)(Code) | | |
startListeningForService | protected void startListeningForService(AxisService service)(Code) | | |
stopListeningForService | protected void stopListeningForService(AxisService service)(Code) | | |
|
|