org.jacorb.notification.engine
Interface TaskProcessor

All Known Implementing Classes:
DefaultTaskProcessor

public interface TaskProcessor

Author:
Alphonse Bendt

Method Summary
 ScheduledFuture executeTaskAfterDelay(long delay, Runnable task)
           
 ScheduledFuture executeTaskPeriodically(long intervall, Runnable task, boolean startImmediately)
           
 TaskFactory getTaskFactory()
           
 void processMessage(Message mesg)
          process a Message.
 void scheduleTimedPullTask(MessageSupplier dest)
          Schedule ProxyPullConsumer for pull-Operation.
 

Method Detail

getTaskFactory

TaskFactory getTaskFactory()

processMessage

void processMessage(Message mesg)
process a Message. the various settings for the Message (timeout, starttime, stoptime) are checked and applied.


scheduleTimedPullTask

void scheduleTimedPullTask(MessageSupplier dest)
Schedule ProxyPullConsumer for pull-Operation. If a Supplier connects to a ProxyPullConsumer the ProxyPullConsumer needs to regularely poll the Supplier. This method queues a Task to run runPullEvent on the specified TimerEventSupplier


executeTaskPeriodically

ScheduledFuture executeTaskPeriodically(long intervall,
                                        Runnable task,
                                        boolean startImmediately)

executeTaskAfterDelay

ScheduledFuture executeTaskAfterDelay(long delay,
                                      Runnable task)


Copyright © 2015 JacORB. All rights reserved.