Revert "Minor modernization of DynamicAny code"
[ACE_TAO.git] / TAO / tao / LF_Connect_Strategy.h
blob045d195914670f3c984ba6af00c73c8efb6f7161
1 // -*- C++ -*-
3 //=============================================================================
4 /**
5 * @file LF_Connect_Strategy.h
7 * @author Balachandran Natarajan <bala@cs.wustl.edu>
8 */
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)
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 class TAO_LF_Event;
31 /**
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
40 public:
41 /// Constructor
42 TAO_LF_Connect_Strategy (TAO_ORB_Core *orb, bool no_upcall);
44 /// Destructor
45 ~TAO_LF_Connect_Strategy ();
47 /**
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);
53 protected:
54 virtual int wait_i (TAO_LF_Event *ev, TAO_Transport *t, ACE_Time_Value *val);
56 bool no_upcall_;
59 TAO_END_VERSIONED_NAMESPACE_DECL
61 #include /**/ "ace/post.h"
63 #endif /*TAO_LF_CONNECT_STRATEGY_H*/