diff options
author | Ossama Othman <ossama-othman@users.noreply.github.com> | 2003-02-20 17:31:20 +0000 |
---|---|---|
committer | Ossama Othman <ossama-othman@users.noreply.github.com> | 2003-02-20 17:31:20 +0000 |
commit | 3c518e1bb372a5fabd9277c8862b9f5f79ada483 (patch) | |
tree | bc965de7216ef269eb3b8bde4d14b3cd288a9839 /TAO/tao/PortableServer | |
parent | 21324f8d9270ee3052ebf5fd1a595e16ff3ba9f8 (diff) | |
download | ATCD-3c518e1bb372a5fabd9277c8862b9f5f79ada483.tar.gz |
ChangeLogTag:Thu Feb 20 09:07:56 2003 Ossama Othman <ossama@uci.edu>
Diffstat (limited to 'TAO/tao/PortableServer')
34 files changed, 371 insertions, 353 deletions
diff --git a/TAO/tao/PortableServer/Collocated_Object.cpp b/TAO/tao/PortableServer/Collocated_Object.cpp index 8edbda3b86a..1bd578baca1 100644 --- a/TAO/tao/PortableServer/Collocated_Object.cpp +++ b/TAO/tao/PortableServer/Collocated_Object.cpp @@ -44,7 +44,7 @@ TAO_Collocated_Object::_is_a (const CORBA::Char *logical_type_id { // If the object is collocated then try locally.... if (!this->_is_collocated ()) - return this->CORBA_Object::_is_a (logical_type_id ACE_ENV_ARG_PARAMETER); + return this->Object::_is_a (logical_type_id ACE_ENV_ARG_PARAMETER); if (this->_stubobj ()->type_id.in () != 0 && ACE_OS::strcmp (logical_type_id, @@ -83,12 +83,12 @@ TAO_Collocated_Object::_is_a (const CORBA::Char *logical_type_id } CORBA::Boolean -TAO_Collocated_Object::_is_equivalent (CORBA_Object_ptr other_obj +TAO_Collocated_Object::_is_equivalent (CORBA::Object_ptr other_obj ACE_ENV_ARG_DECL) ACE_THROW_SPEC (()) { CORBA::Boolean equivalent = - this->CORBA_Object::_is_equivalent (other_obj ACE_ENV_ARG_PARAMETER); + this->Object::_is_equivalent (other_obj ACE_ENV_ARG_PARAMETER); ACE_CHECK_RETURN (0); if (equivalent) @@ -118,7 +118,7 @@ TAO_Collocated_Object::_non_existent (ACE_ENV_SINGLE_ARG_DECL) { // If the object is collocated then try locally.... if (!this->_is_collocated ()) - return this->CORBA_Object::_non_existent (ACE_ENV_SINGLE_ARG_PARAMETER); + return this->Object::_non_existent (ACE_ENV_SINGLE_ARG_PARAMETER); TAO_Stub *stub = this->_stubobj (); @@ -170,7 +170,7 @@ TAO_Collocated_Object::_get_component (ACE_ENV_SINGLE_ARG_DECL) // If the object is collocated then try locally.... if (!this->_is_collocated ()) - return this->CORBA_Object::_get_component (ACE_ENV_SINGLE_ARG_PARAMETER); + return this->Object::_get_component (ACE_ENV_SINGLE_ARG_PARAMETER); TAO_Stub *stub = this->_stubobj (); @@ -213,7 +213,7 @@ TAO_Collocated_Object::_tao_QueryInterface (ptr_arith_t query_type) return this; } - return this->CORBA_Object::_tao_QueryInterface (query_type); + return this->Object::_tao_QueryInterface (query_type); } #if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) diff --git a/TAO/tao/PortableServer/Collocated_Object.h b/TAO/tao/PortableServer/Collocated_Object.h index 4d5175c9a5a..5b3c92e4dfc 100644 --- a/TAO/tao/PortableServer/Collocated_Object.h +++ b/TAO/tao/PortableServer/Collocated_Object.h @@ -24,12 +24,22 @@ #include "tao/Object.h" -#include "Servant_Base.h" -class TAO_PortableServer_Export TAO_Collocated_Object : public virtual CORBA_Object +class TAO_ServantBase; + +/** + * @class TAO_Collocated_Object + * + * @brief TAO_Collocated_Object + * + * TAO_Collocated_Object + */ +class TAO_PortableServer_Export TAO_Collocated_Object + : public virtual CORBA::Object { public: + /// Constructor. TAO_Collocated_Object (TAO_Stub *p = 0, CORBA::Boolean collocated = 0, @@ -47,18 +57,20 @@ public: static TAO_Collocated_Object *_narrow (CORBA::Object_ptr object ACE_ENV_ARG_DECL_WITH_DEFAULTS); - // = The CORBA_Object methods, check the tao/Object.h file for details + // = The CORBA::Object methods, check the tao/Object.h file for details virtual CORBA::Boolean _is_a (const CORBA::Char *logical_type_id ACE_ENV_ARG_DECL_WITH_DEFAULTS); - virtual CORBA::Boolean _is_equivalent (CORBA_Object_ptr other_obj + virtual CORBA::Boolean _is_equivalent (CORBA::Object_ptr other_obj ACE_ENV_ARG_DECL_NOT_USED) ACE_THROW_SPEC (()); #if (TAO_HAS_MINIMUM_CORBA == 0) virtual CORBA::Boolean _non_existent (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS); - virtual CORBA::Object_ptr _get_component (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS); + virtual CORBA::Object_ptr _get_component + (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS); #endif /* TAO_HAS_MINIMUM_CORBA */ - virtual void *_tao_QueryInterface(ptr_arith_t type); + + virtual void *_tao_QueryInterface (ptr_arith_t type); private: // = Unimplemented methods diff --git a/TAO/tao/PortableServer/Collocated_Object.i b/TAO/tao/PortableServer/Collocated_Object.i index 438540f0863..a99b4205204 100644 --- a/TAO/tao/PortableServer/Collocated_Object.i +++ b/TAO/tao/PortableServer/Collocated_Object.i @@ -7,6 +7,6 @@ ACE_INLINE TAO_Collocated_Object::TAO_Collocated_Object (TAO_Stub *p, CORBA::Boolean collocated, TAO_ServantBase *servant) - : CORBA_Object (p, collocated, servant) + : Object (p, collocated, servant) { } diff --git a/TAO/tao/PortableServer/Default_ORTC.cpp b/TAO/tao/PortableServer/Default_ORTC.cpp index a892a7915bb..f1dcf238e9e 100644 --- a/TAO/tao/PortableServer/Default_ORTC.cpp +++ b/TAO/tao/PortableServer/Default_ORTC.cpp @@ -562,7 +562,7 @@ operator<< ( ) { return - CORBA_ValueBase::_tao_marshal ( + CORBA::ValueBase::_tao_marshal ( strm, ACE_const_cast ( TAO_Default_ORT::ObjectReferenceTemplate *, diff --git a/TAO/tao/PortableServer/Default_ORTC.h b/TAO/tao/PortableServer/Default_ORTC.h index 53aab7bbff6..de08280d311 100644 --- a/TAO/tao/PortableServer/Default_ORTC.h +++ b/TAO/tao/PortableServer/Default_ORTC.h @@ -149,7 +149,7 @@ TAO_NAMESPACE TAO_Default_ORT class ObjectReferenceTemplate : public virtual PortableInterceptor::ObjectReferenceTemplate, - public virtual CORBA_ValueBase + public virtual CORBA::ValueBase { public: diff --git a/TAO/tao/PortableServer/Direct_Object_Proxy_Impl.cpp b/TAO/tao/PortableServer/Direct_Object_Proxy_Impl.cpp index d71b07c7501..3b03a778879 100644 --- a/TAO/tao/PortableServer/Direct_Object_Proxy_Impl.cpp +++ b/TAO/tao/PortableServer/Direct_Object_Proxy_Impl.cpp @@ -1,20 +1,15 @@ -// $Id$ - #include "Direct_Object_Proxy_Impl.h" #include "Object_Adapter.h" #include "tao/Object.h" -ACE_RCSID(tao, TAO_Direct_Object_Proxy_Impl, "$Id$") -TAO_Direct_Object_Proxy_Impl::TAO_Direct_Object_Proxy_Impl (void) -{ - // No-op -} +ACE_RCSID (PortableServer, + TAO_Direct_Object_Proxy_Impl, + "$Id$") TAO_Direct_Object_Proxy_Impl::~TAO_Direct_Object_Proxy_Impl (void) { - // No-op } CORBA::Boolean @@ -38,7 +33,8 @@ TAO_Direct_Object_Proxy_Impl::_non_existent (const CORBA::Object_ptr target ACE_TRY { if (target->_servant () != 0) - return target->_servant ()->_non_existent (ACE_ENV_SINGLE_ARG_PARAMETER); + return target->_servant ()->_non_existent ( + ACE_ENV_SINGLE_ARG_PARAMETER); // @@ Maybe we want to change this exception... ACE_THROW_RETURN (CORBA::INV_OBJREF (), 0); @@ -47,37 +43,40 @@ TAO_Direct_Object_Proxy_Impl::_non_existent (const CORBA::Object_ptr target { _tao_retval = 1; } - ACE_CATCHANY - { - ACE_RE_THROW; - } ACE_ENDTRY; + ACE_CHECK_RETURN (0); return _tao_retval; } -CORBA_InterfaceDef_ptr +CORBA::InterfaceDef_ptr TAO_Direct_Object_Proxy_Impl::_get_interface (const CORBA::Object_ptr target ACE_ENV_ARG_DECL) { ACE_TRY { if (target->_servant () != 0) - return target->_servant ()->_get_interface (ACE_ENV_SINGLE_ARG_PARAMETER); - - // @@ Maybe we want to change this exception... - ACE_THROW_RETURN (CORBA::INV_OBJREF (), 0); + { + // CORBA::InterfaceDef_var not available. + CORBA::InterfaceDef_ptr r = + target->_servant ()->_get_interface (ACE_ENV_SINGLE_ARG_PARAMETER); + ACE_TRY_CHECK; + + return r; + } } ACE_CATCH (CORBA::OBJECT_NOT_EXIST, ex) { - } - ACE_CATCHANY - { - ACE_RE_THROW; + // Ignore this exception. } ACE_ENDTRY; + ACE_CHECK_RETURN (0); // CORBA::InterfaceDef::_nil() not + // available. - return 0; + // @@ Maybe we want to change this exception... + ACE_THROW_RETURN (CORBA::INV_OBJREF (), + 0); // CORBA::InterfaceDef::_nil() not + // available. } CORBA::Object_ptr @@ -87,20 +86,23 @@ TAO_Direct_Object_Proxy_Impl::_get_component (const CORBA::Object_ptr target ACE_TRY { if (target->_servant () != 0) - return target->_servant ()->_get_component (ACE_ENV_SINGLE_ARG_PARAMETER); + { + CORBA::Object_var r = + target->_servant ()->_get_component (ACE_ENV_SINGLE_ARG_PARAMETER); + ACE_TRY_CHECK; - // @@ Maybe we want to change this exception... - ACE_THROW_RETURN (CORBA::INV_OBJREF (), 0); + return r._retn (); + } } ACE_CATCH (CORBA::OBJECT_NOT_EXIST, ex) { - } - ACE_CATCHANY - { - ACE_RE_THROW; + // Ignore this exception. } ACE_ENDTRY; + ACE_CHECK_RETURN (CORBA::Object::_nil ()); - return 0; + // @@ Maybe we want to change this exception... + ACE_THROW_RETURN (CORBA::INV_OBJREF (), CORBA::Object::_nil ()); } + #endif /* TAO_HAS_MINIMUM_CORBA == 0 */ diff --git a/TAO/tao/PortableServer/Direct_Object_Proxy_Impl.h b/TAO/tao/PortableServer/Direct_Object_Proxy_Impl.h index d47170f7265..9c926f2ed94 100644 --- a/TAO/tao/PortableServer/Direct_Object_Proxy_Impl.h +++ b/TAO/tao/PortableServer/Direct_Object_Proxy_Impl.h @@ -1,3 +1,4 @@ +// -*- C++ -*- //============================================================================= /** @@ -17,32 +18,32 @@ #ifndef TAO_DIRECT_OBJECT_PROXY_IMPL_H_ #define TAO_DIRECT_OBJECT_PROXY_IMPL_H_ -#include "portableserver_export.h" -// -- ACE Include -- #include "ace/pre.h" -// -- TAO Include -- -#include "tao/Object_Proxy_Impl.h" - #include "portableserver_export.h" #if !defined (ACE_LACKS_PRAGMA_ONCE) # pragma once #endif /* ACE_LACKS_PRAGMA_ONCE */ +#include "tao/Object_Proxy_Impl.h" + + /** * @class TAO_Direct_Object_Proxy_Impl * - * @brief This class implements the direct proxy for the CORBA::Object class. + * @brief This class implements the direct proxy for the CORBA::Object + * class. + * + * This class implements the direct proxy for the CORBA::Object + * class. */ -class TAO_PortableServer_Export TAO_Direct_Object_Proxy_Impl : - public virtual TAO_Object_Proxy_Impl +class TAO_PortableServer_Export TAO_Direct_Object_Proxy_Impl + : public virtual TAO_Object_Proxy_Impl { public: - TAO_Direct_Object_Proxy_Impl (void); - virtual ~TAO_Direct_Object_Proxy_Impl (void); virtual CORBA::Boolean _is_a (const CORBA::Object_ptr target, @@ -54,7 +55,7 @@ public: virtual CORBA::Boolean _non_existent (const CORBA::Object_ptr target ACE_ENV_ARG_DECL); - virtual CORBA_InterfaceDef_ptr _get_interface ( + virtual CORBA::InterfaceDef_ptr _get_interface ( const CORBA::Object_ptr target ACE_ENV_ARG_DECL ); diff --git a/TAO/tao/PortableServer/ImR_LocatorC.cpp b/TAO/tao/PortableServer/ImR_LocatorC.cpp index 4ab32c78519..85169dbffca 100644 --- a/TAO/tao/PortableServer/ImR_LocatorC.cpp +++ b/TAO/tao/PortableServer/ImR_LocatorC.cpp @@ -945,7 +945,7 @@ ImplementationRepository::_TAO_Locator_Remote_Proxy_Impl::_TAO_Locator_Remote_Pr // Remote Implementation of the IDL interface methods void ImplementationRepository::_TAO_Locator_Remote_Proxy_Impl::activate_server_in_location ( - CORBA_Object *_collocated_tao_target_, + CORBA::Object *_collocated_tao_target_, const char * server, const char * location ACE_ENV_ARG_DECL @@ -1157,7 +1157,7 @@ void ImplementationRepository::_TAO_Locator_Remote_Proxy_Impl::activate_server_i } void ImplementationRepository::_TAO_Locator_Remote_Proxy_Impl::remove_server_in_location ( - CORBA_Object *_collocated_tao_target_, + CORBA::Object *_collocated_tao_target_, const char * server, const char * location ACE_ENV_ARG_DECL @@ -1364,7 +1364,7 @@ void ImplementationRepository::_TAO_Locator_Remote_Proxy_Impl::remove_server_in_ } void ImplementationRepository::_TAO_Locator_Remote_Proxy_Impl::shutdown_server_in_location ( - CORBA_Object *_collocated_tao_target_, + CORBA::Object *_collocated_tao_target_, const char * server, const char * location ACE_ENV_ARG_DECL @@ -1571,7 +1571,7 @@ void ImplementationRepository::_TAO_Locator_Remote_Proxy_Impl::shutdown_server_i } void ImplementationRepository::_TAO_Locator_Remote_Proxy_Impl::server_is_shutting_down_in_location ( - CORBA_Object *_collocated_tao_target_, + CORBA::Object *_collocated_tao_target_, const char * server, const char * location ACE_ENV_ARG_DECL @@ -1778,7 +1778,7 @@ void ImplementationRepository::_TAO_Locator_Remote_Proxy_Impl::server_is_shuttin } CORBA::ULong ImplementationRepository::_TAO_Locator_Remote_Proxy_Impl::register_activator ( - CORBA_Object *_collocated_tao_target_, + CORBA::Object *_collocated_tao_target_, const char * location, CORBA::Object_ptr object_ref ACE_ENV_ARG_DECL @@ -2004,7 +2004,7 @@ CORBA::ULong ImplementationRepository::_TAO_Locator_Remote_Proxy_Impl::register_ } CORBA::ULong ImplementationRepository::_TAO_Locator_Remote_Proxy_Impl::unregister_activator ( - CORBA_Object *_collocated_tao_target_, + CORBA::Object *_collocated_tao_target_, const char * location, CORBA::Object_ptr object_ref ACE_ENV_ARG_DECL @@ -2447,7 +2447,7 @@ ImplementationRepository::Locator::_is_a ( } else { - return this->CORBA_Object::_is_a ( + return this->Object::_is_a ( value ACE_ENV_ARG_PARAMETER ); diff --git a/TAO/tao/PortableServer/ImR_LocatorC.h b/TAO/tao/PortableServer/ImR_LocatorC.h index a17bc745e00..08a7e87c8f6 100644 --- a/TAO/tao/PortableServer/ImR_LocatorC.h +++ b/TAO/tao/PortableServer/ImR_LocatorC.h @@ -329,7 +329,7 @@ TAO_NAMESPACE ImplementationRepository public: virtual ~_TAO_Locator_Proxy_Impl (void) { } virtual void activate_server_in_location ( - CORBA_Object *_collocated_tao_target_, + CORBA::Object *_collocated_tao_target_, const char * server, const char * location ACE_ENV_ARG_DECL @@ -341,7 +341,7 @@ TAO_NAMESPACE ImplementationRepository )) = 0; virtual void remove_server_in_location ( - CORBA_Object *_collocated_tao_target_, + CORBA::Object *_collocated_tao_target_, const char * server, const char * location ACE_ENV_ARG_DECL @@ -352,7 +352,7 @@ TAO_NAMESPACE ImplementationRepository )) = 0; virtual void shutdown_server_in_location ( - CORBA_Object *_collocated_tao_target_, + CORBA::Object *_collocated_tao_target_, const char * server, const char * location ACE_ENV_ARG_DECL @@ -363,7 +363,7 @@ TAO_NAMESPACE ImplementationRepository )) = 0; virtual void server_is_shutting_down_in_location ( - CORBA_Object *_collocated_tao_target_, + CORBA::Object *_collocated_tao_target_, const char * server, const char * location ACE_ENV_ARG_DECL @@ -374,7 +374,7 @@ TAO_NAMESPACE ImplementationRepository )) = 0; virtual CORBA::ULong register_activator ( - CORBA_Object *_collocated_tao_target_, + CORBA::Object *_collocated_tao_target_, const char * location, CORBA::Object_ptr object_ref ACE_ENV_ARG_DECL @@ -385,7 +385,7 @@ TAO_NAMESPACE ImplementationRepository )) = 0; virtual CORBA::ULong unregister_activator ( - CORBA_Object *_collocated_tao_target_, + CORBA::Object *_collocated_tao_target_, const char * location, CORBA::Object_ptr object_ref ACE_ENV_ARG_DECL @@ -422,7 +422,7 @@ TAO_NAMESPACE ImplementationRepository virtual ~_TAO_Locator_Remote_Proxy_Impl (void) { } virtual void activate_server_in_location ( - CORBA_Object *_collocated_tao_target_, + CORBA::Object *_collocated_tao_target_, const char * server, const char * location ACE_ENV_ARG_DECL @@ -434,7 +434,7 @@ TAO_NAMESPACE ImplementationRepository )); virtual void remove_server_in_location ( - CORBA_Object *_collocated_tao_target_, + CORBA::Object *_collocated_tao_target_, const char * server, const char * location ACE_ENV_ARG_DECL @@ -445,7 +445,7 @@ TAO_NAMESPACE ImplementationRepository )); virtual void shutdown_server_in_location ( - CORBA_Object *_collocated_tao_target_, + CORBA::Object *_collocated_tao_target_, const char * server, const char * location ACE_ENV_ARG_DECL @@ -456,7 +456,7 @@ TAO_NAMESPACE ImplementationRepository )); virtual void server_is_shutting_down_in_location ( - CORBA_Object *_collocated_tao_target_, + CORBA::Object *_collocated_tao_target_, const char * server, const char * location ACE_ENV_ARG_DECL @@ -467,7 +467,7 @@ TAO_NAMESPACE ImplementationRepository )); virtual CORBA::ULong register_activator ( - CORBA_Object *_collocated_tao_target_, + CORBA::Object *_collocated_tao_target_, const char * location, CORBA::Object_ptr object_ref ACE_ENV_ARG_DECL @@ -478,7 +478,7 @@ TAO_NAMESPACE ImplementationRepository )); virtual CORBA::ULong unregister_activator ( - CORBA_Object *_collocated_tao_target_, + CORBA::Object *_collocated_tao_target_, const char * location, CORBA::Object_ptr object_ref ACE_ENV_ARG_DECL diff --git a/TAO/tao/PortableServer/ImR_LocatorC.i b/TAO/tao/PortableServer/ImR_LocatorC.i index fe4e4ce290c..bbfa02898d2 100644 --- a/TAO/tao/PortableServer/ImR_LocatorC.i +++ b/TAO/tao/PortableServer/ImR_LocatorC.i @@ -31,7 +31,7 @@ ImplementationRepository::Locator::Locator ( CORBA::Boolean _tao_collocated, TAO_Abstract_ServantBase *servant ) - : CORBA_Object (objref, _tao_collocated, servant) + : Object (objref, _tao_collocated, servant) { this->ImplementationRepository_Locator_setup_collocation (_tao_collocated); } diff --git a/TAO/tao/PortableServer/ImR_LocatorS.cpp b/TAO/tao/PortableServer/ImR_LocatorS.cpp index 342f3c88cef..b70622170e8 100644 --- a/TAO/tao/PortableServer/ImR_LocatorS.cpp +++ b/TAO/tao/PortableServer/ImR_LocatorS.cpp @@ -1310,7 +1310,7 @@ POA_ImplementationRepository::_TAO_Locator_ThruPOA_Proxy_Impl::_TAO_Locator_Thru // ThruPOA Implementation of the IDL interface methods void POA_ImplementationRepository::_TAO_Locator_ThruPOA_Proxy_Impl::activate_server_in_location ( - CORBA_Object *_collocated_tao_target_, + CORBA::Object *_collocated_tao_target_, const char * server, const char * location ACE_ENV_ARG_DECL @@ -1350,7 +1350,7 @@ void POA_ImplementationRepository::_TAO_Locator_ThruPOA_Proxy_Impl::activate_ser } void POA_ImplementationRepository::_TAO_Locator_ThruPOA_Proxy_Impl::remove_server_in_location ( - CORBA_Object *_collocated_tao_target_, + CORBA::Object *_collocated_tao_target_, const char * server, const char * location ACE_ENV_ARG_DECL @@ -1389,7 +1389,7 @@ void POA_ImplementationRepository::_TAO_Locator_ThruPOA_Proxy_Impl::remove_serve } void POA_ImplementationRepository::_TAO_Locator_ThruPOA_Proxy_Impl::shutdown_server_in_location ( - CORBA_Object *_collocated_tao_target_, + CORBA::Object *_collocated_tao_target_, const char * server, const char * location ACE_ENV_ARG_DECL @@ -1428,7 +1428,7 @@ void POA_ImplementationRepository::_TAO_Locator_ThruPOA_Proxy_Impl::shutdown_ser } void POA_ImplementationRepository::_TAO_Locator_ThruPOA_Proxy_Impl::server_is_shutting_down_in_location ( - CORBA_Object *_collocated_tao_target_, + CORBA::Object *_collocated_tao_target_, const char * server, const char * location ACE_ENV_ARG_DECL @@ -1467,7 +1467,7 @@ void POA_ImplementationRepository::_TAO_Locator_ThruPOA_Proxy_Impl::server_is_sh } CORBA::ULong POA_ImplementationRepository::_TAO_Locator_ThruPOA_Proxy_Impl::register_activator ( - CORBA_Object *_collocated_tao_target_, + CORBA::Object *_collocated_tao_target_, const char * location, CORBA::Object_ptr object_ref ACE_ENV_ARG_DECL @@ -1508,7 +1508,7 @@ CORBA::ULong POA_ImplementationRepository::_TAO_Locator_ThruPOA_Proxy_Impl::regi } CORBA::ULong POA_ImplementationRepository::_TAO_Locator_ThruPOA_Proxy_Impl::unregister_activator ( - CORBA_Object *_collocated_tao_target_, + CORBA::Object *_collocated_tao_target_, const char * location, CORBA::Object_ptr object_ref ACE_ENV_ARG_DECL @@ -1561,7 +1561,7 @@ POA_ImplementationRepository::_TAO_Locator_Direct_Proxy_Impl::_TAO_Locator_Direc {} void POA_ImplementationRepository::_TAO_Locator_Direct_Proxy_Impl::activate_server_in_location ( - CORBA_Object *_collocated_tao_target_, + CORBA::Object *_collocated_tao_target_, const char * server, const char * location ACE_ENV_ARG_DECL @@ -1583,7 +1583,7 @@ void POA_ImplementationRepository::_TAO_Locator_Direct_Proxy_Impl::activate_serv } void POA_ImplementationRepository::_TAO_Locator_Direct_Proxy_Impl::remove_server_in_location ( - CORBA_Object *_collocated_tao_target_, + CORBA::Object *_collocated_tao_target_, const char * server, const char * location ACE_ENV_ARG_DECL @@ -1604,7 +1604,7 @@ void POA_ImplementationRepository::_TAO_Locator_Direct_Proxy_Impl::remove_server } void POA_ImplementationRepository::_TAO_Locator_Direct_Proxy_Impl::shutdown_server_in_location ( - CORBA_Object *_collocated_tao_target_, + CORBA::Object *_collocated_tao_target_, const char * server, const char * location ACE_ENV_ARG_DECL @@ -1625,7 +1625,7 @@ void POA_ImplementationRepository::_TAO_Locator_Direct_Proxy_Impl::shutdown_serv } void POA_ImplementationRepository::_TAO_Locator_Direct_Proxy_Impl::server_is_shutting_down_in_location ( - CORBA_Object *_collocated_tao_target_, + CORBA::Object *_collocated_tao_target_, const char * server, const char * location ACE_ENV_ARG_DECL @@ -1646,7 +1646,7 @@ void POA_ImplementationRepository::_TAO_Locator_Direct_Proxy_Impl::server_is_shu } CORBA::ULong POA_ImplementationRepository::_TAO_Locator_Direct_Proxy_Impl::register_activator ( - CORBA_Object *_collocated_tao_target_, + CORBA::Object *_collocated_tao_target_, const char * location, CORBA::Object_ptr object_ref ACE_ENV_ARG_DECL @@ -1667,7 +1667,7 @@ CORBA::ULong POA_ImplementationRepository::_TAO_Locator_Direct_Proxy_Impl::regis } CORBA::ULong POA_ImplementationRepository::_TAO_Locator_Direct_Proxy_Impl::unregister_activator ( - CORBA_Object *_collocated_tao_target_, + CORBA::Object *_collocated_tao_target_, const char * location, CORBA::Object_ptr object_ref ACE_ENV_ARG_DECL @@ -2541,7 +2541,7 @@ void POA_ImplementationRepository::Locator::_interface_skel ( ) { POA_ImplementationRepository::Locator *_tao_impl = (POA_ImplementationRepository::Locator *) _tao_servant; - CORBA_InterfaceDef_ptr _tao_retval = 0; + CORBA::InterfaceDef_ptr _tao_retval = 0; CORBA::Boolean _tao_result = 0; TAO_IFR_Client_Adapter *_tao_adapter = diff --git a/TAO/tao/PortableServer/ImR_LocatorS.h b/TAO/tao/PortableServer/ImR_LocatorS.h index 0df99af9393..aa76b25340c 100644 --- a/TAO/tao/PortableServer/ImR_LocatorS.h +++ b/TAO/tao/PortableServer/ImR_LocatorS.h @@ -413,7 +413,7 @@ TAO_NAMESPACE POA_ImplementationRepository virtual ~_TAO_Locator_ThruPOA_Proxy_Impl (void) { } virtual void activate_server_in_location ( - CORBA_Object *_collocated_tao_target_, + CORBA::Object *_collocated_tao_target_, const char * server, const char * location ACE_ENV_ARG_DECL @@ -425,7 +425,7 @@ TAO_NAMESPACE POA_ImplementationRepository )); virtual void remove_server_in_location ( - CORBA_Object *_collocated_tao_target_, + CORBA::Object *_collocated_tao_target_, const char * server, const char * location ACE_ENV_ARG_DECL @@ -436,7 +436,7 @@ TAO_NAMESPACE POA_ImplementationRepository )); virtual void shutdown_server_in_location ( - CORBA_Object *_collocated_tao_target_, + CORBA::Object *_collocated_tao_target_, const char * server, const char * location ACE_ENV_ARG_DECL @@ -447,7 +447,7 @@ TAO_NAMESPACE POA_ImplementationRepository )); virtual void server_is_shutting_down_in_location ( - CORBA_Object *_collocated_tao_target_, + CORBA::Object *_collocated_tao_target_, const char * server, const char * location ACE_ENV_ARG_DECL @@ -458,7 +458,7 @@ TAO_NAMESPACE POA_ImplementationRepository )); virtual CORBA::ULong register_activator ( - CORBA_Object *_collocated_tao_target_, + CORBA::Object *_collocated_tao_target_, const char * location, CORBA::Object_ptr object_ref ACE_ENV_ARG_DECL @@ -469,7 +469,7 @@ TAO_NAMESPACE POA_ImplementationRepository )); virtual CORBA::ULong unregister_activator ( - CORBA_Object *_collocated_tao_target_, + CORBA::Object *_collocated_tao_target_, const char * location, CORBA::Object_ptr object_ref ACE_ENV_ARG_DECL @@ -503,7 +503,7 @@ public: virtual ~_TAO_Locator_Direct_Proxy_Impl (void) { } virtual void activate_server_in_location ( - CORBA_Object *_collocated_tao_target_, + CORBA::Object *_collocated_tao_target_, const char * server, const char * location ACE_ENV_ARG_DECL @@ -515,7 +515,7 @@ public: )); virtual void remove_server_in_location ( - CORBA_Object *_collocated_tao_target_, + CORBA::Object *_collocated_tao_target_, const char * server, const char * location ACE_ENV_ARG_DECL @@ -526,7 +526,7 @@ public: )); virtual void shutdown_server_in_location ( - CORBA_Object *_collocated_tao_target_, + CORBA::Object *_collocated_tao_target_, const char * server, const char * location ACE_ENV_ARG_DECL @@ -537,7 +537,7 @@ public: )); virtual void server_is_shutting_down_in_location ( - CORBA_Object *_collocated_tao_target_, + CORBA::Object *_collocated_tao_target_, const char * server, const char * location ACE_ENV_ARG_DECL @@ -548,7 +548,7 @@ public: )); virtual CORBA::ULong register_activator ( - CORBA_Object *_collocated_tao_target_, + CORBA::Object *_collocated_tao_target_, const char * location, CORBA::Object_ptr object_ref ACE_ENV_ARG_DECL @@ -559,7 +559,7 @@ public: )); virtual CORBA::ULong unregister_activator ( - CORBA_Object *_collocated_tao_target_, + CORBA::Object *_collocated_tao_target_, const char * location, CORBA::Object_ptr object_ref ACE_ENV_ARG_DECL diff --git a/TAO/tao/PortableServer/ImplRepoC.cpp b/TAO/tao/PortableServer/ImplRepoC.cpp index 5e3080c01ec..f2e76a01705 100644 --- a/TAO/tao/PortableServer/ImplRepoC.cpp +++ b/TAO/tao/PortableServer/ImplRepoC.cpp @@ -456,7 +456,7 @@ ImplementationRepository::_TAO_ServerObject_Remote_Proxy_Impl::_TAO_ServerObject // be/be_visitor_operation/remote_proxy_impl_cs.cpp:63 void ImplementationRepository::_TAO_ServerObject_Remote_Proxy_Impl::ping ( - CORBA_Object *_collocated_tao_target_ + CORBA::Object *_collocated_tao_target_ ACE_ENV_ARG_DECL ) ACE_THROW_SPEC (( @@ -633,7 +633,7 @@ void ImplementationRepository::_TAO_ServerObject_Remote_Proxy_Impl::ping ( // be/be_visitor_operation/remote_proxy_impl_cs.cpp:63 void ImplementationRepository::_TAO_ServerObject_Remote_Proxy_Impl::shutdown ( - CORBA_Object *_collocated_tao_target_ + CORBA::Object *_collocated_tao_target_ ACE_ENV_ARG_DECL ) ACE_THROW_SPEC (( @@ -1015,12 +1015,7 @@ ImplementationRepository::ServerObject::_is_a ( return 1; // success using local knowledge } else - { - return this->CORBA_Object::_is_a ( - value - ACE_ENV_ARG_PARAMETER - ); - } + return this->Object::_is_a (value ACE_ENV_ARG_PARAMETER); } void *ImplementationRepository::ServerObject::_tao_QueryInterface (ptr_arith_t type) @@ -1146,7 +1141,7 @@ TAO_NAMESPACE_END // be/be_visitor_exception/exception_cs.cpp:63 ImplementationRepository::AlreadyRegistered::AlreadyRegistered (void) - : CORBA_UserException ( + : CORBA::UserException ( "IDL:ImplementationRepository/AlreadyRegistered:1.0", "AlreadyRegistered" ) @@ -1158,7 +1153,7 @@ ImplementationRepository::AlreadyRegistered::~AlreadyRegistered (void) } ImplementationRepository::AlreadyRegistered::AlreadyRegistered (const ::ImplementationRepository::AlreadyRegistered &_tao_excp) - : CORBA_UserException ( + : CORBA::UserException ( _tao_excp._rep_id (), _tao_excp._name () ) @@ -1168,7 +1163,7 @@ ImplementationRepository::AlreadyRegistered::AlreadyRegistered (const ::Implemen ImplementationRepository::AlreadyRegistered& ImplementationRepository::AlreadyRegistered::operator= (const ::ImplementationRepository::AlreadyRegistered &_tao_excp) { - this->CORBA_UserException::operator= (_tao_excp); + this->UserException::operator= (_tao_excp); return *this; } @@ -1297,7 +1292,7 @@ TAO_NAMESPACE_END // be/be_visitor_exception/exception_cs.cpp:63 ImplementationRepository::CannotActivate::CannotActivate (void) - : CORBA_UserException ( + : CORBA::UserException ( "IDL:ImplementationRepository/CannotActivate:1.0", "CannotActivate" ) @@ -1309,7 +1304,7 @@ ImplementationRepository::CannotActivate::~CannotActivate (void) } ImplementationRepository::CannotActivate::CannotActivate (const ::ImplementationRepository::CannotActivate &_tao_excp) - : CORBA_UserException ( + : CORBA::UserException ( _tao_excp._rep_id (), _tao_excp._name () ) @@ -1320,7 +1315,7 @@ ImplementationRepository::CannotActivate::CannotActivate (const ::Implementation ImplementationRepository::CannotActivate& ImplementationRepository::CannotActivate::operator= (const ::ImplementationRepository::CannotActivate &_tao_excp) { - this->CORBA_UserException::operator= (_tao_excp); + this->UserException::operator= (_tao_excp); this->reason = CORBA::string_dup (_tao_excp.reason.in ()); return *this; } @@ -1401,7 +1396,8 @@ void ImplementationRepository::CannotActivate::_tao_decode ( ImplementationRepository::CannotActivate::CannotActivate ( const char * _tao_reason - ) : CORBA_UserException ( + ) + : CORBA::UserException ( "IDL:ImplementationRepository/CannotActivate:1.0", "CannotActivate" ) @@ -1468,7 +1464,7 @@ TAO_NAMESPACE_END // be/be_visitor_exception/exception_cs.cpp:63 ImplementationRepository::NotFound::NotFound (void) - : CORBA_UserException ( + : CORBA::UserException ( "IDL:ImplementationRepository/NotFound:1.0", "NotFound" ) @@ -1480,7 +1476,7 @@ ImplementationRepository::NotFound::~NotFound (void) } ImplementationRepository::NotFound::NotFound (const ::ImplementationRepository::NotFound &_tao_excp) - : CORBA_UserException ( + : CORBA::UserException ( _tao_excp._rep_id (), _tao_excp._name () ) @@ -1490,7 +1486,7 @@ ImplementationRepository::NotFound::NotFound (const ::ImplementationRepository:: ImplementationRepository::NotFound& ImplementationRepository::NotFound::operator= (const ::ImplementationRepository::NotFound &_tao_excp) { - this->CORBA_UserException::operator= (_tao_excp); + this->UserException::operator= (_tao_excp); return *this; } @@ -4128,7 +4124,7 @@ ImplementationRepository::_TAO_Administration_Remote_Proxy_Impl::_TAO_Administra // be/be_visitor_operation/remote_proxy_impl_cs.cpp:63 void ImplementationRepository::_TAO_Administration_Remote_Proxy_Impl::activate_server ( - CORBA_Object *_collocated_tao_target_, + CORBA::Object *_collocated_tao_target_, const char * server ACE_ENV_ARG_DECL ) @@ -4333,7 +4329,7 @@ TAO_Stub *istub = _collocated_tao_target_->_stubobj (); // be/be_visitor_operation/remote_proxy_impl_cs.cpp:63 char * ImplementationRepository::_TAO_Administration_Remote_Proxy_Impl::activate_server_with_startup ( - CORBA_Object *_collocated_tao_target_, + CORBA::Object *_collocated_tao_target_, const char * server, CORBA::Long check_startup ACE_ENV_ARG_DECL @@ -4565,7 +4561,7 @@ CORBA::String_var _tao_retval; // be/be_visitor_operation/remote_proxy_impl_cs.cpp:63 void ImplementationRepository::_TAO_Administration_Remote_Proxy_Impl::register_server ( - CORBA_Object *_collocated_tao_target_, + CORBA::Object *_collocated_tao_target_, const char * server, const ImplementationRepository::StartupOptions & options ACE_ENV_ARG_DECL @@ -4768,7 +4764,7 @@ TAO_Stub *istub = _collocated_tao_target_->_stubobj (); // be/be_visitor_operation/remote_proxy_impl_cs.cpp:63 void ImplementationRepository::_TAO_Administration_Remote_Proxy_Impl::reregister_server ( - CORBA_Object *_collocated_tao_target_, + CORBA::Object *_collocated_tao_target_, const char * server, const ImplementationRepository::StartupOptions & options ACE_ENV_ARG_DECL @@ -4962,7 +4958,7 @@ void ImplementationRepository::_TAO_Administration_Remote_Proxy_Impl::reregister // be/be_visitor_operation/remote_proxy_impl_cs.cpp:63 void ImplementationRepository::_TAO_Administration_Remote_Proxy_Impl::remove_server ( - CORBA_Object *_collocated_tao_target_, + CORBA::Object *_collocated_tao_target_, const char * server ACE_ENV_ARG_DECL ) @@ -5162,7 +5158,7 @@ TAO_Stub *istub = _collocated_tao_target_->_stubobj (); // be/be_visitor_operation/remote_proxy_impl_cs.cpp:63 void ImplementationRepository::_TAO_Administration_Remote_Proxy_Impl::shutdown_server ( - CORBA_Object *_collocated_tao_target_, + CORBA::Object *_collocated_tao_target_, const char * server ACE_ENV_ARG_DECL ) @@ -5362,7 +5358,7 @@ TAO_Stub *istub = _collocated_tao_target_->_stubobj (); // be/be_visitor_operation/remote_proxy_impl_cs.cpp:63 char * ImplementationRepository::_TAO_Administration_Remote_Proxy_Impl::server_is_running ( - CORBA_Object *_collocated_tao_target_, + CORBA::Object *_collocated_tao_target_, const char * server, const char * addr, ImplementationRepository::ServerObject_ptr server_object @@ -5592,7 +5588,7 @@ CORBA::String_var _tao_retval; // be/be_visitor_operation/remote_proxy_impl_cs.cpp:63 void ImplementationRepository::_TAO_Administration_Remote_Proxy_Impl::server_is_shutting_down ( - CORBA_Object *_collocated_tao_target_, + CORBA::Object *_collocated_tao_target_, const char * server ACE_ENV_ARG_DECL ) @@ -5792,7 +5788,7 @@ TAO_Stub *istub = _collocated_tao_target_->_stubobj (); // be/be_visitor_operation/remote_proxy_impl_cs.cpp:63 void ImplementationRepository::_TAO_Administration_Remote_Proxy_Impl::find ( - CORBA_Object *_collocated_tao_target_, + CORBA::Object *_collocated_tao_target_, const char * server, ImplementationRepository::ServerInformation_out info ACE_ENV_ARG_DECL @@ -6010,7 +6006,7 @@ TAO_Stub *istub = _collocated_tao_target_->_stubobj (); // be/be_visitor_operation/remote_proxy_impl_cs.cpp:63 void ImplementationRepository::_TAO_Administration_Remote_Proxy_Impl::list ( - CORBA_Object *_collocated_tao_target_, + CORBA::Object *_collocated_tao_target_, CORBA::ULong how_many, ImplementationRepository::ServerInformationList_out server_list, ImplementationRepository::ServerInformationIterator_out server_iterator @@ -6427,12 +6423,7 @@ ImplementationRepository::Administration::_is_a ( return 1; // success using local knowledge } else - { - return this->CORBA_Object::_is_a ( - value - ACE_ENV_ARG_PARAMETER - ); - } + return this->Object::_is_a (value ACE_ENV_ARG_PARAMETER); } void *ImplementationRepository::Administration::_tao_QueryInterface (ptr_arith_t type) @@ -7196,7 +7187,7 @@ ImplementationRepository::_TAO_ServerInformationIterator_Remote_Proxy_Impl::_TAO // be/be_visitor_operation/remote_proxy_impl_cs.cpp:63 CORBA::Boolean ImplementationRepository::_TAO_ServerInformationIterator_Remote_Proxy_Impl::next_n ( - CORBA_Object *_collocated_tao_target_, + CORBA::Object *_collocated_tao_target_, CORBA::ULong how_many, ImplementationRepository::ServerInformationList_out server_list ACE_ENV_ARG_DECL @@ -7418,7 +7409,7 @@ CORBA::Boolean ImplementationRepository::_TAO_ServerInformationIterator_Remote_P // be/be_visitor_operation/remote_proxy_impl_cs.cpp:63 void ImplementationRepository::_TAO_ServerInformationIterator_Remote_Proxy_Impl::destroy ( - CORBA_Object *_collocated_tao_target_ + CORBA::Object *_collocated_tao_target_ ACE_ENV_ARG_DECL ) ACE_THROW_SPEC (( @@ -7800,12 +7791,7 @@ ImplementationRepository::ServerInformationIterator::_is_a ( return 1; // success using local knowledge } else - { - return this->CORBA_Object::_is_a ( - value - ACE_ENV_ARG_PARAMETER - ); - } + return this->Object::_is_a (value ACE_ENV_ARG_PARAMETER); } void *ImplementationRepository::ServerInformationIterator::_tao_QueryInterface (ptr_arith_t type) diff --git a/TAO/tao/PortableServer/ImplRepoC.h b/TAO/tao/PortableServer/ImplRepoC.h index beabde8d97a..b885d40ddc9 100644 --- a/TAO/tao/PortableServer/ImplRepoC.h +++ b/TAO/tao/PortableServer/ImplRepoC.h @@ -271,7 +271,7 @@ TAO_NAMESPACE ImplementationRepository // be/be_visitor_operation/base_proxy_impl_ch.cpp:24 virtual void ping ( - CORBA_Object *_collocated_tao_target_ + CORBA::Object *_collocated_tao_target_ ACE_ENV_ARG_DECL ) ACE_THROW_SPEC (( @@ -282,7 +282,7 @@ TAO_NAMESPACE ImplementationRepository // be/be_visitor_operation/base_proxy_impl_ch.cpp:24 virtual void shutdown ( - CORBA_Object *_collocated_tao_target_ + CORBA::Object *_collocated_tao_target_ ACE_ENV_ARG_DECL ) ACE_THROW_SPEC (( @@ -318,7 +318,7 @@ TAO_NAMESPACE ImplementationRepository // be/be_visitor_operation/proxy_impl_xh.cpp:24 virtual void ping ( - CORBA_Object *_collocated_tao_target_ + CORBA::Object *_collocated_tao_target_ ACE_ENV_ARG_DECL ) ACE_THROW_SPEC (( @@ -329,7 +329,7 @@ TAO_NAMESPACE ImplementationRepository // be/be_visitor_operation/proxy_impl_xh.cpp:24 virtual void shutdown ( - CORBA_Object *_collocated_tao_target_ + CORBA::Object *_collocated_tao_target_ ACE_ENV_ARG_DECL ) ACE_THROW_SPEC (( @@ -1565,7 +1565,7 @@ TAO_NAMESPACE ImplementationRepository // be/be_visitor_operation/base_proxy_impl_ch.cpp:24 virtual void activate_server ( - CORBA_Object *_collocated_tao_target_, + CORBA::Object *_collocated_tao_target_, const char * server ACE_ENV_ARG_DECL ) @@ -1579,7 +1579,7 @@ TAO_NAMESPACE ImplementationRepository // be/be_visitor_operation/base_proxy_impl_ch.cpp:24 virtual char * activate_server_with_startup ( - CORBA_Object *_collocated_tao_target_, + CORBA::Object *_collocated_tao_target_, const char * server, CORBA::Long check_startup ACE_ENV_ARG_DECL @@ -1594,7 +1594,7 @@ TAO_NAMESPACE ImplementationRepository // be/be_visitor_operation/base_proxy_impl_ch.cpp:24 virtual void register_server ( - CORBA_Object *_collocated_tao_target_, + CORBA::Object *_collocated_tao_target_, const char * server, const ImplementationRepository::StartupOptions & options ACE_ENV_ARG_DECL @@ -1608,7 +1608,7 @@ TAO_NAMESPACE ImplementationRepository // be/be_visitor_operation/base_proxy_impl_ch.cpp:24 virtual void reregister_server ( - CORBA_Object *_collocated_tao_target_, + CORBA::Object *_collocated_tao_target_, const char * server, const ImplementationRepository::StartupOptions & options ACE_ENV_ARG_DECL @@ -1621,7 +1621,7 @@ TAO_NAMESPACE ImplementationRepository // be/be_visitor_operation/base_proxy_impl_ch.cpp:24 virtual void remove_server ( - CORBA_Object *_collocated_tao_target_, + CORBA::Object *_collocated_tao_target_, const char * server ACE_ENV_ARG_DECL ) @@ -1634,7 +1634,7 @@ TAO_NAMESPACE ImplementationRepository // be/be_visitor_operation/base_proxy_impl_ch.cpp:24 virtual void shutdown_server ( - CORBA_Object *_collocated_tao_target_, + CORBA::Object *_collocated_tao_target_, const char * server ACE_ENV_ARG_DECL ) @@ -1647,7 +1647,7 @@ TAO_NAMESPACE ImplementationRepository // be/be_visitor_operation/base_proxy_impl_ch.cpp:24 virtual char * server_is_running ( - CORBA_Object *_collocated_tao_target_, + CORBA::Object *_collocated_tao_target_, const char * server, const char * addr, ImplementationRepository::ServerObject_ptr server_object @@ -1662,7 +1662,7 @@ TAO_NAMESPACE ImplementationRepository // be/be_visitor_operation/base_proxy_impl_ch.cpp:24 virtual void server_is_shutting_down ( - CORBA_Object *_collocated_tao_target_, + CORBA::Object *_collocated_tao_target_, const char * server ACE_ENV_ARG_DECL ) @@ -1675,7 +1675,7 @@ TAO_NAMESPACE ImplementationRepository // be/be_visitor_operation/base_proxy_impl_ch.cpp:24 virtual void find ( - CORBA_Object *_collocated_tao_target_, + CORBA::Object *_collocated_tao_target_, const char * server, ImplementationRepository::ServerInformation_out info ACE_ENV_ARG_DECL @@ -1689,7 +1689,7 @@ TAO_NAMESPACE ImplementationRepository // be/be_visitor_operation/base_proxy_impl_ch.cpp:24 virtual void list ( - CORBA_Object *_collocated_tao_target_, + CORBA::Object *_collocated_tao_target_, CORBA::ULong how_many, ImplementationRepository::ServerInformationList_out server_list, ImplementationRepository::ServerInformationIterator_out server_iterator @@ -1728,7 +1728,7 @@ TAO_NAMESPACE ImplementationRepository // be/be_visitor_operation/proxy_impl_xh.cpp:24 virtual void activate_server ( - CORBA_Object *_collocated_tao_target_, + CORBA::Object *_collocated_tao_target_, const char * server ACE_ENV_ARG_DECL ) @@ -1742,7 +1742,7 @@ TAO_NAMESPACE ImplementationRepository // be/be_visitor_operation/proxy_impl_xh.cpp:24 virtual char * activate_server_with_startup ( - CORBA_Object *_collocated_tao_target_, + CORBA::Object *_collocated_tao_target_, const char * server, CORBA::Long check_startup ACE_ENV_ARG_DECL @@ -1757,7 +1757,7 @@ TAO_NAMESPACE ImplementationRepository // be/be_visitor_operation/proxy_impl_xh.cpp:24 virtual void register_server ( - CORBA_Object *_collocated_tao_target_, + CORBA::Object *_collocated_tao_target_, const char * server, const ImplementationRepository::StartupOptions & options ACE_ENV_ARG_DECL @@ -1771,7 +1771,7 @@ TAO_NAMESPACE ImplementationRepository // be/be_visitor_operation/proxy_impl_xh.cpp:24 virtual void reregister_server ( - CORBA_Object *_collocated_tao_target_, + CORBA::Object *_collocated_tao_target_, const char * server, const ImplementationRepository::StartupOptions & options ACE_ENV_ARG_DECL @@ -1784,7 +1784,7 @@ TAO_NAMESPACE ImplementationRepository // be/be_visitor_operation/proxy_impl_xh.cpp:24 virtual void remove_server ( - CORBA_Object *_collocated_tao_target_, + CORBA::Object *_collocated_tao_target_, const char * server ACE_ENV_ARG_DECL ) @@ -1797,7 +1797,7 @@ TAO_NAMESPACE ImplementationRepository // be/be_visitor_operation/proxy_impl_xh.cpp:24 virtual void shutdown_server ( - CORBA_Object *_collocated_tao_target_, + CORBA::Object *_collocated_tao_target_, const char * server ACE_ENV_ARG_DECL ) @@ -1810,7 +1810,7 @@ TAO_NAMESPACE ImplementationRepository // be/be_visitor_operation/proxy_impl_xh.cpp:24 virtual char * server_is_running ( - CORBA_Object *_collocated_tao_target_, + CORBA::Object *_collocated_tao_target_, const char * server, const char * addr, ImplementationRepository::ServerObject_ptr server_object @@ -1825,7 +1825,7 @@ TAO_NAMESPACE ImplementationRepository // be/be_visitor_operation/proxy_impl_xh.cpp:24 virtual void server_is_shutting_down ( - CORBA_Object *_collocated_tao_target_, + CORBA::Object *_collocated_tao_target_, const char * server ACE_ENV_ARG_DECL ) @@ -1838,7 +1838,7 @@ TAO_NAMESPACE ImplementationRepository // be/be_visitor_operation/proxy_impl_xh.cpp:24 virtual void find ( - CORBA_Object *_collocated_tao_target_, + CORBA::Object *_collocated_tao_target_, const char * server, ImplementationRepository::ServerInformation_out info ACE_ENV_ARG_DECL @@ -1852,7 +1852,7 @@ TAO_NAMESPACE ImplementationRepository // be/be_visitor_operation/proxy_impl_xh.cpp:24 virtual void list ( - CORBA_Object *_collocated_tao_target_, + CORBA::Object *_collocated_tao_target_, CORBA::ULong how_many, ImplementationRepository::ServerInformationList_out server_list, ImplementationRepository::ServerInformationIterator_out server_iterator @@ -2142,7 +2142,7 @@ TAO_NAMESPACE ImplementationRepository // be/be_visitor_operation/base_proxy_impl_ch.cpp:24 virtual CORBA::Boolean next_n ( - CORBA_Object *_collocated_tao_target_, + CORBA::Object *_collocated_tao_target_, CORBA::ULong how_many, ImplementationRepository::ServerInformationList_out server_list ACE_ENV_ARG_DECL @@ -2155,7 +2155,7 @@ TAO_NAMESPACE ImplementationRepository // be/be_visitor_operation/base_proxy_impl_ch.cpp:24 virtual void destroy ( - CORBA_Object *_collocated_tao_target_ + CORBA::Object *_collocated_tao_target_ ACE_ENV_ARG_DECL ) ACE_THROW_SPEC (( @@ -2191,7 +2191,7 @@ TAO_NAMESPACE ImplementationRepository // be/be_visitor_operation/proxy_impl_xh.cpp:24 virtual CORBA::Boolean next_n ( - CORBA_Object *_collocated_tao_target_, + CORBA::Object *_collocated_tao_target_, CORBA::ULong how_many, ImplementationRepository::ServerInformationList_out server_list ACE_ENV_ARG_DECL @@ -2204,7 +2204,7 @@ TAO_NAMESPACE ImplementationRepository // be/be_visitor_operation/proxy_impl_xh.cpp:24 virtual void destroy ( - CORBA_Object *_collocated_tao_target_ + CORBA::Object *_collocated_tao_target_ ACE_ENV_ARG_DECL ) ACE_THROW_SPEC (( diff --git a/TAO/tao/PortableServer/ImplRepoC.i b/TAO/tao/PortableServer/ImplRepoC.i index 1948cb0040e..7df5ee73b78 100644 --- a/TAO/tao/PortableServer/ImplRepoC.i +++ b/TAO/tao/PortableServer/ImplRepoC.i @@ -32,7 +32,7 @@ ImplementationRepository::ServerObject::ServerObject ( CORBA::Boolean _tao_collocated, TAO_Abstract_ServantBase *servant ) - : CORBA_Object (objref, _tao_collocated, servant) + : Object (objref, _tao_collocated, servant) { this->ImplementationRepository_ServerObject_setup_collocation (_tao_collocated); } @@ -1600,7 +1600,7 @@ ImplementationRepository::Administration::Administration ( CORBA::Boolean _tao_collocated, TAO_Abstract_ServantBase *servant ) - : CORBA_Object (objref, _tao_collocated, servant) + : Object (objref, _tao_collocated, servant) { this->ImplementationRepository_Administration_setup_collocation (_tao_collocated); } @@ -1619,7 +1619,7 @@ ImplementationRepository::ServerInformationIterator::ServerInformationIterator ( CORBA::Boolean _tao_collocated, TAO_Abstract_ServantBase *servant ) - : CORBA_Object (objref, _tao_collocated, servant) + : Object (objref, _tao_collocated, servant) { this->ImplementationRepository_ServerInformationIterator_setup_collocation (_tao_collocated); } diff --git a/TAO/tao/PortableServer/ImplRepoS.cpp b/TAO/tao/PortableServer/ImplRepoS.cpp index 09b6887101c..23ba7b864dc 100644 --- a/TAO/tao/PortableServer/ImplRepoS.cpp +++ b/TAO/tao/PortableServer/ImplRepoS.cpp @@ -570,7 +570,7 @@ POA_ImplementationRepository::_TAO_ServerObject_ThruPOA_Proxy_Impl::_TAO_ServerO // be/be_visitor_operation/thru_poa_proxy_impl_ss.cpp:67 void POA_ImplementationRepository::_TAO_ServerObject_ThruPOA_Proxy_Impl::ping ( - CORBA_Object *_collocated_tao_target_ + CORBA::Object *_collocated_tao_target_ ACE_ENV_ARG_DECL ) ACE_THROW_SPEC (( @@ -610,7 +610,7 @@ void POA_ImplementationRepository::_TAO_ServerObject_ThruPOA_Proxy_Impl::ping ( // be/be_visitor_operation/thru_poa_proxy_impl_ss.cpp:67 void POA_ImplementationRepository::_TAO_ServerObject_ThruPOA_Proxy_Impl::shutdown ( - CORBA_Object *_collocated_tao_target_ + CORBA::Object *_collocated_tao_target_ ACE_ENV_ARG_DECL ) ACE_THROW_SPEC (( @@ -655,7 +655,7 @@ POA_ImplementationRepository::_TAO_ServerObject_Direct_Proxy_Impl::_TAO_ServerOb {} void POA_ImplementationRepository::_TAO_ServerObject_Direct_Proxy_Impl::ping ( - CORBA_Object *_collocated_tao_target_ + CORBA::Object *_collocated_tao_target_ ACE_ENV_ARG_DECL ) ACE_THROW_SPEC (( @@ -672,7 +672,7 @@ void POA_ImplementationRepository::_TAO_ServerObject_Direct_Proxy_Impl::ping ( } void POA_ImplementationRepository::_TAO_ServerObject_Direct_Proxy_Impl::shutdown ( - CORBA_Object *_collocated_tao_target_ + CORBA::Object *_collocated_tao_target_ ACE_ENV_ARG_DECL ) ACE_THROW_SPEC (( @@ -1001,7 +1001,7 @@ void POA_ImplementationRepository::ServerObject::_interface_skel ( ) { POA_ImplementationRepository::ServerObject *_tao_impl = (POA_ImplementationRepository::ServerObject *) _tao_servant; - CORBA_InterfaceDef_ptr _tao_retval = 0; + CORBA::InterfaceDef_ptr _tao_retval = 0; CORBA::Boolean _tao_result = 0; TAO_IFR_Client_Adapter *_tao_adapter = @@ -3040,7 +3040,7 @@ POA_ImplementationRepository::_TAO_Administration_ThruPOA_Proxy_Impl::_TAO_Admin // be/be_visitor_operation/thru_poa_proxy_impl_ss.cpp:67 void POA_ImplementationRepository::_TAO_Administration_ThruPOA_Proxy_Impl::activate_server ( - CORBA_Object *_collocated_tao_target_, + CORBA::Object *_collocated_tao_target_, const char * server ACE_ENV_ARG_DECL ) @@ -3084,7 +3084,7 @@ void POA_ImplementationRepository::_TAO_Administration_ThruPOA_Proxy_Impl::activ // be/be_visitor_operation/thru_poa_proxy_impl_ss.cpp:67 char * POA_ImplementationRepository::_TAO_Administration_ThruPOA_Proxy_Impl::activate_server_with_startup ( - CORBA_Object *_collocated_tao_target_, + CORBA::Object *_collocated_tao_target_, const char * server, CORBA::Long check_startup ACE_ENV_ARG_DECL @@ -3131,7 +3131,7 @@ char * POA_ImplementationRepository::_TAO_Administration_ThruPOA_Proxy_Impl::act // be/be_visitor_operation/thru_poa_proxy_impl_ss.cpp:67 void POA_ImplementationRepository::_TAO_Administration_ThruPOA_Proxy_Impl::register_server ( - CORBA_Object *_collocated_tao_target_, + CORBA::Object *_collocated_tao_target_, const char * server, const ImplementationRepository::StartupOptions & options ACE_ENV_ARG_DECL @@ -3176,7 +3176,7 @@ void POA_ImplementationRepository::_TAO_Administration_ThruPOA_Proxy_Impl::regis // be/be_visitor_operation/thru_poa_proxy_impl_ss.cpp:67 void POA_ImplementationRepository::_TAO_Administration_ThruPOA_Proxy_Impl::reregister_server ( - CORBA_Object *_collocated_tao_target_, + CORBA::Object *_collocated_tao_target_, const char * server, const ImplementationRepository::StartupOptions & options ACE_ENV_ARG_DECL @@ -3220,7 +3220,7 @@ void POA_ImplementationRepository::_TAO_Administration_ThruPOA_Proxy_Impl::rereg // be/be_visitor_operation/thru_poa_proxy_impl_ss.cpp:67 void POA_ImplementationRepository::_TAO_Administration_ThruPOA_Proxy_Impl::remove_server ( - CORBA_Object *_collocated_tao_target_, + CORBA::Object *_collocated_tao_target_, const char * server ACE_ENV_ARG_DECL ) @@ -3263,7 +3263,7 @@ void POA_ImplementationRepository::_TAO_Administration_ThruPOA_Proxy_Impl::remov // be/be_visitor_operation/thru_poa_proxy_impl_ss.cpp:67 void POA_ImplementationRepository::_TAO_Administration_ThruPOA_Proxy_Impl::shutdown_server ( - CORBA_Object *_collocated_tao_target_, + CORBA::Object *_collocated_tao_target_, const char * server ACE_ENV_ARG_DECL ) @@ -3306,7 +3306,7 @@ void POA_ImplementationRepository::_TAO_Administration_ThruPOA_Proxy_Impl::shutd // be/be_visitor_operation/thru_poa_proxy_impl_ss.cpp:67 char * POA_ImplementationRepository::_TAO_Administration_ThruPOA_Proxy_Impl::server_is_running ( - CORBA_Object *_collocated_tao_target_, + CORBA::Object *_collocated_tao_target_, const char * server, const char * addr, ImplementationRepository::ServerObject_ptr server_object @@ -3354,7 +3354,7 @@ char * POA_ImplementationRepository::_TAO_Administration_ThruPOA_Proxy_Impl::ser // be/be_visitor_operation/thru_poa_proxy_impl_ss.cpp:67 void POA_ImplementationRepository::_TAO_Administration_ThruPOA_Proxy_Impl::server_is_shutting_down ( - CORBA_Object *_collocated_tao_target_, + CORBA::Object *_collocated_tao_target_, const char * server ACE_ENV_ARG_DECL ) @@ -3397,7 +3397,7 @@ void POA_ImplementationRepository::_TAO_Administration_ThruPOA_Proxy_Impl::serve // be/be_visitor_operation/thru_poa_proxy_impl_ss.cpp:67 void POA_ImplementationRepository::_TAO_Administration_ThruPOA_Proxy_Impl::find ( - CORBA_Object *_collocated_tao_target_, + CORBA::Object *_collocated_tao_target_, const char * server, ImplementationRepository::ServerInformation_out info ACE_ENV_ARG_DECL @@ -3442,7 +3442,7 @@ void POA_ImplementationRepository::_TAO_Administration_ThruPOA_Proxy_Impl::find // be/be_visitor_operation/thru_poa_proxy_impl_ss.cpp:67 void POA_ImplementationRepository::_TAO_Administration_ThruPOA_Proxy_Impl::list ( - CORBA_Object *_collocated_tao_target_, + CORBA::Object *_collocated_tao_target_, CORBA::ULong how_many, ImplementationRepository::ServerInformationList_out server_list, ImplementationRepository::ServerInformationIterator_out server_iterator @@ -3493,7 +3493,7 @@ POA_ImplementationRepository::_TAO_Administration_Direct_Proxy_Impl::_TAO_Admini {} void POA_ImplementationRepository::_TAO_Administration_Direct_Proxy_Impl::activate_server ( - CORBA_Object *_collocated_tao_target_, + CORBA::Object *_collocated_tao_target_, const char * server ACE_ENV_ARG_DECL ) @@ -3514,7 +3514,7 @@ void POA_ImplementationRepository::_TAO_Administration_Direct_Proxy_Impl::activa } char * POA_ImplementationRepository::_TAO_Administration_Direct_Proxy_Impl::activate_server_with_startup ( - CORBA_Object *_collocated_tao_target_, + CORBA::Object *_collocated_tao_target_, const char * server, CORBA::Long check_startup ACE_ENV_ARG_DECL @@ -3537,7 +3537,7 @@ char * POA_ImplementationRepository::_TAO_Administration_Direct_Proxy_Impl::acti } void POA_ImplementationRepository::_TAO_Administration_Direct_Proxy_Impl::register_server ( - CORBA_Object *_collocated_tao_target_, + CORBA::Object *_collocated_tao_target_, const char * server, const ImplementationRepository::StartupOptions & options ACE_ENV_ARG_DECL @@ -3559,7 +3559,7 @@ void POA_ImplementationRepository::_TAO_Administration_Direct_Proxy_Impl::regist } void POA_ImplementationRepository::_TAO_Administration_Direct_Proxy_Impl::reregister_server ( - CORBA_Object *_collocated_tao_target_, + CORBA::Object *_collocated_tao_target_, const char * server, const ImplementationRepository::StartupOptions & options ACE_ENV_ARG_DECL @@ -3580,7 +3580,7 @@ void POA_ImplementationRepository::_TAO_Administration_Direct_Proxy_Impl::reregi } void POA_ImplementationRepository::_TAO_Administration_Direct_Proxy_Impl::remove_server ( - CORBA_Object *_collocated_tao_target_, + CORBA::Object *_collocated_tao_target_, const char * server ACE_ENV_ARG_DECL ) @@ -3600,7 +3600,7 @@ void POA_ImplementationRepository::_TAO_Administration_Direct_Proxy_Impl::remove } void POA_ImplementationRepository::_TAO_Administration_Direct_Proxy_Impl::shutdown_server ( - CORBA_Object *_collocated_tao_target_, + CORBA::Object *_collocated_tao_target_, const char * server ACE_ENV_ARG_DECL ) @@ -3620,7 +3620,7 @@ void POA_ImplementationRepository::_TAO_Administration_Direct_Proxy_Impl::shutdo } char * POA_ImplementationRepository::_TAO_Administration_Direct_Proxy_Impl::server_is_running ( - CORBA_Object *_collocated_tao_target_, + CORBA::Object *_collocated_tao_target_, const char * server, const char * addr, ImplementationRepository::ServerObject_ptr server_object @@ -3644,7 +3644,7 @@ char * POA_ImplementationRepository::_TAO_Administration_Direct_Proxy_Impl::serv } void POA_ImplementationRepository::_TAO_Administration_Direct_Proxy_Impl::server_is_shutting_down ( - CORBA_Object *_collocated_tao_target_, + CORBA::Object *_collocated_tao_target_, const char * server ACE_ENV_ARG_DECL ) @@ -3664,7 +3664,7 @@ void POA_ImplementationRepository::_TAO_Administration_Direct_Proxy_Impl::server } void POA_ImplementationRepository::_TAO_Administration_Direct_Proxy_Impl::find ( - CORBA_Object *_collocated_tao_target_, + CORBA::Object *_collocated_tao_target_, const char * server, ImplementationRepository::ServerInformation_out info ACE_ENV_ARG_DECL @@ -3686,7 +3686,7 @@ void POA_ImplementationRepository::_TAO_Administration_Direct_Proxy_Impl::find } void POA_ImplementationRepository::_TAO_Administration_Direct_Proxy_Impl::list ( - CORBA_Object *_collocated_tao_target_, + CORBA::Object *_collocated_tao_target_, CORBA::ULong how_many, ImplementationRepository::ServerInformationList_out server_list, ImplementationRepository::ServerInformationIterator_out server_iterator @@ -5137,7 +5137,7 @@ void POA_ImplementationRepository::Administration::_interface_skel ( ) { POA_ImplementationRepository::Administration *_tao_impl = (POA_ImplementationRepository::Administration *) _tao_servant; - CORBA_InterfaceDef_ptr _tao_retval = 0; + CORBA::InterfaceDef_ptr _tao_retval = 0; CORBA::Boolean _tao_result = 0; TAO_IFR_Client_Adapter *_tao_adapter = @@ -5842,7 +5842,7 @@ POA_ImplementationRepository::_TAO_ServerInformationIterator_ThruPOA_Proxy_Impl: // be/be_visitor_operation/thru_poa_proxy_impl_ss.cpp:67 CORBA::Boolean POA_ImplementationRepository::_TAO_ServerInformationIterator_ThruPOA_Proxy_Impl::next_n ( - CORBA_Object *_collocated_tao_target_, + CORBA::Object *_collocated_tao_target_, CORBA::ULong how_many, ImplementationRepository::ServerInformationList_out server_list ACE_ENV_ARG_DECL @@ -5887,7 +5887,7 @@ CORBA::Boolean POA_ImplementationRepository::_TAO_ServerInformationIterator_Thru // be/be_visitor_operation/thru_poa_proxy_impl_ss.cpp:67 void POA_ImplementationRepository::_TAO_ServerInformationIterator_ThruPOA_Proxy_Impl::destroy ( - CORBA_Object *_collocated_tao_target_ + CORBA::Object *_collocated_tao_target_ ACE_ENV_ARG_DECL ) ACE_THROW_SPEC (( @@ -5932,7 +5932,7 @@ POA_ImplementationRepository::_TAO_ServerInformationIterator_Direct_Proxy_Impl:: {} CORBA::Boolean POA_ImplementationRepository::_TAO_ServerInformationIterator_Direct_Proxy_Impl::next_n ( - CORBA_Object *_collocated_tao_target_, + CORBA::Object *_collocated_tao_target_, CORBA::ULong how_many, ImplementationRepository::ServerInformationList_out server_list ACE_ENV_ARG_DECL @@ -5953,7 +5953,7 @@ CORBA::Boolean POA_ImplementationRepository::_TAO_ServerInformationIterator_Dire } void POA_ImplementationRepository::_TAO_ServerInformationIterator_Direct_Proxy_Impl::destroy ( - CORBA_Object *_collocated_tao_target_ + CORBA::Object *_collocated_tao_target_ ACE_ENV_ARG_DECL ) ACE_THROW_SPEC (( @@ -6305,7 +6305,7 @@ void POA_ImplementationRepository::ServerInformationIterator::_interface_skel ( ) { POA_ImplementationRepository::ServerInformationIterator *_tao_impl = (POA_ImplementationRepository::ServerInformationIterator *) _tao_servant; - CORBA_InterfaceDef_ptr _tao_retval = 0; + CORBA::InterfaceDef_ptr _tao_retval = 0; CORBA::Boolean _tao_result = 0; TAO_IFR_Client_Adapter *_tao_adapter = diff --git a/TAO/tao/PortableServer/ImplRepoS.h b/TAO/tao/PortableServer/ImplRepoS.h index 72624f4e987..34891555b47 100644 --- a/TAO/tao/PortableServer/ImplRepoS.h +++ b/TAO/tao/PortableServer/ImplRepoS.h @@ -225,7 +225,7 @@ TAO_NAMESPACE POA_ImplementationRepository // be/be_visitor_operation/proxy_impl_xh.cpp:24 virtual void ping ( - CORBA_Object *_collocated_tao_target_ + CORBA::Object *_collocated_tao_target_ ACE_ENV_ARG_DECL ) ACE_THROW_SPEC (( @@ -236,7 +236,7 @@ TAO_NAMESPACE POA_ImplementationRepository // be/be_visitor_operation/proxy_impl_xh.cpp:24 virtual void shutdown ( - CORBA_Object *_collocated_tao_target_ + CORBA::Object *_collocated_tao_target_ ACE_ENV_ARG_DECL ) ACE_THROW_SPEC (( @@ -264,7 +264,7 @@ public: // be/be_visitor_operation/proxy_impl_xh.cpp:24 virtual void ping ( - CORBA_Object *_collocated_tao_target_ + CORBA::Object *_collocated_tao_target_ ACE_ENV_ARG_DECL ) ACE_THROW_SPEC (( @@ -275,7 +275,7 @@ public: // be/be_visitor_operation/proxy_impl_xh.cpp:24 virtual void shutdown ( - CORBA_Object *_collocated_tao_target_ + CORBA::Object *_collocated_tao_target_ ACE_ENV_ARG_DECL ) ACE_THROW_SPEC (( @@ -622,7 +622,7 @@ public: // be/be_visitor_operation/proxy_impl_xh.cpp:24 virtual void activate_server ( - CORBA_Object *_collocated_tao_target_, + CORBA::Object *_collocated_tao_target_, const char * server ACE_ENV_ARG_DECL ) @@ -636,7 +636,7 @@ public: // be/be_visitor_operation/proxy_impl_xh.cpp:24 virtual char * activate_server_with_startup ( - CORBA_Object *_collocated_tao_target_, + CORBA::Object *_collocated_tao_target_, const char * server, CORBA::Long check_startup ACE_ENV_ARG_DECL @@ -651,7 +651,7 @@ public: // be/be_visitor_operation/proxy_impl_xh.cpp:24 virtual void register_server ( - CORBA_Object *_collocated_tao_target_, + CORBA::Object *_collocated_tao_target_, const char * server, const ImplementationRepository::StartupOptions & options ACE_ENV_ARG_DECL @@ -665,7 +665,7 @@ public: // be/be_visitor_operation/proxy_impl_xh.cpp:24 virtual void reregister_server ( - CORBA_Object *_collocated_tao_target_, + CORBA::Object *_collocated_tao_target_, const char * server, const ImplementationRepository::StartupOptions & options ACE_ENV_ARG_DECL @@ -678,7 +678,7 @@ public: // be/be_visitor_operation/proxy_impl_xh.cpp:24 virtual void remove_server ( - CORBA_Object *_collocated_tao_target_, + CORBA::Object *_collocated_tao_target_, const char * server ACE_ENV_ARG_DECL ) @@ -691,7 +691,7 @@ public: // be/be_visitor_operation/proxy_impl_xh.cpp:24 virtual void shutdown_server ( - CORBA_Object *_collocated_tao_target_, + CORBA::Object *_collocated_tao_target_, const char * server ACE_ENV_ARG_DECL ) @@ -704,7 +704,7 @@ public: // be/be_visitor_operation/proxy_impl_xh.cpp:24 virtual char * server_is_running ( - CORBA_Object *_collocated_tao_target_, + CORBA::Object *_collocated_tao_target_, const char * server, const char * addr, ImplementationRepository::ServerObject_ptr server_object @@ -719,7 +719,7 @@ public: // be/be_visitor_operation/proxy_impl_xh.cpp:24 virtual void server_is_shutting_down ( - CORBA_Object *_collocated_tao_target_, + CORBA::Object *_collocated_tao_target_, const char * server ACE_ENV_ARG_DECL ) @@ -732,7 +732,7 @@ public: // be/be_visitor_operation/proxy_impl_xh.cpp:24 virtual void find ( - CORBA_Object *_collocated_tao_target_, + CORBA::Object *_collocated_tao_target_, const char * server, ImplementationRepository::ServerInformation_out info ACE_ENV_ARG_DECL @@ -746,7 +746,7 @@ public: // be/be_visitor_operation/proxy_impl_xh.cpp:24 virtual void list ( - CORBA_Object *_collocated_tao_target_, + CORBA::Object *_collocated_tao_target_, CORBA::ULong how_many, ImplementationRepository::ServerInformationList_out server_list, ImplementationRepository::ServerInformationIterator_out server_iterator @@ -777,7 +777,7 @@ public: // be/be_visitor_operation/proxy_impl_xh.cpp:24 virtual void activate_server ( - CORBA_Object *_collocated_tao_target_, + CORBA::Object *_collocated_tao_target_, const char * server ACE_ENV_ARG_DECL ) @@ -791,7 +791,7 @@ public: // be/be_visitor_operation/proxy_impl_xh.cpp:24 virtual char * activate_server_with_startup ( - CORBA_Object *_collocated_tao_target_, + CORBA::Object *_collocated_tao_target_, const char * server, CORBA::Long check_startup ACE_ENV_ARG_DECL @@ -806,7 +806,7 @@ public: // be/be_visitor_operation/proxy_impl_xh.cpp:24 virtual void register_server ( - CORBA_Object *_collocated_tao_target_, + CORBA::Object *_collocated_tao_target_, const char * server, const ImplementationRepository::StartupOptions & options ACE_ENV_ARG_DECL @@ -820,7 +820,7 @@ public: // be/be_visitor_operation/proxy_impl_xh.cpp:24 virtual void reregister_server ( - CORBA_Object *_collocated_tao_target_, + CORBA::Object *_collocated_tao_target_, const char * server, const ImplementationRepository::StartupOptions & options ACE_ENV_ARG_DECL @@ -833,7 +833,7 @@ public: // be/be_visitor_operation/proxy_impl_xh.cpp:24 virtual void remove_server ( - CORBA_Object *_collocated_tao_target_, + CORBA::Object *_collocated_tao_target_, const char * server ACE_ENV_ARG_DECL ) @@ -846,7 +846,7 @@ public: // be/be_visitor_operation/proxy_impl_xh.cpp:24 virtual void shutdown_server ( - CORBA_Object *_collocated_tao_target_, + CORBA::Object *_collocated_tao_target_, const char * server ACE_ENV_ARG_DECL ) @@ -859,7 +859,7 @@ public: // be/be_visitor_operation/proxy_impl_xh.cpp:24 virtual char * server_is_running ( - CORBA_Object *_collocated_tao_target_, + CORBA::Object *_collocated_tao_target_, const char * server, const char * addr, ImplementationRepository::ServerObject_ptr server_object @@ -874,7 +874,7 @@ public: // be/be_visitor_operation/proxy_impl_xh.cpp:24 virtual void server_is_shutting_down ( - CORBA_Object *_collocated_tao_target_, + CORBA::Object *_collocated_tao_target_, const char * server ACE_ENV_ARG_DECL ) @@ -887,7 +887,7 @@ public: // be/be_visitor_operation/proxy_impl_xh.cpp:24 virtual void find ( - CORBA_Object *_collocated_tao_target_, + CORBA::Object *_collocated_tao_target_, const char * server, ImplementationRepository::ServerInformation_out info ACE_ENV_ARG_DECL @@ -901,7 +901,7 @@ public: // be/be_visitor_operation/proxy_impl_xh.cpp:24 virtual void list ( - CORBA_Object *_collocated_tao_target_, + CORBA::Object *_collocated_tao_target_, CORBA::ULong how_many, ImplementationRepository::ServerInformationList_out server_list, ImplementationRepository::ServerInformationIterator_out server_iterator @@ -1089,7 +1089,7 @@ public: // be/be_visitor_operation/proxy_impl_xh.cpp:24 virtual CORBA::Boolean next_n ( - CORBA_Object *_collocated_tao_target_, + CORBA::Object *_collocated_tao_target_, CORBA::ULong how_many, ImplementationRepository::ServerInformationList_out server_list ACE_ENV_ARG_DECL @@ -1102,7 +1102,7 @@ public: // be/be_visitor_operation/proxy_impl_xh.cpp:24 virtual void destroy ( - CORBA_Object *_collocated_tao_target_ + CORBA::Object *_collocated_tao_target_ ACE_ENV_ARG_DECL ) ACE_THROW_SPEC (( @@ -1130,7 +1130,7 @@ public: // be/be_visitor_operation/proxy_impl_xh.cpp:24 virtual CORBA::Boolean next_n ( - CORBA_Object *_collocated_tao_target_, + CORBA::Object *_collocated_tao_target_, CORBA::ULong how_many, ImplementationRepository::ServerInformationList_out server_list ACE_ENV_ARG_DECL @@ -1143,7 +1143,7 @@ public: // be/be_visitor_operation/proxy_impl_xh.cpp:24 virtual void destroy ( - CORBA_Object *_collocated_tao_target_ + CORBA::Object *_collocated_tao_target_ ACE_ENV_ARG_DECL ) ACE_THROW_SPEC (( diff --git a/TAO/tao/PortableServer/ORB_Manager.cpp b/TAO/tao/PortableServer/ORB_Manager.cpp index 9dcf1405533..15c7c7e640b 100644 --- a/TAO/tao/PortableServer/ORB_Manager.cpp +++ b/TAO/tao/PortableServer/ORB_Manager.cpp @@ -311,7 +311,7 @@ TAO_ORB_Manager::run (ACE_ENV_SINGLE_ARG_DECL) CORBA::ORB_ptr TAO_ORB_Manager::orb (void) { - return CORBA_ORB::_duplicate (this->orb_.in ()); + return CORBA::ORB::_duplicate (this->orb_.in ()); } // Return the root POA reference diff --git a/TAO/tao/PortableServer/ObjectReferenceTemplate.cpp b/TAO/tao/PortableServer/ObjectReferenceTemplate.cpp index b64abcb390c..f4ae23ee410 100644 --- a/TAO/tao/PortableServer/ObjectReferenceTemplate.cpp +++ b/TAO/tao/PortableServer/ObjectReferenceTemplate.cpp @@ -51,7 +51,7 @@ TAO_ObjectReferenceTemplate::adapter_name (ACE_ENV_SINGLE_ARG_DECL) PortableInterceptor::AdapterName ( *(this->adapter_name_)), CORBA::NO_MEMORY ( - CORBA_SystemException::_tao_minor_code ( + CORBA::SystemException::_tao_minor_code ( TAO_DEFAULT_MINOR_CODE, ENOMEM), CORBA::COMPLETED_NO)); @@ -72,7 +72,7 @@ TAO_ObjectReferenceTemplate::adapter_name (ACE_ENV_SINGLE_ARG_DECL) PortableInterceptor::AdapterName ( *(this->adapter_name_)), CORBA::NO_MEMORY ( - CORBA_SystemException::_tao_minor_code ( + CORBA::SystemException::_tao_minor_code ( TAO_DEFAULT_MINOR_CODE, ENOMEM), CORBA::COMPLETED_NO)); diff --git a/TAO/tao/PortableServer/Object_Adapter.cpp b/TAO/tao/PortableServer/Object_Adapter.cpp index 51e61927977..cd05ddc4cc5 100644 --- a/TAO/tao/PortableServer/Object_Adapter.cpp +++ b/TAO/tao/PortableServer/Object_Adapter.cpp @@ -888,7 +888,7 @@ TAO_Object_Adapter_Factory::init (int /* argc */, ACE_NEW_THROW_EX (temp_orb_initializer, TAO_PortableServer_ORBInitializer, CORBA::NO_MEMORY ( - CORBA_SystemException::_tao_minor_code ( + CORBA::SystemException::_tao_minor_code ( TAO_DEFAULT_MINOR_CODE, ENOMEM), CORBA::COMPLETED_NO)); diff --git a/TAO/tao/PortableServer/Object_Adapter.h b/TAO/tao/PortableServer/Object_Adapter.h index b1896fd4448..22a365e4607 100644 --- a/TAO/tao/PortableServer/Object_Adapter.h +++ b/TAO/tao/PortableServer/Object_Adapter.h @@ -1,5 +1,4 @@ - -/* -*- C++ -*- */ +// -*- C++ -*- //============================================================================= /** @@ -11,23 +10,20 @@ */ //============================================================================= - #ifndef TAO_OBJECT_ADAPTER_H #define TAO_OBJECT_ADAPTER_H + #include "ace/pre.h" #include "portableserver_export.h" -#include "Key_Adapters.h" #if !defined (ACE_LACKS_PRAGMA_ONCE) # pragma once #endif /* ACE_LACKS_PRAGMA_ONCE */ +#include "Key_Adapters.h" #include "poa_macros.h" -// Servant -#include "Servant_Base.h" - // Active Object Table #include "Active_Object_Map.h" @@ -54,6 +50,16 @@ // **************************************************************** +enum TAO_SERVANT_LOCATION +{ + TAO_SERVANT_FOUND, + TAO_DEFAULT_SERVANT, + TAO_SERVANT_MANAGER, + TAO_SERVANT_NOT_FOUND +}; + +// **************************************************************** + // Forward declaration class TAO_POA; class TAO_POA_Manager; @@ -63,9 +69,9 @@ class TAO_TSS_Resources; class TAO_Transport; class TAO_Servant_Dispatcher; -class TAO_PortableServer_Export TAO_POA_Current : - public PortableServer::Current, - public TAO_Local_RefCounted_Object +class TAO_PortableServer_Export TAO_POA_Current + : public PortableServer::Current, + public TAO_Local_RefCounted_Object { public: /// Constructor @@ -872,4 +878,5 @@ ACE_FACTORY_DECLARE (TAO_PortableServer, TAO_Object_Adapter_Factory) #endif /* __ACE_INLINE__ */ #include "ace/post.h" + #endif /* TAO_OBJECT_ADAPTER_H */ diff --git a/TAO/tao/PortableServer/Operation_Table.h b/TAO/tao/PortableServer/Operation_Table.h index 59d77a9a662..51914597bb6 100644 --- a/TAO/tao/PortableServer/Operation_Table.h +++ b/TAO/tao/PortableServer/Operation_Table.h @@ -16,12 +16,12 @@ #include "ace/pre.h" #include "portableserver_export.h" -#include "tao/corbafwd.h" #if !defined (ACE_LACKS_PRAGMA_ONCE) # pragma once #endif /* ACE_LACKS_PRAGMA_ONCE */ +#include "tao/Abstract_Servant_Base.h" #include "tao/TAO_Singleton.h" #include "ace/Synch.h" #include "ace/Hash_Map_Manager.h" @@ -139,7 +139,8 @@ private: * * @brief Dynamic Hashing scheme for CORBA IDL operation name lookup. */ -class TAO_PortableServer_Export TAO_Dynamic_Hash_OpTable : public TAO_Operation_Table +class TAO_PortableServer_Export TAO_Dynamic_Hash_OpTable + : public TAO_Operation_Table { public: // = Initialization and termination methods. @@ -191,7 +192,8 @@ private: * @brief Operation table lookup strategy based on * linear search. Not efficient, but it works. */ -class TAO_PortableServer_Export TAO_Linear_Search_OpTable : public TAO_Operation_Table +class TAO_PortableServer_Export TAO_Linear_Search_OpTable + : public TAO_Operation_Table { public: // = Initialization and termination methods. @@ -246,12 +248,14 @@ public: * @brief Implements the active demultiplexed lookup strategy. The key is * assumed to provide an index directly into the internal table. */ -class TAO_PortableServer_Export TAO_Active_Demux_OpTable : public TAO_Operation_Table +class TAO_PortableServer_Export TAO_Active_Demux_OpTable + : public TAO_Operation_Table { public: // = Initialization and termination methods. /// Initializes the internal table with the database of operations - TAO_Active_Demux_OpTable (const TAO_operation_db_entry *db, CORBA::ULong dbsize); + TAO_Active_Demux_OpTable (const TAO_operation_db_entry *db, + CORBA::ULong dbsize); /// Destructor. ~TAO_Active_Demux_OpTable (void); @@ -293,7 +297,8 @@ private: * methods. Subclasses will define the lookup and hash * functions. */ -class TAO_PortableServer_Export TAO_Perfect_Hash_OpTable : public TAO_Operation_Table +class TAO_PortableServer_Export TAO_Perfect_Hash_OpTable + : public TAO_Operation_Table { public: /// Do nothing constructor. @@ -322,7 +327,8 @@ private: virtual unsigned int hash (const char *str, unsigned int len) = 0; - virtual const TAO_operation_db_entry* lookup (const char *str, unsigned int len) = 0; + virtual const TAO_operation_db_entry* lookup (const char *str, + unsigned int len) = 0; }; /** @@ -336,7 +342,8 @@ private: * used by 'bind ()' and 'find ()' methods. Subclasses will * define the lookup method. */ -class TAO_PortableServer_Export TAO_Binary_Search_OpTable : public TAO_Operation_Table +class TAO_PortableServer_Export TAO_Binary_Search_OpTable + : public TAO_Operation_Table { public: /// Do nothing constructor. diff --git a/TAO/tao/PortableServer/POA.cpp b/TAO/tao/PortableServer/POA.cpp index fc203354453..d64877ec69d 100644 --- a/TAO/tao/PortableServer/POA.cpp +++ b/TAO/tao/PortableServer/POA.cpp @@ -902,7 +902,7 @@ TAO_POA::adapter_name_i (ACE_ENV_SINGLE_ARG_DECL) ACE_NEW_THROW_EX (names, PortableInterceptor::AdapterName (len), CORBA::NO_MEMORY ( - CORBA_SystemException::_tao_minor_code ( + CORBA::SystemException::_tao_minor_code ( TAO_DEFAULT_MINOR_CODE, ENOMEM), CORBA::COMPLETED_NO)); @@ -1715,7 +1715,7 @@ TAO_POA::check_poa_manager_state (ACE_ENV_SINGLE_ARG_DECL) // exception.) ACE_THROW ( CORBA::TRANSIENT ( - CORBA_SystemException::_tao_minor_code ( + CORBA::SystemException::_tao_minor_code ( TAO_POA_DISCARDING, 1), CORBA::COMPLETED_NO)); @@ -1735,7 +1735,7 @@ TAO_POA::check_poa_manager_state (ACE_ENV_SINGLE_ARG_DECL) // Since there is no queuing in TAO, we immediately raise a // TRANSIENT exception. ACE_THROW (CORBA::TRANSIENT ( - CORBA_SystemException::_tao_minor_code ( + CORBA::SystemException::_tao_minor_code ( TAO_POA_HOLDING, 1), CORBA::COMPLETED_NO)); @@ -1756,7 +1756,7 @@ TAO_POA::check_poa_manager_state (ACE_ENV_SINGLE_ARG_DECL) // OBJ_ADAPTER system exception, with standard minor code 1, to // indicate that the object implementation is unavailable. ACE_THROW (CORBA::OBJ_ADAPTER ( - CORBA_SystemException::_tao_minor_code ( + CORBA::SystemException::_tao_minor_code ( TAO_POA_INACTIVE, 1), CORBA::COMPLETED_NO)); @@ -3524,8 +3524,8 @@ orbkey: else { ACE_NEW_THROW_EX (tmp, - CORBA_Object (data, - collocated), + CORBA::Object (data, + collocated), CORBA::INTERNAL ()); ACE_CHECK_RETURN (CORBA::Object::_nil ()); } @@ -3585,7 +3585,7 @@ TAO_POA::establish_components (ACE_ENV_SINGLE_ARG_DECL) ACE_NEW_THROW_EX (tao_info, TAO_IORInfo (this), CORBA::NO_MEMORY ( - CORBA_SystemException::_tao_minor_code ( + CORBA::SystemException::_tao_minor_code ( TAO_DEFAULT_MINOR_CODE, ENOMEM), CORBA::COMPLETED_NO)); @@ -3946,7 +3946,7 @@ TAO_POA::imr_notify_startup (ACE_ENV_SINGLE_ARG_DECL) ACE_CATCHANY { ACE_TRY_THROW (CORBA::TRANSIENT ( - CORBA_SystemException::_tao_minor_code (TAO_IMPLREPO_MINOR_CODE, 0), + CORBA::SystemException::_tao_minor_code (TAO_IMPLREPO_MINOR_CODE, 0), CORBA::COMPLETED_NO)); } ACE_ENDTRY; @@ -3999,7 +3999,7 @@ TAO_POA_Guard::TAO_POA_Guard (TAO_POA &poa if (!this->guard_.locked ()) ACE_THROW ( CORBA::INTERNAL ( - CORBA_SystemException::_tao_minor_code ( + CORBA::SystemException::_tao_minor_code ( TAO_GUARD_FAILURE, 0), CORBA::COMPLETED_NO)); @@ -4014,7 +4014,7 @@ TAO_POA_Guard::TAO_POA_Guard (TAO_POA &poa poa.cleanup_in_progress ()) ACE_THROW ( CORBA::BAD_INV_ORDER ( - CORBA_SystemException::_tao_minor_code ( + CORBA::SystemException::_tao_minor_code ( TAO_POA_BEING_DESTROYED, 0), CORBA::COMPLETED_NO)); diff --git a/TAO/tao/PortableServer/POA.h b/TAO/tao/PortableServer/POA.h index 28efcd4fac7..d3e60d5a8c3 100644 --- a/TAO/tao/PortableServer/POA.h +++ b/TAO/tao/PortableServer/POA.h @@ -26,7 +26,7 @@ // Object Adapter #include "Object_Adapter.h" -// POA Manager +// POAManager #include "POAManager.h" // POA Policy Set @@ -41,11 +41,14 @@ // Local Object #include "tao/LocalObject.h" +// Portable Interceptor +#include "tao/PortableInterceptorC.h" + // Map -#include "ace/Hash_Map_Manager.h" +#include "ace/Hash_Map_Manager_T.h" -// Vector -#include "ace/Containers.h" +// ACE_Array_Base +#include "ace/Array_Base.h" // Locking #include "ace/Synch.h" @@ -893,7 +896,7 @@ protected: #endif /* TAO_HAS_MINIMUM_CORBA */ - typedef ACE_Hash_Map_Manager<ACE_CString, TAO_POA *, ACE_Null_Mutex> + typedef ACE_Hash_Map_Manager_Ex<ACE_CString, TAO_POA *, ACE_Hash<ACE_CString>, ACE_Equal_To<ACE_CString>, ACE_Null_Mutex> CHILDREN; CHILDREN children_; diff --git a/TAO/tao/PortableServer/PolicyS.cpp b/TAO/tao/PortableServer/PolicyS.cpp index 4f012c33cde..bb8ad64ba03 100644 --- a/TAO/tao/PortableServer/PolicyS.cpp +++ b/TAO/tao/PortableServer/PolicyS.cpp @@ -633,7 +633,7 @@ POA_CORBA::_TAO_Policy_ThruPOA_Proxy_Impl::_TAO_Policy_ThruPOA_Proxy_Impl (void) // ThruPOA Implementation of the IDL interface methods CORBA::PolicyType POA_CORBA::_TAO_Policy_ThruPOA_Proxy_Impl::policy_type ( - CORBA_Object *_collocated_tao_target_ + CORBA::Object *_collocated_tao_target_ ACE_ENV_ARG_DECL ) ACE_THROW_SPEC (( @@ -666,7 +666,7 @@ CORBA::PolicyType POA_CORBA::_TAO_Policy_ThruPOA_Proxy_Impl::policy_type ( } ::CORBA::Policy_ptr POA_CORBA::_TAO_Policy_ThruPOA_Proxy_Impl::copy ( - CORBA_Object *_collocated_tao_target_ + CORBA::Object *_collocated_tao_target_ ACE_ENV_ARG_DECL ) ACE_THROW_SPEC (( @@ -699,7 +699,7 @@ CORBA::PolicyType POA_CORBA::_TAO_Policy_ThruPOA_Proxy_Impl::policy_type ( } void POA_CORBA::_TAO_Policy_ThruPOA_Proxy_Impl::destroy ( - CORBA_Object *_collocated_tao_target_ + CORBA::Object *_collocated_tao_target_ ACE_ENV_ARG_DECL ) ACE_THROW_SPEC (( @@ -743,7 +743,7 @@ POA_CORBA::_TAO_Policy_Direct_Proxy_Impl::_TAO_Policy_Direct_Proxy_Impl (void) {} CORBA::PolicyType POA_CORBA::_TAO_Policy_Direct_Proxy_Impl::policy_type ( - CORBA_Object *_collocated_tao_target_ + CORBA::Object *_collocated_tao_target_ ACE_ENV_ARG_DECL ) ACE_THROW_SPEC (( @@ -760,7 +760,7 @@ CORBA::PolicyType POA_CORBA::_TAO_Policy_Direct_Proxy_Impl::policy_type ( } ::CORBA::Policy_ptr POA_CORBA::_TAO_Policy_Direct_Proxy_Impl::copy ( - CORBA_Object *_collocated_tao_target_ + CORBA::Object *_collocated_tao_target_ ACE_ENV_ARG_DECL ) ACE_THROW_SPEC (( @@ -777,7 +777,7 @@ CORBA::PolicyType POA_CORBA::_TAO_Policy_Direct_Proxy_Impl::policy_type ( } void POA_CORBA::_TAO_Policy_Direct_Proxy_Impl::destroy ( - CORBA_Object *_collocated_tao_target_ + CORBA::Object *_collocated_tao_target_ ACE_ENV_ARG_DECL ) ACE_THROW_SPEC (( @@ -1120,7 +1120,7 @@ void POA_CORBA::Policy::_interface_skel ( ) { POA_CORBA::Policy *_tao_impl = (POA_CORBA::Policy *) _tao_object_reference; - CORBA_InterfaceDef_ptr _tao_retval = 0; + CORBA::InterfaceDef_ptr _tao_retval = 0; CORBA::Boolean _tao_result = 0; TAO_IFR_Client_Adapter *_tao_adapter = diff --git a/TAO/tao/PortableServer/PolicyS.h b/TAO/tao/PortableServer/PolicyS.h index 1b819c63f3f..acc95374bc7 100644 --- a/TAO/tao/PortableServer/PolicyS.h +++ b/TAO/tao/PortableServer/PolicyS.h @@ -217,7 +217,7 @@ TAO_NAMESPACE POA_CORBA virtual ~_TAO_Policy_ThruPOA_Proxy_Impl (void) { } virtual CORBA::PolicyType policy_type ( - CORBA_Object *_collocated_tao_target_ + CORBA::Object *_collocated_tao_target_ ACE_ENV_ARG_DECL ) ACE_THROW_SPEC (( @@ -225,7 +225,7 @@ TAO_NAMESPACE POA_CORBA )); virtual ::CORBA::Policy_ptr copy ( - CORBA_Object *_collocated_tao_target_ + CORBA::Object *_collocated_tao_target_ ACE_ENV_ARG_DECL ) ACE_THROW_SPEC (( @@ -233,7 +233,7 @@ TAO_NAMESPACE POA_CORBA )); virtual void destroy ( - CORBA_Object *_collocated_tao_target_ + CORBA::Object *_collocated_tao_target_ ACE_ENV_ARG_DECL ) ACE_THROW_SPEC (( @@ -262,7 +262,7 @@ public: virtual ~_TAO_Policy_Direct_Proxy_Impl (void) { } virtual CORBA::PolicyType policy_type ( - CORBA_Object *_collocated_tao_target_ + CORBA::Object *_collocated_tao_target_ ACE_ENV_ARG_DECL ) ACE_THROW_SPEC (( @@ -270,7 +270,7 @@ public: )); virtual ::CORBA::Policy_ptr copy ( - CORBA_Object *_collocated_tao_target_ + CORBA::Object *_collocated_tao_target_ ACE_ENV_ARG_DECL ) ACE_THROW_SPEC (( @@ -278,7 +278,7 @@ public: )); virtual void destroy ( - CORBA_Object *_collocated_tao_target_ + CORBA::Object *_collocated_tao_target_ ACE_ENV_ARG_DECL ) ACE_THROW_SPEC (( diff --git a/TAO/tao/PortableServer/PortableServerC.cpp b/TAO/tao/PortableServer/PortableServerC.cpp index 205005ecc13..d271de083ab 100644 --- a/TAO/tao/PortableServer/PortableServerC.cpp +++ b/TAO/tao/PortableServer/PortableServerC.cpp @@ -297,7 +297,7 @@ TAO_NAMESPACE_END // Default constructor. PortableServer::ForwardRequest::ForwardRequest (void) - : CORBA_UserException ( + : CORBA::UserException ( "IDL:omg.org/PortableServer/ForwardRequest:1.0", "ForwardRequest" ) @@ -311,7 +311,7 @@ PortableServer::ForwardRequest::~ForwardRequest (void) // Copy constructor. PortableServer::ForwardRequest::ForwardRequest (const ::PortableServer::ForwardRequest &_tao_excp) - : CORBA_UserException ( + : CORBA::UserException ( _tao_excp._rep_id (), _tao_excp._name () ) @@ -323,7 +323,7 @@ PortableServer::ForwardRequest::ForwardRequest (const ::PortableServer::ForwardR PortableServer::ForwardRequest& PortableServer::ForwardRequest::operator= (const ::PortableServer::ForwardRequest &_tao_excp) { - this->CORBA_UserException::operator= (_tao_excp); + this->UserException::operator= (_tao_excp); this->forward_reference = CORBA::Object::_duplicate (_tao_excp.forward_reference.in ()); return *this; } @@ -400,7 +400,7 @@ void PortableServer::ForwardRequest::_tao_decode ( PortableServer::ForwardRequest::ForwardRequest ( const CORBA::Object_ptr _tao_forward_reference ) - : CORBA_UserException ( + : CORBA::UserException ( "IDL:omg.org/PortableServer/ForwardRequest:1.0", "ForwardRequest" ) @@ -480,7 +480,7 @@ CORBA::TypeCode_ptr PortableServer::ForwardRequest::_type (void) const // Default constructor. PortableServer::NotAGroupObject::NotAGroupObject (void) - : CORBA_UserException ( + : CORBA::UserException ( "IDL:omg.org/PortableServer/NotAGroupObject:1.0", "NotAGroupObject" ) @@ -494,7 +494,7 @@ PortableServer::NotAGroupObject::~NotAGroupObject (void) // Copy constructor. PortableServer::NotAGroupObject::NotAGroupObject (const ::PortableServer::NotAGroupObject &_tao_excp) - : CORBA_UserException ( + : CORBA::UserException ( _tao_excp._rep_id (), _tao_excp._name () ) @@ -505,7 +505,7 @@ PortableServer::NotAGroupObject::NotAGroupObject (const ::PortableServer::NotAGr PortableServer::NotAGroupObject& PortableServer::NotAGroupObject::operator= (const ::PortableServer::NotAGroupObject &_tao_excp) { - this->CORBA_UserException::operator= (_tao_excp); + this->UserException::operator= (_tao_excp); return *this; } @@ -3678,7 +3678,7 @@ const char* PortableServer::POAManager::_interface_repository_id (void) const // Default constructor. PortableServer::POAManager::AdapterInactive::AdapterInactive (void) - : CORBA_UserException ( + : CORBA::UserException ( "IDL:omg.org/PortableServer/POAManager/AdapterInactive:1.0", "AdapterInactive" ) @@ -3692,7 +3692,7 @@ PortableServer::POAManager::AdapterInactive::~AdapterInactive (void) // Copy constructor. PortableServer::POAManager::AdapterInactive::AdapterInactive (const ::PortableServer::POAManager::AdapterInactive &_tao_excp) - : CORBA_UserException ( + : CORBA::UserException ( _tao_excp._rep_id (), _tao_excp._name () ) @@ -3703,7 +3703,7 @@ PortableServer::POAManager::AdapterInactive::AdapterInactive (const ::PortableSe PortableServer::POAManager::AdapterInactive& PortableServer::POAManager::AdapterInactive::operator= (const ::PortableServer::POAManager::AdapterInactive &_tao_excp) { - this->CORBA_UserException::operator= (_tao_excp); + this->UserException::operator= (_tao_excp); return *this; } @@ -5294,7 +5294,7 @@ const char* PortableServer::POA::_interface_repository_id (void) const // Default constructor. PortableServer::POA::AdapterAlreadyExists::AdapterAlreadyExists (void) - : CORBA_UserException ( + : CORBA::UserException ( "IDL:omg.org/PortableServer/POA/AdapterAlreadyExists:1.0", "AdapterAlreadyExists" ) @@ -5308,7 +5308,7 @@ PortableServer::POA::AdapterAlreadyExists::~AdapterAlreadyExists (void) // Copy constructor. PortableServer::POA::AdapterAlreadyExists::AdapterAlreadyExists (const ::PortableServer::POA::AdapterAlreadyExists &_tao_excp) - : CORBA_UserException ( + : CORBA::UserException ( _tao_excp._rep_id (), _tao_excp._name () ) @@ -5319,7 +5319,7 @@ PortableServer::POA::AdapterAlreadyExists::AdapterAlreadyExists (const ::Portabl PortableServer::POA::AdapterAlreadyExists& PortableServer::POA::AdapterAlreadyExists::operator= (const ::PortableServer::POA::AdapterAlreadyExists &_tao_excp) { - this->CORBA_UserException::operator= (_tao_excp); + this->UserException::operator= (_tao_excp); return *this; } @@ -5378,7 +5378,7 @@ void PortableServer::POA::AdapterAlreadyExists::_tao_decode ( // Default constructor. PortableServer::POA::AdapterNonExistent::AdapterNonExistent (void) - : CORBA_UserException ( + : CORBA::UserException ( "IDL:omg.org/PortableServer/POA/AdapterNonExistent:1.0", "AdapterNonExistent" ) @@ -5392,7 +5392,7 @@ PortableServer::POA::AdapterNonExistent::~AdapterNonExistent (void) // Copy constructor. PortableServer::POA::AdapterNonExistent::AdapterNonExistent (const ::PortableServer::POA::AdapterNonExistent &_tao_excp) - : CORBA_UserException ( + : CORBA::UserException ( _tao_excp._rep_id (), _tao_excp._name () ) @@ -5403,7 +5403,7 @@ PortableServer::POA::AdapterNonExistent::AdapterNonExistent (const ::PortableSer PortableServer::POA::AdapterNonExistent& PortableServer::POA::AdapterNonExistent::operator= (const ::PortableServer::POA::AdapterNonExistent &_tao_excp) { - this->CORBA_UserException::operator= (_tao_excp); + this->UserException::operator= (_tao_excp); return *this; } @@ -5462,7 +5462,7 @@ void PortableServer::POA::AdapterNonExistent::_tao_decode ( // Default constructor. PortableServer::POA::InvalidPolicy::InvalidPolicy (void) - : CORBA_UserException ( + : CORBA::UserException ( "IDL:omg.org/PortableServer/POA/InvalidPolicy:1.0", "InvalidPolicy" ) @@ -5476,7 +5476,7 @@ PortableServer::POA::InvalidPolicy::~InvalidPolicy (void) // Copy constructor. PortableServer::POA::InvalidPolicy::InvalidPolicy (const ::PortableServer::POA::InvalidPolicy &_tao_excp) - : CORBA_UserException ( + : CORBA::UserException ( _tao_excp._rep_id (), _tao_excp._name () ) @@ -5488,7 +5488,7 @@ PortableServer::POA::InvalidPolicy::InvalidPolicy (const ::PortableServer::POA:: PortableServer::POA::InvalidPolicy& PortableServer::POA::InvalidPolicy::operator= (const ::PortableServer::POA::InvalidPolicy &_tao_excp) { - this->CORBA_UserException::operator= (_tao_excp); + this->UserException::operator= (_tao_excp); this->index = _tao_excp.index; return *this; } @@ -5549,7 +5549,7 @@ void PortableServer::POA::InvalidPolicy::_tao_decode ( PortableServer::POA::InvalidPolicy::InvalidPolicy ( CORBA::UShort _tao_index ) - : CORBA_UserException ( + : CORBA::UserException ( "IDL:omg.org/PortableServer/POA/InvalidPolicy:1.0", "InvalidPolicy" ) @@ -5561,7 +5561,7 @@ PortableServer::POA::InvalidPolicy::InvalidPolicy ( // Default constructor. PortableServer::POA::NoServant::NoServant (void) - : CORBA_UserException ( + : CORBA::UserException ( "IDL:omg.org/PortableServer/POA/NoServant:1.0", "NoServant" ) @@ -5575,7 +5575,7 @@ PortableServer::POA::NoServant::~NoServant (void) // Copy constructor. PortableServer::POA::NoServant::NoServant (const ::PortableServer::POA::NoServant &_tao_excp) - : CORBA_UserException ( + : CORBA::UserException ( _tao_excp._rep_id (), _tao_excp._name () ) @@ -5586,7 +5586,7 @@ PortableServer::POA::NoServant::NoServant (const ::PortableServer::POA::NoServan PortableServer::POA::NoServant& PortableServer::POA::NoServant::operator= (const ::PortableServer::POA::NoServant &_tao_excp) { - this->CORBA_UserException::operator= (_tao_excp); + this->UserException::operator= (_tao_excp); return *this; } @@ -5647,7 +5647,7 @@ void PortableServer::POA::NoServant::_tao_decode ( // Default constructor. PortableServer::POA::ObjectAlreadyActive::ObjectAlreadyActive (void) - : CORBA_UserException ( + : CORBA::UserException ( "IDL:omg.org/PortableServer/POA/ObjectAlreadyActive:1.0", "ObjectAlreadyActive" ) @@ -5661,7 +5661,7 @@ PortableServer::POA::ObjectAlreadyActive::~ObjectAlreadyActive (void) // Copy constructor. PortableServer::POA::ObjectAlreadyActive::ObjectAlreadyActive (const ::PortableServer::POA::ObjectAlreadyActive &_tao_excp) - : CORBA_UserException ( + : CORBA::UserException ( _tao_excp._rep_id (), _tao_excp._name () ) @@ -5672,7 +5672,7 @@ PortableServer::POA::ObjectAlreadyActive::ObjectAlreadyActive (const ::PortableS PortableServer::POA::ObjectAlreadyActive& PortableServer::POA::ObjectAlreadyActive::operator= (const ::PortableServer::POA::ObjectAlreadyActive &_tao_excp) { - this->CORBA_UserException::operator= (_tao_excp); + this->UserException::operator= (_tao_excp); return *this; } @@ -5731,7 +5731,7 @@ void PortableServer::POA::ObjectAlreadyActive::_tao_decode ( // Default constructor. PortableServer::POA::ObjectNotActive::ObjectNotActive (void) - : CORBA_UserException ( + : CORBA::UserException ( "IDL:omg.org/PortableServer/POA/ObjectNotActive:1.0", "ObjectNotActive" ) @@ -5745,7 +5745,7 @@ PortableServer::POA::ObjectNotActive::~ObjectNotActive (void) // Copy constructor. PortableServer::POA::ObjectNotActive::ObjectNotActive (const ::PortableServer::POA::ObjectNotActive &_tao_excp) - : CORBA_UserException ( + : CORBA::UserException ( _tao_excp._rep_id (), _tao_excp._name () ) @@ -5756,7 +5756,7 @@ PortableServer::POA::ObjectNotActive::ObjectNotActive (const ::PortableServer::P PortableServer::POA::ObjectNotActive& PortableServer::POA::ObjectNotActive::operator= (const ::PortableServer::POA::ObjectNotActive &_tao_excp) { - this->CORBA_UserException::operator= (_tao_excp); + this->UserException::operator= (_tao_excp); return *this; } @@ -5815,7 +5815,7 @@ void PortableServer::POA::ObjectNotActive::_tao_decode ( // Default constructor. PortableServer::POA::ServantAlreadyActive::ServantAlreadyActive (void) - : CORBA_UserException ( + : CORBA::UserException ( "IDL:omg.org/PortableServer/POA/ServantAlreadyActive:1.0", "ServantAlreadyActive" ) @@ -5829,7 +5829,7 @@ PortableServer::POA::ServantAlreadyActive::~ServantAlreadyActive (void) // Copy constructor. PortableServer::POA::ServantAlreadyActive::ServantAlreadyActive (const ::PortableServer::POA::ServantAlreadyActive &_tao_excp) - : CORBA_UserException ( + : CORBA::UserException ( _tao_excp._rep_id (), _tao_excp._name () ) @@ -5840,7 +5840,7 @@ PortableServer::POA::ServantAlreadyActive::ServantAlreadyActive (const ::Portabl PortableServer::POA::ServantAlreadyActive& PortableServer::POA::ServantAlreadyActive::operator= (const ::PortableServer::POA::ServantAlreadyActive &_tao_excp) { - this->CORBA_UserException::operator= (_tao_excp); + this->UserException::operator= (_tao_excp); return *this; } @@ -5899,7 +5899,7 @@ void PortableServer::POA::ServantAlreadyActive::_tao_decode ( // Default constructor. PortableServer::POA::ServantNotActive::ServantNotActive (void) - : CORBA_UserException ( + : CORBA::UserException ( "IDL:omg.org/PortableServer/POA/ServantNotActive:1.0", "ServantNotActive" ) @@ -5913,7 +5913,7 @@ PortableServer::POA::ServantNotActive::~ServantNotActive (void) // Copy constructor. PortableServer::POA::ServantNotActive::ServantNotActive (const ::PortableServer::POA::ServantNotActive &_tao_excp) - : CORBA_UserException ( + : CORBA::UserException ( _tao_excp._rep_id (), _tao_excp._name () ) @@ -5924,7 +5924,7 @@ PortableServer::POA::ServantNotActive::ServantNotActive (const ::PortableServer: PortableServer::POA::ServantNotActive& PortableServer::POA::ServantNotActive::operator= (const ::PortableServer::POA::ServantNotActive &_tao_excp) { - this->CORBA_UserException::operator= (_tao_excp); + this->UserException::operator= (_tao_excp); return *this; } @@ -5983,7 +5983,7 @@ void PortableServer::POA::ServantNotActive::_tao_decode ( // Default constructor. PortableServer::POA::WrongAdapter::WrongAdapter (void) - : CORBA_UserException ( + : CORBA::UserException ( "IDL:omg.org/PortableServer/POA/WrongAdapter:1.0", "WrongAdapter" ) @@ -5997,7 +5997,7 @@ PortableServer::POA::WrongAdapter::~WrongAdapter (void) // Copy constructor. PortableServer::POA::WrongAdapter::WrongAdapter (const ::PortableServer::POA::WrongAdapter &_tao_excp) - : CORBA_UserException ( + : CORBA::UserException ( _tao_excp._rep_id (), _tao_excp._name () ) @@ -6008,7 +6008,7 @@ PortableServer::POA::WrongAdapter::WrongAdapter (const ::PortableServer::POA::Wr PortableServer::POA::WrongAdapter& PortableServer::POA::WrongAdapter::operator= (const ::PortableServer::POA::WrongAdapter &_tao_excp) { - this->CORBA_UserException::operator= (_tao_excp); + this->UserException::operator= (_tao_excp); return *this; } @@ -6067,7 +6067,7 @@ void PortableServer::POA::WrongAdapter::_tao_decode ( // Default constructor. PortableServer::POA::WrongPolicy::WrongPolicy (void) - : CORBA_UserException ( + : CORBA::UserException ( "IDL:omg.org/PortableServer/POA/WrongPolicy:1.0", "WrongPolicy" ) @@ -6081,7 +6081,7 @@ PortableServer::POA::WrongPolicy::~WrongPolicy (void) // Copy constructor. PortableServer::POA::WrongPolicy::WrongPolicy (const ::PortableServer::POA::WrongPolicy &_tao_excp) - : CORBA_UserException ( + : CORBA::UserException ( _tao_excp._rep_id (), _tao_excp._name () ) @@ -6092,7 +6092,7 @@ PortableServer::POA::WrongPolicy::WrongPolicy (const ::PortableServer::POA::Wron PortableServer::POA::WrongPolicy& PortableServer::POA::WrongPolicy::operator= (const ::PortableServer::POA::WrongPolicy &_tao_excp) { - this->CORBA_UserException::operator= (_tao_excp); + this->UserException::operator= (_tao_excp); return *this; } @@ -6464,7 +6464,7 @@ const char* PortableServer::Current::_interface_repository_id (void) const // Default constructor. PortableServer::Current::NoContext::NoContext (void) - : CORBA_UserException ( + : CORBA::UserException ( "IDL:omg.org/PortableServer/Current/NoContext:1.0", "NoContext" ) @@ -6478,7 +6478,7 @@ PortableServer::Current::NoContext::~NoContext (void) // Copy constructor. PortableServer::Current::NoContext::NoContext (const ::PortableServer::Current::NoContext &_tao_excp) - : CORBA_UserException ( + : CORBA::UserException ( _tao_excp._rep_id (), _tao_excp._name () ) @@ -6489,7 +6489,7 @@ PortableServer::Current::NoContext::NoContext (const ::PortableServer::Current:: PortableServer::Current::NoContext& PortableServer::Current::NoContext::operator= (const ::PortableServer::Current::NoContext &_tao_excp) { - this->CORBA_UserException::operator= (_tao_excp); + this->UserException::operator= (_tao_excp); return *this; } diff --git a/TAO/tao/PortableServer/PortableServerC.h b/TAO/tao/PortableServer/PortableServerC.h index d654972f389..05bcbcc9a8b 100644 --- a/TAO/tao/PortableServer/PortableServerC.h +++ b/TAO/tao/PortableServer/PortableServerC.h @@ -200,10 +200,10 @@ TAO_NAMESPACE PortableServer virtual void _downcast ( void* target, - CORBA_Object *src + CORBA::Object *src ACE_ENV_ARG_DECL_WITH_DEFAULTS ); - virtual CORBA_Object* _upcast (void *src) const; + virtual CORBA::Object* _upcast (void *src) const; }; #endif /* end #if !defined */ @@ -1833,7 +1833,7 @@ TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_NotAGroupObject; #define _PORTABLESERVER_POAMANAGER_CH_ class TAO_PortableServer_Export POAManager - : public virtual CORBA_Object + : public virtual CORBA::Object { public: #if !defined(__GNUC__) || !defined (ACE_HAS_GNUG_PRE_2_8) @@ -2058,7 +2058,7 @@ TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_NotAGroupObject; #define _PORTABLESERVER_ADAPTERACTIVATOR_CH_ class TAO_PortableServer_Export AdapterActivator - : public virtual CORBA_Object + : public virtual CORBA::Object { public: #if !defined(__GNUC__) || !defined (ACE_HAS_GNUG_PRE_2_8) @@ -2196,7 +2196,7 @@ TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_NotAGroupObject; #define _PORTABLESERVER_SERVANTMANAGER_CH_ class TAO_PortableServer_Export ServantManager - : public virtual CORBA_Object + : public virtual CORBA::Object { public: #if !defined(__GNUC__) || !defined (ACE_HAS_GNUG_PRE_2_8) @@ -2645,7 +2645,7 @@ TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_NotAGroupObject; #define _PORTABLESERVER_POA_CH_ class TAO_PortableServer_Export POA - : public virtual CORBA_Object + : public virtual CORBA::Object { public: #if !defined(__GNUC__) || !defined (ACE_HAS_GNUG_PRE_2_8) diff --git a/TAO/tao/PortableServer/Servant_Base.cpp b/TAO/tao/PortableServer/Servant_Base.cpp index ad32233d67a..eae00f394d4 100644 --- a/TAO/tao/PortableServer/Servant_Base.cpp +++ b/TAO/tao/PortableServer/Servant_Base.cpp @@ -1,5 +1,3 @@ -// $Id$ - #include "Servant_Base.h" #include "POA.h" #include "Operation_Table.h" @@ -90,7 +88,7 @@ TAO_ServantBase::_non_existent (ACE_ENV_SINGLE_ARG_DECL_NOT_USED) return 0; } -CORBA_InterfaceDef_ptr +CORBA::InterfaceDef_ptr TAO_ServantBase::_get_interface (ACE_ENV_SINGLE_ARG_DECL) { TAO_IFR_Client_Adapter *adapter = @@ -204,7 +202,7 @@ void TAO_ServantBase::synchronous_upcall_dispatch (TAO_ServerRequest &req, // Fetch the skeleton for this operation if (this->_find (opname, skel, req.operation_length()) == -1) { - ACE_THROW (CORBA_BAD_OPERATION()); + ACE_THROW (CORBA::BAD_OPERATION ()); } CORBA::Boolean send_reply = !req.sync_with_server () @@ -259,7 +257,7 @@ void TAO_ServantBase::synchronous_upcall_dispatch (TAO_ServerRequest &req, // the appropriate reply to the client if (send_reply) { - req.tao_send_reply_exception(ex); + req.tao_send_reply_exception (ex); } } ACE_ENDTRY; @@ -289,7 +287,7 @@ void TAO_ServantBase::asynchronous_upcall_dispatch (TAO_ServerRequest &req, // Fetch the skeleton for this operation if (this->_find (opname, skel, req.operation_length()) == -1) { - ACE_THROW (CORBA_BAD_OPERATION()); + ACE_THROW (CORBA::BAD_OPERATION ()); } ACE_TRY @@ -357,7 +355,7 @@ TAO_RefCountServantBase::_add_ref (ACE_ENV_SINGLE_ARG_DECL_NOT_USED) void TAO_RefCountServantBase::_remove_ref (ACE_ENV_SINGLE_ARG_DECL_NOT_USED) { - CORBA::ULong new_count = --this->ref_count_; + const CORBA::ULong new_count = --this->ref_count_; if (new_count == 0) { diff --git a/TAO/tao/PortableServer/Servant_Base.h b/TAO/tao/PortableServer/Servant_Base.h index b04fcfc0cbc..6c4a47ea519 100644 --- a/TAO/tao/PortableServer/Servant_Base.h +++ b/TAO/tao/PortableServer/Servant_Base.h @@ -30,7 +30,8 @@ class TAO_Operation_Table; * * @brief Base class for skeletons and servants. * - * The POA spec requires that all servants inherit from this class. + * The POA spec requires that all servants inherit from this class' + * base class. */ class TAO_PortableServer_Export TAO_ServantBase : public virtual TAO_Abstract_ServantBase @@ -38,7 +39,6 @@ class TAO_PortableServer_Export TAO_ServantBase public: friend class TAO_POA; friend class TAO_Object_Adapter; - friend class CORBA_Object; friend class TAO_Local_ServantBase; /// Destructor. @@ -59,11 +59,12 @@ public: ); /// Query the Interface Repository for the interface definition. - virtual CORBA_InterfaceDef_ptr _get_interface ( - ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS); + virtual CORBA::InterfaceDef_ptr _get_interface ( + ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS); - /// Default <_get_component>: always returns CORBA::Object::_nil(). - virtual CORBA::Object_ptr _get_component (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS); + /// Default @c _get_component>: always returns CORBA::Object::_nil(). + virtual CORBA::Object_ptr _get_component ( + ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS); /// Get the correct vtable. virtual void *_downcast (const char *repository_id) = 0; diff --git a/TAO/tao/PortableServer/ServerInterceptorAdapter.cpp b/TAO/tao/PortableServer/ServerInterceptorAdapter.cpp index b862fca42d2..43b54df9cf2 100644 --- a/TAO/tao/PortableServer/ServerInterceptorAdapter.cpp +++ b/TAO/tao/PortableServer/ServerInterceptorAdapter.cpp @@ -126,7 +126,7 @@ send_reply (TAO_ServerRequestInfo *ri // interception point. // Unwind the stack. - size_t len = this->stack_size_; + const size_t len = this->stack_size_; for (size_t i = 0; i < len; ++i) { // Pop the interceptor off of the flow stack before it is @@ -161,7 +161,7 @@ send_exception (TAO_ServerRequestInfo *ri ACE_TRY { // Unwind the flow stack. - size_t len = this->stack_size_; + const size_t len = this->stack_size_; for (size_t i = 0; i < len; ++i) { // Pop the interceptor off of the flow stack before it is @@ -232,7 +232,7 @@ send_other (TAO_ServerRequestInfo *ri ACE_TRY { // Unwind the flow stack. - size_t len = this->stack_size_; + const size_t len = this->stack_size_; for (size_t i = 0; i < len; ++i) { // Pop the interceptor off of the flow stack before it is diff --git a/TAO/tao/PortableServer/ServerRequestInfo.cpp b/TAO/tao/PortableServer/ServerRequestInfo.cpp index 9bf6265b259..fe3d7d44b69 100644 --- a/TAO/tao/PortableServer/ServerRequestInfo.cpp +++ b/TAO/tao/PortableServer/ServerRequestInfo.cpp @@ -274,7 +274,7 @@ TAO_ServerRequestInfo::sending_exception (ACE_ENV_SINGLE_ARG_DECL) ACE_NEW_THROW_EX (temp, CORBA::Any, CORBA::NO_MEMORY ( - CORBA_SystemException::_tao_minor_code ( + CORBA::SystemException::_tao_minor_code ( TAO_DEFAULT_MINOR_CODE, ENOMEM), CORBA::COMPLETED_NO)); diff --git a/TAO/tao/PortableServer/ThruPOA_Object_Proxy_Impl.cpp b/TAO/tao/PortableServer/ThruPOA_Object_Proxy_Impl.cpp index 46a86fd4d89..cdcf0596013 100644 --- a/TAO/tao/PortableServer/ThruPOA_Object_Proxy_Impl.cpp +++ b/TAO/tao/PortableServer/ThruPOA_Object_Proxy_Impl.cpp @@ -86,7 +86,7 @@ TAO_ThruPOA_Object_Proxy_Impl::_non_existent (const CORBA::Object_ptr target return _tao_retval; } -CORBA_InterfaceDef_ptr +CORBA::InterfaceDef_ptr TAO_ThruPOA_Object_Proxy_Impl::_get_interface (const CORBA::Object_ptr target ACE_ENV_ARG_DECL) { diff --git a/TAO/tao/PortableServer/ThruPOA_Object_Proxy_Impl.h b/TAO/tao/PortableServer/ThruPOA_Object_Proxy_Impl.h index 308a42cb11f..f90bfacf09e 100644 --- a/TAO/tao/PortableServer/ThruPOA_Object_Proxy_Impl.h +++ b/TAO/tao/PortableServer/ThruPOA_Object_Proxy_Impl.h @@ -1,3 +1,4 @@ +// -*- C++ -*- //============================================================================= /** @@ -55,7 +56,7 @@ public: virtual CORBA::Boolean _non_existent (const CORBA::Object_ptr target ACE_ENV_ARG_DECL); - virtual CORBA_InterfaceDef_ptr _get_interface ( + virtual CORBA::InterfaceDef_ptr _get_interface ( const CORBA::Object_ptr target ACE_ENV_ARG_DECL ); |