3 //=============================================================================
5 * @file LF_Connect_Strategy.h
7 * @author Balachandran Natarajan <bala@cs.wustl.edu>
9 //=============================================================================
11 #ifndef TAO_LF_CONNECT_STRATEGY_H
12 #define TAO_LF_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
32 * @class TAO_LF_Connect_Strategy
34 * @brief Concrete implementation of a connect strategy that waits on
35 * the leader-follower during asynchronous connects
38 class TAO_Export TAO_LF_Connect_Strategy
: public TAO_Connect_Strategy
42 TAO_LF_Connect_Strategy (TAO_ORB_Core
*orb
, bool no_upcall
);
45 ~TAO_LF_Connect_Strategy ();
48 * Concrete implementation for this class. Please see
49 * Connect_Strategy.h for details
51 virtual void synch_options (ACE_Time_Value
*val
, ACE_Synch_Options
&opt
);
54 virtual int wait_i (TAO_LF_Event
*ev
, TAO_Transport
*t
, ACE_Time_Value
*val
);
59 TAO_END_VERSIONED_NAMESPACE_DECL
61 #include /**/ "ace/post.h"
63 #endif /*TAO_LF_CONNECT_STRATEGY_H*/