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 Member Functions

 TAO_Transport_Timer (TAO_Transport *transport)
 Constructor.
virtual int handle_timeout (const ACE_Time_Value &current_time, const void *act)

Private Attributes

TAO_Transporttransport_
 The Adaptee.

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 39 of file Transport_Timer.h.


Constructor & Destructor Documentation

TAO_BEGIN_VERSIONED_NAMESPACE_DECL TAO_Transport_Timer::TAO_Transport_Timer ( TAO_Transport transport  ) 

Constructor.

Parameters:
transport The adaptee

Definition at line 12 of file Transport_Timer.cpp.

00013   : transport_ (transport)
00014 {
00015 }


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 18 of file Transport_Timer.cpp.

References TAO_Transport::handle_timeout(), and transport_.

00020 {
00021   return this->transport_->handle_timeout (current_time, act);
00022 }


Member Data Documentation

TAO_Transport* TAO_Transport_Timer::transport_ [private]

The Adaptee.

Definition at line 54 of file Transport_Timer.h.

Referenced by handle_timeout().


The documentation for this class was generated from the following files:
Generated on Tue Feb 2 17:39:49 2010 for TAO by  doxygen 1.4.7