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

RMCast_Ack_Worker.h

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

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