Revert "Minor modernization of DynamicAny code"
[ACE_TAO.git] / TAO / tao / Blocked_Connect_Strategy.h
blob404eb2d3be7e826f966fb4ab36f0f61b32d9078b
1 // -*- C++ -*-
3 //=============================================================================
4 /**
5 * @file Blocked_Connect_Strategy.h
7 * @author Balachandran Natarajan <bala@cs.wustl.edu>
8 */
9 //=============================================================================
11 #ifndef TAO_BLOCKED_CONNECT_STRATEGY_H
12 #define TAO_BLOCKED_CONNECT_STRATEGY_H
13 #include /**/ "ace/pre.h"
15 #include "tao/Connect_Strategy.h"
17 #if !defined (ACE_LACKS_PRAGMA_ONCE)
18 # pragma once
19 #endif /* ACE_LACKS_PRAGMA_ONCE */
21 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
23 /**
24 * @class TAO_Blocked_Connect_Strategy
26 * @brief Concrete implementation of a connect strategy that blocks
27 * during connects
29 class TAO_Export TAO_Blocked_Connect_Strategy : public TAO_Connect_Strategy
31 public:
32 /// Constructor
33 TAO_Blocked_Connect_Strategy (TAO_ORB_Core *orb);
36 * Concrete implementation for this class. Please see
37 * Connect_Strategy.h for details
39 void synch_options (ACE_Time_Value *val, ACE_Synch_Options &opt) override;
41 protected:
42 int wait_i (TAO_LF_Event *ev,
43 TAO_Transport *t,
44 ACE_Time_Value *val) override;
47 TAO_END_VERSIONED_NAMESPACE_DECL
49 #include /**/ "ace/post.h"
50 #endif /*TAO_BLOCKED_CONNECT_STRATEGY_H*/