OpenMAMA C++ API
Wombat::MamaQueueEventCallback Class Referenceabstract

Definition of the callback method for when a user added event fires. More...

#include <MamaQueueEventCallback.h>

Public Member Functions

virtual ~MamaQueueEventCallback ()
 
virtual void onEvent (MamaQueue &queue, void *closure)=0
 Invoked when a user event, added by MamaQueue.enqueueEvent() fires. More...
 

Detailed Description

Definition of the callback method for when a user added event fires.

Concrete instances of this interface are registered with an event queue using the MamaQueue.enqueueEvent(). Currently only support by Wombat Middleware.

Constructor & Destructor Documentation

§ ~MamaQueueEventCallback()

virtual Wombat::MamaQueueEventCallback::~MamaQueueEventCallback ( )
inlinevirtual

Member Function Documentation

§ onEvent()

virtual void Wombat::MamaQueueEventCallback::onEvent ( MamaQueue queue,
void *  closure 
)
pure virtual

Invoked when a user event, added by MamaQueue.enqueueEvent() fires.

Parameters
queueThe MamaQueue on which the event was enqueued.
closureThe user specified data associated with this event.