Reactive_Connect_Strategy.h

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 
00003 //=============================================================================
00004 /**
00005  *  @file Reactive_Connect_Strategy.h
00006  *
00007  *  Reactive_Connect_Strategy.h,v 1.11 2006/04/26 17:12:47 mesnier_p Exp
00008  *
00009  *  @author Balachandran Natarajan <bala@cs.wustl.edu>
00010  */
00011 //=============================================================================
00012 
00013 #ifndef TAO_REACTIVE_CONNECT_STRATEGY_H
00014 #define TAO_REACTIVE_CONNECT_STRATEGY_H
00015 
00016 #include /**/ "ace/pre.h"
00017 
00018 #include "tao/Connect_Strategy.h"
00019 
00020 #if !defined (ACE_LACKS_PRAGMA_ONCE)
00021 # pragma once
00022 #endif /* ACE_LACKS_PRAGMA_ONCE */
00023 
00024 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
00025 class ACE_Time_Value;
00026 class ACE_Synch_Options;
00027 ACE_END_VERSIONED_NAMESPACE_DECL
00028 
00029 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00030 
00031 /**
00032  * @class TAO_Reactive_Connect_Strategy
00033  *
00034  * @brief Concrete implementation of a connect strategy that waits on
00035  *  the reactor during asynch connects
00036  *
00037  */
00038 class TAO_Export TAO_Reactive_Connect_Strategy : public TAO_Connect_Strategy
00039 {
00040 public:
00041   /// Constructor
00042   TAO_Reactive_Connect_Strategy (TAO_ORB_Core *orb);
00043 
00044   /// Destructor
00045   ~TAO_Reactive_Connect_Strategy (void);
00046 
00047   /*
00048    * Concrete implementation for this class. Please see
00049    * Connect_Strategy.h for details
00050    */
00051   virtual void synch_options (ACE_Time_Value *val,
00052                               ACE_Synch_Options &opt);
00053 
00054 protected:
00055   virtual int wait_i (TAO_LF_Event *ch, TAO_Transport *, ACE_Time_Value *val);
00056 
00057 };
00058 
00059 TAO_END_VERSIONED_NAMESPACE_DECL
00060 
00061 #include /**/ "ace/post.h"
00062 
00063 #endif  /* TAO_REACTIVE_CONNECT_STRATEGY_H */

Generated on Thu Nov 9 11:54:21 2006 for TAO by doxygen 1.3.6