diff options
Diffstat (limited to 'TAO/tao/Protocols_Hooks.h')
-rw-r--r-- | TAO/tao/Protocols_Hooks.h | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/TAO/tao/Protocols_Hooks.h b/TAO/tao/Protocols_Hooks.h index 9a7a97b45be..cec2e1a4e2e 100644 --- a/TAO/tao/Protocols_Hooks.h +++ b/TAO/tao/Protocols_Hooks.h @@ -7,7 +7,6 @@ * $Id$ * * @author Priyanka Gontla <pgontla@ece.uci.edu> - * */ // =================================================================== @@ -27,6 +26,7 @@ class TAO_ORB_Core; class TAO_GIOP_Invocation; class TAO_Resource_Factory; class TAO_Service_Context; +class TAO_Acceptor_Registry; class TAO_Export TAO_Protocols_Hooks : public ACE_Service_Object { @@ -64,12 +64,11 @@ public: &is_client_propagated, CORBA::Short &server_priority) = 0; - virtual void get_selector_bands_policy_hook ( - CORBA::Policy *bands_policy, - CORBA::Short &min_priority, - CORBA::Short &max_priority, - CORBA::Short &p, - int &in_range) = 0; + virtual void get_selector_bands_policy_hook (CORBA::Policy *bands_policy, + CORBA::Short &min_priority, + CORBA::Short &max_priority, + CORBA::Short &p, + int &in_range) = 0; /** * Accessor and modifier to the current thread priority, used to @@ -98,9 +97,13 @@ public: /// Sets the default_policies for ORB. /// 1. Sets ORB-level policy defaults for this ORB. Currently sets - /// default RTCORBA policies: ServerProtocolPolicy and - /// ClientProtocolPolicy. + /// default RTCORBA policies: ClientProtocolPolicy. virtual int set_default_policies (CORBA::Environment &ACE_TRY_ENV) = 0; + + /// Sets the default ServerProtocolPolicy. + virtual int set_default_server_protocol_policy (TAO_Acceptor_Registry &acceptor_registry, + CORBA::Environment &ACE_TRY_ENV) = 0; + }; #include "ace/post.h" |