activemq::concurrent::TaskListener Class Reference

#include <TaskListener.h>

Inheritance diagram for activemq::concurrent::TaskListener:

activemq::core::ActiveMQTransaction List of all members.

Public Member Functions

virtual ~TaskListener ()
virtual void onTaskComplete (Runnable *task)=0
virtual void onTaskException (Runnable *task, exceptions::ActiveMQException &ex)=0

Constructor & Destructor Documentation

virtual activemq::concurrent::TaskListener::~TaskListener  )  [inline, virtual]
 


Member Function Documentation

virtual void activemq::concurrent::TaskListener::onTaskComplete Runnable task  )  [pure virtual]
 

Called when a queued task has completed, the task that finished is passed along for user consumption

Parameters:
task Runnable Pointer to the task that finished

Implemented in activemq::core::ActiveMQTransaction.

virtual void activemq::concurrent::TaskListener::onTaskException Runnable task,
exceptions::ActiveMQException ex
[pure virtual]
 

Called when a queued task has thrown an exception while being run. The Callee should assume that this was an unrecoverable exeption and that this task is now defunct.

Parameters:
task Runnable Pointer to the task
ex The ActiveMQException that was thrown.

Implemented in activemq::core::ActiveMQTransaction.


The documentation for this class was generated from the following file:
Generated on Thu Aug 3 18:03:31 2006 for activemq-cpp by  doxygen 1.4.5