3 //=============================================================================
5 * @file Reactive_Connect_Strategy.h
7 * @author Balachandran Natarajan <bala@cs.wustl.edu>
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)
20 #endif /* ACE_LACKS_PRAGMA_ONCE */
22 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
24 class ACE_Synch_Options
;
25 ACE_END_VERSIONED_NAMESPACE_DECL
27 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
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
39 TAO_Reactive_Connect_Strategy (TAO_ORB_Core
*orb
);
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
);
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 */