Revert "Minor modernization of DynamicAny code"
[ACE_TAO.git] / TAO / tao / Reactive_Connect_Strategy.h
blob603a2e68f21cf84103d19f8ea7c5e82a11d6ee01
1 // -*- C++ -*-
3 //=============================================================================
4 /**
5 * @file Reactive_Connect_Strategy.h
7 * @author Balachandran Natarajan <bala@cs.wustl.edu>
8 */
9 //=============================================================================
11 #ifndef TAO_REACTIVE_CONNECT_STRATEGY_H
12 #define TAO_REACTIVE_CONNECT_STRATEGY_H
14 #include /**/ "ace/pre.h"
16 #include "tao/Connect_Strategy.h"
18 #if !defined (ACE_LACKS_PRAGMA_ONCE)
19 # pragma once
20 #endif /* ACE_LACKS_PRAGMA_ONCE */
22 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
23 class ACE_Time_Value;
24 class ACE_Synch_Options;
25 ACE_END_VERSIONED_NAMESPACE_DECL
27 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
29 /**
30 * @class TAO_Reactive_Connect_Strategy
32 * @brief Concrete implementation of a connect strategy that waits on
33 * the reactor during asynch connects
35 class TAO_Export TAO_Reactive_Connect_Strategy : public TAO_Connect_Strategy
37 public:
38 /// Constructor
39 TAO_Reactive_Connect_Strategy (TAO_ORB_Core *orb);
41 /// Destructor
42 ~TAO_Reactive_Connect_Strategy ();
45 * Concrete implementation for this class. Please see
46 * Connect_Strategy.h for details
48 virtual void synch_options (ACE_Time_Value *val,
49 ACE_Synch_Options &opt);
51 protected:
52 virtual int wait_i (TAO_LF_Event *ch, TAO_Transport *, ACE_Time_Value *val);
55 TAO_END_VERSIONED_NAMESPACE_DECL
57 #include /**/ "ace/post.h"
59 #endif /* TAO_REACTIVE_CONNECT_STRATEGY_H */