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

RMCast_Proxy.cpp

Go to the documentation of this file.
00001 //
00002 // $Id: RMCast_Proxy.cpp,v 1.1.1.1 2001/12/04 14:33:17 chad Exp $
00003 //
00004 
00005 #include "RMCast_Proxy.h"
00006 
00007 #if !defined (__ACE_INLINE__)
00008 # include "RMCast_Proxy.i"
00009 #endif /* ! __ACE_INLINE__ */
00010 
00011 ACE_RCSID(ace, RMCast_Proxy, "$Id: RMCast_Proxy.cpp,v 1.1.1.1 2001/12/04 14:33:17 chad Exp $")
00012 
00013 ACE_RMCast_Proxy::~ACE_RMCast_Proxy (void)
00014 {
00015 }
00016 
00017 ACE_UINT32
00018 ACE_RMCast_Proxy::next_expected (void) const
00019 {
00020   return this->next_expected_;
00021 }
00022 
00023 ACE_UINT32
00024 ACE_RMCast_Proxy::highest_received (void) const
00025 {
00026   return this->highest_received_;
00027 }
00028 
00029 int
00030 ACE_RMCast_Proxy::ack (ACE_RMCast::Ack &ack)
00031 {
00032   this->next_expected_ = ack.next_expected;
00033   this->highest_received_ = ack.highest_received;
00034   return this->ACE_RMCast_Module::ack (ack);
00035 }
00036 
00037 int
00038 ACE_RMCast_Proxy::reply_ack_join (ACE_RMCast::Ack_Join &ack_join)
00039 {
00040   if (this->next_expected_ < ack_join.next_sequence_number)
00041     {
00042       this->next_expected_ = ack_join.next_sequence_number;
00043       this->highest_received_ = ack_join.next_sequence_number;
00044     }
00045   return 0;
00046 }

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