diff options
Diffstat (limited to 'TAO/examples/RTCORBA/Activity/POA_Holder.cpp')
-rw-r--r-- | TAO/examples/RTCORBA/Activity/POA_Holder.cpp | 25 |
1 files changed, 7 insertions, 18 deletions
diff --git a/TAO/examples/RTCORBA/Activity/POA_Holder.cpp b/TAO/examples/RTCORBA/Activity/POA_Holder.cpp index 16eb3cd1e4d..7da6b98be48 100644 --- a/TAO/examples/RTCORBA/Activity/POA_Holder.cpp +++ b/TAO/examples/RTCORBA/Activity/POA_Holder.cpp @@ -106,7 +106,7 @@ POA_Holder::init (ACE_Arg_Shifter& arg_shifter) } void -POA_Holder::activate (RTCORBA::RTORB_ptr rt_orb, PortableServer::POA_ptr parent_poa ACE_ENV_ARG_DECL) +POA_Holder::activate (RTCORBA::RTORB_ptr rt_orb, PortableServer::POA_ptr parent_poa) { /* @@ -132,9 +132,7 @@ POA_Holder::activate (RTCORBA::RTORB_ptr rt_orb, PortableServer::POA_ptr parent_ // Create a priority model policy. priority_model_policy = rt_orb->create_priority_model_policy (priority_model_, - server_priority_ - ACE_ENV_ARG_PARAMETER); - ACE_CHECK; + server_priority_); if (lanes_.length () != 0) { @@ -154,16 +152,12 @@ POA_Holder::activate (RTCORBA::RTORB_ptr rt_orb, PortableServer::POA_ptr parent_ allow_borrowing, allow_request_buffering, max_buffered_requests, - max_request_buffer_size - ACE_ENV_ARG_PARAMETER); - ACE_CHECK; + max_request_buffer_size); // Create a thread-pool policy. lanes_policy = - rt_orb->create_threadpool_policy (threadpool_id - ACE_ENV_ARG_PARAMETER); - ACE_CHECK; + rt_orb->create_threadpool_policy (threadpool_id); } @@ -171,9 +165,7 @@ POA_Holder::activate (RTCORBA::RTORB_ptr rt_orb, PortableServer::POA_ptr parent_ { // Create a bands policy. bands_policy = - rt_orb->create_priority_banded_connection_policy (this->bands_ - ACE_ENV_ARG_PARAMETER); - ACE_CHECK; + rt_orb->create_priority_banded_connection_policy (this->bands_); } CORBA::PolicyList poa_policy_list; @@ -208,12 +200,9 @@ POA_Holder::activate (RTCORBA::RTORB_ptr rt_orb, PortableServer::POA_ptr parent_ // Get the POA Manager. PortableServer::POAManager_var poa_manager = - parent_poa->the_POAManager (ACE_ENV_SINGLE_ARG_PARAMETER); - ACE_CHECK; + parent_poa->the_POAManager (); parent_poa->create_POA (POA_name_.c_str (), poa_manager.in (), - poa_policy_list - ACE_ENV_ARG_PARAMETER); - ACE_CHECK; + poa_policy_list); } |