Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

ACE_RMCast_Resend_Handler Class Reference

Implement an adapter to resend messages in the ACE_RMCast_Retransmission layer, but based on Reactor based timeouts. More...

#include <RMCast_Resend_Handler.h>

Inheritance diagram for ACE_RMCast_Resend_Handler:

Inheritance graph
[legend]
Collaboration diagram for ACE_RMCast_Resend_Handler:

Collaboration graph
[legend]
List of all members.

Public Methods

 ACE_RMCast_Resend_Handler (ACE_RMCast_Retransmission *retransmission)
 Constructor, save io_udp as the Adaptee in the Adapter pattern. More...

 ~ACE_RMCast_Resend_Handler (void)
 Destructor. More...

virtual int handle_timeout (const ACE_Time_Value &current_time, const void *act=0)
 Documented in ACE_Event_Handler class. More...


Private Attributes

ACE_RMCast_Retransmissionretransmission_
 The adaptee. More...


Detailed Description

Implement an adapter to resend messages in the ACE_RMCast_Retransmission layer, but based on Reactor based timeouts.

Definition at line 19 of file RMCast_Resend_Handler.h.


Constructor & Destructor Documentation

ACE_INLINE ACE_RMCast_Resend_Handler::ACE_RMCast_Resend_Handler ACE_RMCast_Retransmission   retransmission
 

Constructor, save io_udp as the Adaptee in the Adapter pattern.

Definition at line 5 of file RMCast_Resend_Handler.i.

00006   :  retransmission_ (r)
00007 {
00008 }

ACE_RMCast_Resend_Handler::~ACE_RMCast_Resend_Handler void   
 

Destructor.

Definition at line 12 of file RMCast_Resend_Handler.cpp.

00013 {
00014 }


Member Function Documentation

int ACE_RMCast_Resend_Handler::handle_timeout const ACE_Time_Value   current_time,
const void *    act = 0
[virtual]
 

Documented in ACE_Event_Handler class.

Reimplemented from ACE_Event_Handler.

Definition at line 17 of file RMCast_Resend_Handler.cpp.

References ACE_RMCast_Retransmission::resend_all, and retransmission_.

00019 {
00020   (void) this->retransmission_->resend_all ();
00021   return 0;
00022 }


Member Data Documentation

ACE_RMCast_Retransmission* ACE_RMCast_Resend_Handler::retransmission_ [private]
 

The adaptee.

Definition at line 36 of file RMCast_Resend_Handler.h.

Referenced by handle_timeout.


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