diff options
Diffstat (limited to 'TAO/tao/CSD_Framework/CSD_Strategy_Proxy.inl')
-rw-r--r-- | TAO/tao/CSD_Framework/CSD_Strategy_Proxy.inl | 25 |
1 files changed, 7 insertions, 18 deletions
diff --git a/TAO/tao/CSD_Framework/CSD_Strategy_Proxy.inl b/TAO/tao/CSD_Framework/CSD_Strategy_Proxy.inl index 68bd0b7ee6a..102122f33de 100644 --- a/TAO/tao/CSD_Framework/CSD_Strategy_Proxy.inl +++ b/TAO/tao/CSD_Framework/CSD_Strategy_Proxy.inl @@ -20,23 +20,18 @@ ACE_INLINE void TAO::CSD::Strategy_Proxy::dispatch_request (TAO_ServerRequest& server_request, - TAO::Portable_Server::Servant_Upcall& upcall - ) + TAO::Portable_Server::Servant_Upcall& upcall) { if (this->strategy_impl_ == 0) { // This is the "default" strategy implementation. - upcall.servant()->_dispatch(server_request, - (void*)&upcall - ); + upcall.servant()->_dispatch(server_request, (void*)&upcall); } else { // Delegate to the custom strategy object. - this->strategy_impl_->dispatch_request(server_request, - upcall - ); + this->strategy_impl_->dispatch_request(server_request, upcall); } } @@ -67,16 +62,13 @@ ACE_INLINE void TAO::CSD::Strategy_Proxy::servant_activated_event (PortableServer::Servant servant, - const PortableServer::ObjectId& oid - ) + const PortableServer::ObjectId& oid) { // We only need to do something if this proxy holds a custom strategy. if (this->strategy_impl_) { // Delegate to the custom strategy object. - this->strategy_impl_->servant_activated_event(servant, - oid - ); + this->strategy_impl_->servant_activated_event(servant, oid); } } @@ -84,16 +76,13 @@ ACE_INLINE void TAO::CSD::Strategy_Proxy::servant_deactivated_event (PortableServer::Servant servant, - const PortableServer::ObjectId& oid - ) + const PortableServer::ObjectId& oid) { // We only need to do something if this proxy holds a custom strategy. if (this->strategy_impl_) { // Delegate to the custom strategy object. - this->strategy_impl_->servant_deactivated_event(servant, - oid - ); + this->strategy_impl_->servant_deactivated_event(servant, oid); } } |