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

RMCast_UDP_Reliable_Receiver.h

Go to the documentation of this file.
00001 /* -*- C++ -*- */
00002 // $Id: RMCast_UDP_Reliable_Receiver.h,v 1.1.1.1 2001/12/04 14:33:17 chad Exp $
00003 
00004 #ifndef ACE_RMCAST_UDP_RELIABLE_RECEIVER_H
00005 #define ACE_RMCAST_UDP_RELIABLE_RECEIVER_H
00006 #include "ace/pre.h"
00007 
00008 #include "RMCast_Singleton_Factory.h"
00009 #include "RMCast_Reliable_Factory.h"
00010 #include "RMCast_IO_UDP.h"
00011 
00012 #if !defined (ACE_LACKS_PRAGMA_ONCE)
00013 # pragma once
00014 #endif /* ACE_LACKS_PRAGMA_ONCE */
00015 
00016 class ACE_Reactor;
00017 
00018 class ACE_RMCast_Export ACE_RMCast_UDP_Reliable_Receiver : public ACE_RMCast_Module
00019 {
00020 public:
00021   /// Constructor
00022   ACE_RMCast_UDP_Reliable_Receiver (ACE_RMCast_Module *user_control);
00023 
00024   /// Destructor
00025   virtual ~ACE_RMCast_UDP_Reliable_Receiver (void);
00026 
00027   /// Open the UDP I/O module.
00028   int init (const ACE_INET_Addr &mcast_group);
00029 
00030   /// Use the reactor to handle incoming messages
00031   void reactive_incoming_messages (ACE_Reactor *reactor);
00032 
00033 private:
00034   /// All the proxys give their messages to user module
00035   ACE_RMCast_Singleton_Factory user_factory_;
00036 
00037   /// This factory creates the per-proxy stack
00038   ACE_RMCast_Reliable_Factory factory_;
00039 
00040   /// Handle all the UDP I/O
00041   ACE_RMCast_IO_UDP io_udp_;
00042 };
00043 
00044 #if defined (__ACE_INLINE__)
00045 #include "RMCast_UDP_Reliable_Receiver.i"
00046 #endif /* __ACE_INLINE__ */
00047 
00048 #include "ace/post.h"
00049 #endif /* ACE_RMCAST_UDP_RELIABLE_RECEIVER_H */

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