1 #ifndef TAO_CONNECTOR_IMPL_CPP
2 #define TAO_CONNECTOR_IMPL_CPP
4 #include "tao/Connector_Impl.h"
5 #include "tao/Transport.h"
6 #include "tao/ORB_Core.h"
8 #if !defined (ACE_LACKS_PRAGMA_ONCE)
10 #endif /* ACE_LACKS_PRAGMA_ONCE */
12 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
14 template <class SVC_HANDLER
>
15 TAO_Connect_Creation_Strategy
<SVC_HANDLER
>::
16 TAO_Connect_Creation_Strategy (ACE_Thread_Manager
* t
,
17 TAO_ORB_Core
*orb_core
)
18 : ACE_Creation_Strategy
<SVC_HANDLER
> (t
, orb_core
->reactor ()),
23 template <class SVC_HANDLER
> int
24 TAO_Connect_Creation_Strategy
<SVC_HANDLER
>::make_svc_handler (SVC_HANDLER
*&sh
)
28 SVC_HANDLER (this->orb_core_
),
31 sh
->transport ()->opened_as (TAO::TAO_CLIENT_ROLE
);
33 // At this point, the #REFCOUNT# is one.
39 ////////////////////////////////////////////////////////////////
41 template <class SVC_HANDLER
>
42 TAO_Connect_Concurrency_Strategy
<SVC_HANDLER
>::
43 TAO_Connect_Concurrency_Strategy (TAO_ORB_Core
*orb_core
)
44 : orb_core_ (orb_core
)
48 template <class SVC_HANDLER
> int
49 TAO_Connect_Concurrency_Strategy
<SVC_HANDLER
>::
50 activate_svc_handler (SVC_HANDLER
*sh
, void *arg
)
52 return ACE_Concurrency_Strategy
<SVC_HANDLER
>::activate_svc_handler (sh
, arg
);
55 TAO_END_VERSIONED_NAMESPACE_DECL
57 #endif /* TAO_CONNECTOR_IMPL_CPP */