Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

TAO_Transport_Timer Class Reference

Allows TAO_Transport instances to receive timeout notifications from the Reactor. In other words, implements the Adapter Role, of the Adapter Pattern, where the Adaptee is a TAO_Transport and the client is the Reactor. More...

#include <Transport_Timer.h>

Inheritance diagram for TAO_Transport_Timer:

Inheritance graph
[legend]
Collaboration diagram for TAO_Transport_Timer:

Collaboration graph
[legend]
List of all members.

Public Methods

 TAO_Transport_Timer (TAO_Transport *transport)
 Constructor. More...

virtual int handle_timeout (const ACE_Time_Value &current_time, const void *act)
 Receive timeout events from the Reactor and forward them to the TAO_Transport. More...


Private Attributes

TAO_Transporttransport_
 The Adaptee. More...


Detailed Description

Allows TAO_Transport instances to receive timeout notifications from the Reactor. In other words, implements the Adapter Role, of the Adapter Pattern, where the Adaptee is a TAO_Transport and the client is the Reactor.

Definition at line 35 of file Transport_Timer.h.


Constructor & Destructor Documentation

TAO_Transport_Timer::TAO_Transport_Timer TAO_Transport   transport
 

Constructor.

Parameters:
transport  The adaptee

Definition at line 10 of file Transport_Timer.cpp.

00011   : transport_ (transport)
00012 {
00013 }


Member Function Documentation

int TAO_Transport_Timer::handle_timeout const ACE_Time_Value   current_time,
const void *    act
[virtual]
 

Receive timeout events from the Reactor and forward them to the TAO_Transport.

Reimplemented from ACE_Event_Handler.

Definition at line 16 of file Transport_Timer.cpp.

References TAO_Transport::handle_timeout, and transport_.

00018 {
00019   return this->transport_->handle_timeout (current_time, act);
00020 }


Member Data Documentation

TAO_Transport* TAO_Transport_Timer::transport_ [private]
 

The Adaptee.

Definition at line 50 of file Transport_Timer.h.

Referenced by handle_timeout.


The documentation for this class was generated from the following files:
Generated on Mon Jun 16 15:45:08 2003 for TAO by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002