qpid::cluster::Dispatchable Class Reference

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

#include <Dispatchable.h>

Inheritance diagram for qpid::cluster::Dispatchable:

Inheritance graph
[legend]

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.

Member Function Documentation

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

Dispatch one event in current thread.

Implemented in qpid::cluster::Cpg.

Referenced by dispatchSome().

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

Dispatch all available events, don't block.

Implemented in qpid::cluster::Cpg.

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.

References dispatchAll(), and dispatchOne().


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

Generated on Thu May 15 22:24:21 2008 for Qpid by  doxygen 1.5.5