diff options
author | nanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2001-08-23 21:06:52 +0000 |
---|---|---|
committer | nanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2001-08-23 21:06:52 +0000 |
commit | 6043430680b8e81a9b9060586669e5fae32b916c (patch) | |
tree | f8772d7dc48ec6c5adc069b9ac2fa68e8c5f60ae /TAO/tao/PortableServer/ThruPOA_Object_Proxy_Impl.cpp | |
parent | 7302950169ebee6157fb4f74747b63433f9be622 (diff) | |
download | ATCD-6043430680b8e81a9b9060586669e5fae32b916c.tar.gz |
ChangeLogTag:Thu Aug 23 15:54:44 2001 Nanbor Wang <nanbor@cs.wustl.edu>CCM-Core
Diffstat (limited to 'TAO/tao/PortableServer/ThruPOA_Object_Proxy_Impl.cpp')
-rw-r--r-- | TAO/tao/PortableServer/ThruPOA_Object_Proxy_Impl.cpp | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/TAO/tao/PortableServer/ThruPOA_Object_Proxy_Impl.cpp b/TAO/tao/PortableServer/ThruPOA_Object_Proxy_Impl.cpp index 227c3c0092d..80d47e9925c 100644 --- a/TAO/tao/PortableServer/ThruPOA_Object_Proxy_Impl.cpp +++ b/TAO/tao/PortableServer/ThruPOA_Object_Proxy_Impl.cpp @@ -110,4 +110,37 @@ TAO_ThruPOA_Object_Proxy_Impl::_get_interface (const CORBA::Object_ptr target, return 0; } +CORBA_Object_ptr +TAO_ThruPOA_Object_Proxy_Impl::_get_component (const CORBA::Object_ptr target, + CORBA_Environment &ACE_TRY_ENV) +{ + ACE_TRY + { + TAO_Object_Adapter::Servant_Upcall servant_upcall ( + target->_stubobj ()->servant_orb_var ()->orb_core () + ); + + CORBA::Object_var forward_to; + + servant_upcall.prepare_for_upcall ( + target->_object_key (), + "_get_component", + forward_to.out (), + ACE_TRY_ENV); + ACE_TRY_CHECK; + + return servant_upcall.servant ()->_get_component (ACE_TRY_ENV); + } + ACE_CATCH (CORBA::OBJECT_NOT_EXIST, ex) + { + } + ACE_CATCHANY + { + ACE_RE_THROW; + } + ACE_ENDTRY; + + return 0; +} + #endif // TAO_HAS_MINIMUM_CORBA == 0 // |