qpid::cluster::PollableCondition Class Reference

A pollable condition to integrate in-process conditions with IO conditions in a polling loop. More...

#include <PollableCondition.h>

Inherits qpid::sys::IOHandle.

List of all members.

Public Member Functions

void set ()
 Set the condition, triggers readable in a poller.
bool clear ()
 Get the current state of the condition, then clear it.


Detailed Description

A pollable condition to integrate in-process conditions with IO conditions in a polling loop.

Setting the condition makes it readable for a poller.

Writable/disconnected conditions are undefined and should not be polled for.

Definition at line 43 of file PollableCondition.h.


Member Function Documentation

void qpid::cluster::PollableCondition::set (  ) 

Set the condition, triggers readable in a poller.

Referenced by qpid::cluster::PollableQueue< std::pair< framing::AMQFrame, ConnectionId > >::push().

bool qpid::cluster::PollableCondition::clear (  ) 

Get the current state of the condition, then clear it.

Returns:
The state of the condition before it was cleared.


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

Generated on Fri Sep 5 00:23:52 2008 for Qpid by  doxygen 1.5.6