qpid::cluster::Dispatchable Class Reference

Interface for classes that have some "events" that need dispatching in a thread. More...

#include <Dispatchable.h>

List of all members.

Public Member Functions

virtual void dispatchOne ()=0
 Dispatch one event in current thread.
virtual void dispatchAll ()=0
 Dispatch all available events, don't block.
virtual void dispatchBlocking ()=0
 Blocking loop to dispatch cluster events.
virtual void dispatchSome ()
 Wait for at least one event, then dispatch all available events.


Detailed Description

Interface for classes that have some "events" that need dispatching in a thread.

Definition at line 29 of file Dispatchable.h.


Member Function Documentation

virtual void qpid::cluster::Dispatchable::dispatchOne (  )  [pure virtual]

Dispatch one event in current thread.

Referenced by dispatchSome().

virtual void qpid::cluster::Dispatchable::dispatchAll (  )  [pure virtual]

Dispatch all available events, don't block.

Referenced by dispatchSome().

virtual void qpid::cluster::Dispatchable::dispatchSome (  )  [inline, virtual]

Wait for at least one event, then dispatch all available events.

Don't block. Useful for tests.

Definition at line 44 of file Dispatchable.h.

References dispatchAll(), and dispatchOne().


The documentation for this class was generated from the following file:

Generated on Thu Oct 16 13:38:28 2008 for Qpid by  doxygen 1.5.6