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

RMCast_Fork.cpp

Go to the documentation of this file.
00001 // $Id: RMCast_Fork.cpp,v 1.1.1.1 2001/12/04 14:33:17 chad Exp $
00002 
00003 #include "RMCast_Fork.h"
00004 
00005 #if !defined (__ACE_INLINE__)
00006 # include "RMCast_Fork.i"
00007 #endif /* ! __ACE_INLINE__ */
00008 
00009 ACE_RCSID(ace, RMCast_Fork, "$Id: RMCast_Fork.cpp,v 1.1.1.1 2001/12/04 14:33:17 chad Exp $")
00010 
00011 ACE_RMCast_Fork::~ACE_RMCast_Fork (void)
00012 {
00013 }
00014 
00015 int
00016 ACE_RMCast_Fork::open (void)
00017 {
00018   int r = this->ACE_RMCast_Module::open ();
00019   if (r != 0)
00020     return r;
00021   if (this->secondary () != 0)
00022     return this->secondary ()->open ();
00023   return 0;
00024 }
00025 
00026 int
00027 ACE_RMCast_Fork::close (void)
00028 {
00029   int r = this->ACE_RMCast_Module::close ();
00030   if (r != 0)
00031     return r;
00032   if (this->secondary () != 0)
00033     return this->secondary ()->close ();
00034   return 0;
00035 }
00036 
00037 int
00038 ACE_RMCast_Fork::data (ACE_RMCast::Data &data)
00039 {
00040   int r = this->ACE_RMCast_Module::data (data);
00041   if (r != 0)
00042     return r;
00043   if (this->secondary () != 0)
00044     return this->secondary ()->data (data);
00045   return 0;
00046 }
00047 
00048 int
00049 ACE_RMCast_Fork::poll (ACE_RMCast::Poll &poll)
00050 {
00051   int r = this->ACE_RMCast_Module::poll (poll);
00052   if (r != 0)
00053     return r;
00054   if (this->secondary () != 0)
00055     return this->secondary ()->poll (poll);
00056   return 0;
00057 }
00058 
00059 int
00060 ACE_RMCast_Fork::ack_join (ACE_RMCast::Ack_Join &ack_join)
00061 {
00062   int r = this->ACE_RMCast_Module::ack_join (ack_join);
00063   if (r != 0)
00064     return r;
00065   if (this->secondary () != 0)
00066     return this->secondary ()->ack_join (ack_join);
00067   return 0;
00068 }
00069 
00070 int
00071 ACE_RMCast_Fork::ack_leave (ACE_RMCast::Ack_Leave &ack_leave)
00072 {
00073   int r = this->ACE_RMCast_Module::ack_leave (ack_leave);
00074   if (r != 0)
00075     return r;
00076   if (this->secondary () != 0)
00077     return this->secondary ()->ack_leave (ack_leave);
00078   return 0;
00079 }
00080 
00081 int
00082 ACE_RMCast_Fork::ack (ACE_RMCast::Ack &ack)
00083 {
00084   int r = this->ACE_RMCast_Module::ack (ack);
00085   if (r != 0)
00086     return r;
00087   if (this->secondary () != 0)
00088     return this->secondary ()->ack (ack);
00089   return 0;
00090 }
00091 
00092 int
00093 ACE_RMCast_Fork::join (ACE_RMCast::Join &join)
00094 {
00095   int r = this->ACE_RMCast_Module::join (join);
00096   if (r != 0)
00097     return r;
00098   if (this->secondary () != 0)
00099     return this->secondary ()->join (join);
00100   return 0;
00101 }
00102 
00103 int
00104 ACE_RMCast_Fork::leave (ACE_RMCast::Leave &leave)
00105 {
00106   int r = this->ACE_RMCast_Module::leave (leave);
00107   if (r != 0)
00108     return r;
00109   if (this->secondary () != 0)
00110     return this->secondary ()->leave (leave);
00111   return 0;
00112 }

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