summaryrefslogtreecommitdiff
path: root/TAO/tao/DomainC.cpp
diff options
context:
space:
mode:
authorOssama Othman <ossama-othman@users.noreply.github.com>2000-10-23 10:03:19 +0000
committerOssama Othman <ossama-othman@users.noreply.github.com>2000-10-23 10:03:19 +0000
commitbabcb84bcef67a0718b81b23caf4593afb5ba4c6 (patch)
treeae0eb6fa77b9d9753e97f55b09c48731e3f807d8 /TAO/tao/DomainC.cpp
parent79ee5b3d7d05d1a6311cc8aacaa2e47159188f6b (diff)
downloadATCD-babcb84bcef67a0718b81b23caf4593afb5ba4c6.tar.gz
ChangeLogTag:Mon Oct 23 02:49:25 2000 Ossama Othman <ossama@uci.edu>
Diffstat (limited to 'TAO/tao/DomainC.cpp')
-rw-r--r--TAO/tao/DomainC.cpp24
1 files changed, 13 insertions, 11 deletions
diff --git a/TAO/tao/DomainC.cpp b/TAO/tao/DomainC.cpp
index 368d5f350c1..8f30a3b1222 100644
--- a/TAO/tao/DomainC.cpp
+++ b/TAO/tao/DomainC.cpp
@@ -18,6 +18,9 @@
#include "DomainC.i"
#endif /* !defined INLINE */
+#if TAO_HAS_INTERCEPTORS == 1
+#include "PortableInterceptor.h"
+#endif /* TAO_HAS_INTERCEPTORS == 1 */
// default constructor
CORBA_DomainManager::CORBA_DomainManager (void)
@@ -123,13 +126,14 @@ CORBA::Policy_ptr CORBA_DomainManager::get_domain_policy (
#if (TAO_HAS_INTERCEPTORS == 1)
TAO_ClientRequestInterceptor_Adapter
- _tao_vfr (istub->orb_core ()->orb ()->_get_client_interceptor (ACE_TRY_ENV));
- ACE_CHECK_RETURN (0);
- CORBA_DomainManager::TAO_ClientRequest_Info_CORBA_DomainManager_get_domain_policy ri ("get_domain_policy",
-_tao_call.service_info (),
- this , policy_type ,
- ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
+ _tao_vfr (istub->orb_core ()->client_request_interceptors ());
+
+ CORBA_DomainManager::TAO_ClientRequest_Info_CORBA_DomainManager_get_domain_policy
+ ri ("get_domain_policy",
+ _tao_call.service_info (),
+ this,
+ policy_type);
+
ACE_TRY
{
#endif /* TAO_HAS_INTERCEPTORS */
@@ -252,10 +256,8 @@ CORBA_DomainManager::TAO_ClientRequest_Info_CORBA_DomainManager_get_domain_polic
const char *_tao_operation,
IOP::ServiceContextList &_tao_service_context_list,
CORBA::Object *_tao_target,
- CORBA::PolicyType &policy_type,
- CORBA::Environment &
- )
- : TAO_ClientRequest_Info (
+ CORBA::PolicyType &policy_type)
+ : TAO_ClientRequestInfo (
_tao_operation,
_tao_service_context_list,
_tao_target