diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2023-02-14 09:05:54 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-14 09:05:54 +0100 |
commit | 54406e2ff1e39a3245d04253648153d5f4751938 (patch) | |
tree | 2c92b2450e6872403cdd50b43ff764da236ffb12 /TAO/tao/PortableServer/RequestProcessingStrategyServantActivator.cpp | |
parent | 69fbec6c475060cf01a710a3d7ed6e756538858c (diff) | |
parent | d19030946af88f57a4b2b29af9228cbbf0386a71 (diff) | |
download | ATCD-54406e2ff1e39a3245d04253648153d5f4751938.tar.gz |
Merge pull request #2050 from jwillemsen/jwi-portableserverstrategysimplify
Major cleanup in PortableServer library
Diffstat (limited to 'TAO/tao/PortableServer/RequestProcessingStrategyServantActivator.cpp')
-rw-r--r-- | TAO/tao/PortableServer/RequestProcessingStrategyServantActivator.cpp | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/TAO/tao/PortableServer/RequestProcessingStrategyServantActivator.cpp b/TAO/tao/PortableServer/RequestProcessingStrategyServantActivator.cpp index 2ba133bb309..e07d39daf81 100644 --- a/TAO/tao/PortableServer/RequestProcessingStrategyServantActivator.cpp +++ b/TAO/tao/PortableServer/RequestProcessingStrategyServantActivator.cpp @@ -17,11 +17,6 @@ namespace TAO { namespace Portable_Server { - RequestProcessingStrategyServantActivator::RequestProcessingStrategyServantActivator () : - etherealize_objects_ (true) - { - } - void RequestProcessingStrategyServantActivator::strategy_cleanup () { @@ -61,20 +56,20 @@ namespace TAO this->validate_servant_manager (this->servant_activator_.in ()); } - TAO_SERVANT_LOCATION + TAO_Servant_Location RequestProcessingStrategyServantActivator::locate_servant ( const PortableServer::ObjectId &system_id, PortableServer::Servant &servant) { - TAO_SERVANT_LOCATION location = TAO_SERVANT_NOT_FOUND; + TAO_Servant_Location location = TAO_Servant_Location::Not_Found; location = this->poa_->servant_present (system_id, servant); - if (location == TAO_SERVANT_NOT_FOUND) + if (location == TAO_Servant_Location::Not_Found) { if (!CORBA::is_nil (this->servant_activator_.in ())) { - location = TAO_SERVANT_MANAGER; + location = TAO_Servant_Location::Servant_Manager; } } |