3 //=============================================================================
5 * @file RT_Invocation_Endpoint_Selectors.h
7 * Strategies for selecting profile/endpoint from an IOR for making an
10 * @author Priyanka Gontla <pgontla@ece.uci.edu>
12 //=============================================================================
15 #ifndef TAO_RT_INVOCATION_ENDPOINT_SELECTOR_H
16 #define TAO_RT_INVOCATION_ENDPOINT_SELECTOR_H
18 #include /**/ "ace/pre.h"
20 #include "tao/orbconf.h"
22 #if !defined (ACE_LACKS_PRAGMA_ONCE)
24 #endif /* ACE_LACKS_PRAGMA_ONCE */
27 #if defined (TAO_HAS_CORBA_MESSAGING) && TAO_HAS_CORBA_MESSAGING != 0
29 #include "tao/RTCORBA/RTCORBA.h"
30 #include "tao/RTCORBA/rtcorba_export.h"
31 #include "tao/Invocation_Endpoint_Selectors.h"
33 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
36 * @class TAO_RT_Invocation_Endpoint_Selector
38 * @brief TAO_RT_Invocation_Endpoint_Selector
40 * This strategy is used when the only policy that might be set is the
41 * private connection policy.
44 class TAO_RTCORBA_Export TAO_RT_Invocation_Endpoint_Selector
45 : public TAO_Invocation_Endpoint_Selector
48 virtual void select_endpoint (TAO::Profile_Transport_Resolver
*r
,
52 void select_endpoint_based_on_client_protocol_policy (
53 TAO::Profile_Transport_Resolver
&r
,
54 RTCORBA::ClientProtocolPolicy_ptr client_protocol_policy
,
55 RTCORBA::ProtocolList
&protocols
,
58 int endpoint_from_profile (TAO::Profile_Transport_Resolver
&r
,
62 TAO_END_VERSIONED_NAMESPACE_DECL
64 #endif /* TAO_HAS_CORBA_MESSAGING && TAO_HAS_CORBA_MESSAGING != 0 */
66 #include /**/ "ace/post.h"
68 #endif /* TAO_RT_INVOCATION_ENDPOINT_SELECTOR_H */