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

RMCast_UDP_Reliable_Receiver.cpp

Go to the documentation of this file.
00001 // $Id: RMCast_UDP_Reliable_Receiver.cpp,v 1.1.1.1 2001/12/04 14:33:17 chad Exp $
00002 
00003 #include "RMCast_UDP_Reliable_Receiver.h"
00004 #include "RMCast_UDP_Event_Handler.h"
00005 #include "ace/Reactor.h"
00006 
00007 #if !defined (__ACE_INLINE__)
00008 # include "RMCast_UDP_Reliable_Receiver.i"
00009 #endif /* ! __ACE_INLINE__ */
00010 
00011 ACE_RCSID(ace, RMCast_UDP_Reliable_Receiver, "$Id: RMCast_UDP_Reliable_Receiver.cpp,v 1.1.1.1 2001/12/04 14:33:17 chad Exp $")
00012 
00013 ACE_RMCast_UDP_Reliable_Receiver::ACE_RMCast_UDP_Reliable_Receiver (ACE_RMCast_Module *user_module)
00014   : user_factory_ (user_module)
00015   , factory_ (&user_factory_)
00016   , io_udp_ (&factory_)
00017 {
00018 }
00019 
00020 ACE_RMCast_UDP_Reliable_Receiver::~ACE_RMCast_UDP_Reliable_Receiver (void)
00021 {
00022 }
00023 
00024 void
00025 ACE_RMCast_UDP_Reliable_Receiver::reactive_incoming_messages (ACE_Reactor *reactor)
00026 {
00027   ACE_RMCast_UDP_Event_Handler *eh;
00028   ACE_NEW (eh, ACE_RMCast_UDP_Event_Handler (&this->io_udp_));
00029 
00030   /// @@ TODO Make sure it is removed from the Reactor at some point
00031   (void) reactor->register_handler (eh, ACE_Event_Handler::READ_MASK);
00032 }

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