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

RMCast_Resend_Worker.h

Go to the documentation of this file.
00001 /* -*- C++ -*- */
00002 // $Id: RMCast_Resend_Worker.h,v 1.1.1.1 2001/12/04 14:33:17 chad Exp $
00003 
00004 #ifndef ACE_RMCAST_RESEND_WORKER_H
00005 #define ACE_RMCAST_RESEND_WORKER_H
00006 #include "ace/pre.h"
00007 
00008 #include "RMCast.h"
00009 #include "RMCast_Copy_On_Write.h"
00010 
00011 #if !defined (ACE_LACKS_PRAGMA_ONCE)
00012 # pragma once
00013 #endif /* ACE_LACKS_PRAGMA_ONCE */
00014 
00015 class ACE_RMCast_Module;
00016 
00017 /// Process an Ack message in the ACE_RMCast_Retransmission module
00018 /**
00019  * The retransmission module uses internal iterators, thus it needs to
00020  * create helper Worker classes to process some messages.
00021  */
00022 class ACE_RMCast_Resend_Worker
00023   : public ACE_RMCast_Worker<ACE_UINT32,ACE_RMCast::Data>
00024 {
00025 public:
00026   ACE_RMCast_Resend_Worker (ACE_RMCast_Module *next,
00027                             ACE_UINT32 max_sequence_number);
00028 
00029   virtual int work (ACE_UINT32 const & key,
00030                     ACE_RMCast::Data const &item);
00031 
00032   int n;
00033 
00034 private:
00035   ACE_RMCast_Module *next_;
00036 
00037   ACE_UINT32 max_sequence_number_;
00038 
00039 private:
00040   ACE_RMCast_Resend_Worker (const ACE_RMCast_Resend_Worker&);
00041   ACE_RMCast_Resend_Worker& operator= (const ACE_RMCast_Resend_Worker&);
00042 };
00043 
00044 #if defined (__ACE_INLINE__)
00045 #include "RMCast_Resend_Worker.i"
00046 #endif /* __ACE_INLINE__ */
00047 
00048 #include "ace/post.h"
00049 #endif /* ACE_RMCAST_RESEND_WORKER_H */

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