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

RMCast_Resend_Handler.h

Go to the documentation of this file.
00001 // $Id: RMCast_Resend_Handler.h,v 1.1.1.1 2001/12/04 14:33:17 chad Exp $
00002 
00003 #ifndef ACE_RMCAST_RESEND_HANDLER_H
00004 #define ACE_RMCAST_RESEND_HANDLER_H
00005 #include "ace/pre.h"
00006 
00007 #include "RMCast_Export.h"
00008 #include "ace/Event_Handler.h"
00009 
00010 #if !defined (ACE_LACKS_PRAGMA_ONCE)
00011 # pragma once
00012 #endif /* ACE_LACKS_PRAGMA_ONCE */
00013 
00014 class ACE_RMCast_Retransmission;
00015 
00016 /// Implement an adapter to resend messages in the
00017 /// ACE_RMCast_Retransmission layer, but based on Reactor based
00018 /// timeouts.
00019 class ACE_RMCast_Export ACE_RMCast_Resend_Handler : public ACE_Event_Handler
00020 {
00021 public:
00022   /// Constructor, save io_udp as the Adaptee in the Adapter pattern.
00023   ACE_RMCast_Resend_Handler (ACE_RMCast_Retransmission *retransmission);
00024 
00025   /// Destructor
00026   ~ACE_RMCast_Resend_Handler (void);
00027 
00028   //@{
00029   //! Documented in ACE_Event_Handler class
00030   virtual int handle_timeout (const ACE_Time_Value &current_time,
00031                               const void *act = 0);
00032   //@}
00033 
00034 private:
00035   //! The adaptee
00036   ACE_RMCast_Retransmission *retransmission_;
00037 };
00038 
00039 #if defined (__ACE_INLINE__)
00040 #include "RMCast_Resend_Handler.i"
00041 #endif /* __ACE_INLINE__ */
00042 
00043 #include "ace/post.h"
00044 #endif /* ACE_RMCAST_RESEND_HANDLER_H */

Generated on Mon Jun 16 13:12:37 2003 for ACE_RMCast by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002