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

RMCast_Resend_Worker.cpp

Go to the documentation of this file.
00001 //
00002 // $Id: RMCast_Resend_Worker.cpp,v 1.1.1.1 2001/12/04 14:33:17 chad Exp $
00003 //
00004 
00005 #include "RMCast_Resend_Worker.h"
00006 #include "RMCast_Module.h"
00007 
00008 #if !defined (__ACE_INLINE__)
00009 # include "RMCast_Resend_Worker.i"
00010 #endif /* ! __ACE_INLINE__ */
00011 
00012 ACE_RCSID(ace, RMCast_Resend_Worker, "$Id: RMCast_Resend_Worker.cpp,v 1.1.1.1 2001/12/04 14:33:17 chad Exp $")
00013 
00014 int
00015 ACE_RMCast_Resend_Worker::work (ACE_UINT32 const & key,
00016                                 ACE_RMCast::Data const &item)
00017 {
00018   if (key > this->max_sequence_number_)
00019     return 0;
00020   //ACE_DEBUG ((LM_DEBUG,
00021   //            "RMCast_Resend_Worker::work - message %d resent\n",
00022   //            key));
00023 
00024   ACE_RMCast::Data data = item;
00025   int r = this->next_->data (data);
00026   if (r != 0)
00027     return r;
00028   this->n++;
00029 
00030   return 1; // @@ Stop after the first message...
00031 }

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