TAO_EC_ConsumerControl_Adapter Class Reference

Forwards timeout events to the Reactive ConsumerControl. More...

#include <EC_Reactive_ConsumerControl.h>

Inheritance diagram for TAO_EC_ConsumerControl_Adapter:

Inheritance graph
[legend]
Collaboration diagram for TAO_EC_ConsumerControl_Adapter:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 TAO_EC_ConsumerControl_Adapter (TAO_EC_Reactive_ConsumerControl *adaptee)
 Constructor.

virtual int handle_timeout (const ACE_Time_Value &tv, const void *arg=0)

Private Attributes

TAO_EC_Reactive_ConsumerControladaptee_
 The adapted object.


Detailed Description

Forwards timeout events to the Reactive ConsumerControl.

The Reactive ConsumerControl strategy uses the reactor to periodically wakeup and verify the state of the consumers registered with the Event Channel.

Definition at line 48 of file EC_Reactive_ConsumerControl.h.


Constructor & Destructor Documentation

TAO_EC_ConsumerControl_Adapter::TAO_EC_ConsumerControl_Adapter TAO_EC_Reactive_ConsumerControl adaptee  ) 
 

Constructor.

Definition at line 222 of file EC_Reactive_ConsumerControl.cpp.

00224   :  adaptee_ (adaptee)
00225 {
00226 }


Member Function Documentation

int TAO_EC_ConsumerControl_Adapter::handle_timeout const ACE_Time_Value tv,
const void *  arg = 0
[virtual]
 

Reimplemented from ACE_Event_Handler.

Definition at line 229 of file EC_Reactive_ConsumerControl.cpp.

References TAO_EC_Reactive_ConsumerControl::handle_timeout().

00232 {
00233   this->adaptee_->handle_timeout (tv, arg);
00234   return 0;
00235 }


Member Data Documentation

TAO_EC_Reactive_ConsumerControl* TAO_EC_ConsumerControl_Adapter::adaptee_ [private]
 

The adapted object.

Definition at line 60 of file EC_Reactive_ConsumerControl.h.


The documentation for this class was generated from the following files:
Generated on Thu Nov 9 13:14:30 2006 for TAO_RTEvent by doxygen 1.3.6