diff options
author | boris <boris@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2003-01-02 16:51:39 +0000 |
---|---|---|
committer | boris <boris@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2003-01-02 16:51:39 +0000 |
commit | a032351cae4df8de396c73aee2f32017e05699c2 (patch) | |
tree | 9dfb984060e7cbb9c703ff1cebcc68152809cbad | |
parent | 00d9c213dcb93e3b60b5184471aa9dbb423e61f2 (diff) | |
download | ATCD-a032351cae4df8de396c73aee2f32017e05699c2.tar.gz |
ChangeLogTag: Thu Jan 2 10:33:29 2003 Boris S Kolpackov <boris@isis-server.isis.vanderbilt.edu>
-rw-r--r-- | TAO/ChangeLog | 31 | ||||
-rw-r--r-- | TAO/tao/PortableServer/ImplRepoC.cpp | 6990 | ||||
-rw-r--r-- | TAO/tao/PortableServer/ImplRepoC.h | 1456 | ||||
-rw-r--r-- | TAO/tao/PortableServer/ImplRepoC.i | 1024 | ||||
-rw-r--r-- | TAO/tao/PortableServer/ImplRepoS.cpp | 3987 | ||||
-rw-r--r-- | TAO/tao/PortableServer/ImplRepoS.h | 398 | ||||
-rw-r--r-- | TAO/tao/PortableServer/ImplRepoS.i | 1 | ||||
-rw-r--r-- | TAO/tao/PortableServer/ImplRepoS_T.cpp | 7 | ||||
-rw-r--r-- | TAO/tao/PortableServer/ImplRepoS_T.h | 144 | ||||
-rw-r--r-- | TAO/tao/PortableServer/ImplRepoS_T.i | 177 | ||||
-rw-r--r-- | TAO/tao/PortableServer/diffs/ImplRepo.diff | 10 |
11 files changed, 8683 insertions, 5542 deletions
diff --git a/TAO/ChangeLog b/TAO/ChangeLog index 6eac9a67bc7..569cf0de611 100644 --- a/TAO/ChangeLog +++ b/TAO/ChangeLog @@ -1,3 +1,18 @@ +Thu Jan 2 10:33:29 2003 Boris S Kolpackov <boris@isis-server.isis.vanderbilt.edu> + + * tao/PortableServer/ImplRepoC.h: + * tao/PortableServer/ImplRepoS.cpp: + * tao/PortableServer/ImplRepoS.i: + * tao/PortableServer/ImplRepoS_T.h: + * tao/PortableServer/ImplRepoC.cpp: + * tao/PortableServer/ImplRepoC.i: + * tao/PortableServer/ImplRepoS.h: + * tao/PortableServer/ImplRepoS_T.cpp: + * tao/PortableServer/ImplRepoS_T.i: + * tao/PortableServer/diffs/ImplRepo.diff: Regenerated + ImplRepo.pidl which apparently fixed bug 1413. ImplRepo.diff + was regenerate as well. + Thu Jan 2 00:15:57 2003 Balachandran Natarajan <bala@isis-server.isis.vanderbilt.edu> * tests/Bug_1020_Regression/ORB_Task.cpp: @@ -11,24 +26,24 @@ Thu Jan 2 00:15:57 2003 Balachandran Natarajan <bala@isis-server.isis.vanderb * tests/Nested_Upcall_Crash/server.cpp: * tests/Server_Connection_Purging/client.cpp: Added missing includes to keep the compilation on AIX happy. Missing header - files were tao/Environment.h and ace/Reactor.h. + files were tao/Environment.h and ace/Reactor.h. * tao/Utils/Servant_Var.inl: * tao/Utils/Servant_Var.h: #included ace/CORBA_Macros.h and - tao/Environment.h to keep the AIX compilers happy. - - Thanks to Jon Wackley for donating these patches. + tao/Environment.h to keep the AIX compilers happy. + + Thanks to Jon Wackley for donating these patches. Tue Dec 31 23:53:17 2002 Balachandran Natarajan <bala@isis-server.isis.vanderbilt.edu> * TAO_IDL/include/idl_global.h: Added missing include to get it - compiling on AIX. + compiling on AIX. * tests/Bug_1269_Regression/ORB_Task.cpp: #included - tao/Environment.h to get it compiling on AIX. + tao/Environment.h to get it compiling on AIX. Thanks to Jon Wackley for the patches. - + Tue Dec 31 21:03:37 2002 Balachandran Natarajan <bala@isis-server.isis.vanderbilt.edu> * performance-tests/Makefile: Added the new directory to the list @@ -41,7 +56,7 @@ Tue Dec 31 20:55:48 2002 Balachandran Natarajan <bala@isis-server.isis.vanderb * performance-tests/Memory/Single_Threaded: A simple test for tracking memory usage. This is going to be compiled only on Linux - * performance-tests/Memory/Single_Threaded/Memory_Growth.mpc: + * performance-tests/Memory/Single_Threaded/Memory_Growth.mpc: * performance-tests/Memory/Single_Threaded/Makefile: * performance-tests/Memory/Single_Threaded/Memory_Growth.cpp: * performance-tests/Memory/Single_Threaded/Memory_Growth.h: diff --git a/TAO/tao/PortableServer/ImplRepoC.cpp b/TAO/tao/PortableServer/ImplRepoC.cpp index b0499ac0fc3..5e3080c01ec 100644 --- a/TAO/tao/PortableServer/ImplRepoC.cpp +++ b/TAO/tao/PortableServer/ImplRepoC.cpp @@ -19,8 +19,11 @@ // Information about TAO is available at: // http://www.cs.wustl.edu/~schmidt/TAO.html -#include "ImplRepoC.h" +// TAO_IDL - Generated from +// be/be_codegen.cpp:314 + +#include "ImplRepoC.h" #include "tao/Stub.h" #include "tao/Invocation.h" #include "tao/PortableInterceptor.h" @@ -31,6 +34,8 @@ #include "tao/ClientInterceptorAdapter.h" #endif /* TAO_HAS_INTERCEPTORS == 1 */ + + #if defined (__BORLANDC__) #pragma option -w-rvl -w-rch -w-ccc -w-aus -w-sig #endif /* __BORLANDC__ */ @@ -39,9 +44,8 @@ #include "ImplRepoC.i" #endif /* !defined INLINE */ - // TAO_IDL - Generated from -// be/be_visitor_interface/interface_cs.cpp:67 +// be/be_visitor_interface/interface_cs.cpp:61 int ImplementationRepository::ServerObject::_tao_class_id = 0; @@ -88,13 +92,14 @@ tao_ImplementationRepository_ServerObject_upcast ( return *tmp; } +// TAO_IDL - Generated from +// be/be_interface.cpp:721 + // ************************************************************* // ImplementationRepository::ServerObject_var -// TAO_IDL - Generated from -// be/be_interface.cpp:654 // ************************************************************* -ImplementationRepository::ServerObject_var::ServerObject_var (void) // default constructor +ImplementationRepository::ServerObject_var::ServerObject_var (void) : ptr_ (ServerObject::_nil ()) {} @@ -104,12 +109,12 @@ ImplementationRepository::ServerObject_var::ptr (void) const return this->ptr_; } -ImplementationRepository::ServerObject_var::ServerObject_var (const ::ImplementationRepository::ServerObject_var &p) // copy constructor +ImplementationRepository::ServerObject_var::ServerObject_var (const ::ImplementationRepository::ServerObject_var &p) : TAO_Base_var (), ptr_ (ServerObject::_duplicate (p.ptr ())) {} -ImplementationRepository::ServerObject_var::~ServerObject_var (void) // destructor +ImplementationRepository::ServerObject_var::~ServerObject_var (void) { CORBA::release (this->ptr_); } @@ -138,7 +143,7 @@ ImplementationRepository::ServerObject_var::operator const ::ImplementationRepos return this->ptr_; } -ImplementationRepository::ServerObject_var::operator ::ImplementationRepository::ServerObject_ptr &() // cast +ImplementationRepository::ServerObject_var::operator ::ImplementationRepository::ServerObject_ptr &() // cast { return this->ptr_; } @@ -213,10 +218,11 @@ ImplementationRepository::ServerObject_var::tao_upcast (void *src) return *tmp; } +// TAO_IDL - Generated from +// be/be_interface.cpp:1030 + // ************************************************************* // ImplementationRepository::ServerObject_out -// TAO_IDL - Generated from -// be/be_interface.cpp:932 // ************************************************************* ImplementationRepository::ServerObject_out::ServerObject_out (ServerObject_ptr &p) @@ -225,14 +231,14 @@ ImplementationRepository::ServerObject_out::ServerObject_out (ServerObject_ptr & this->ptr_ = ::ImplementationRepository::ServerObject::_nil (); } -ImplementationRepository::ServerObject_out::ServerObject_out (ServerObject_var &p) // constructor from _var +ImplementationRepository::ServerObject_out::ServerObject_out (ServerObject_var &p) : ptr_ (p.out ()) { CORBA::release (this->ptr_); this->ptr_ = ::ImplementationRepository::ServerObject::_nil (); } -ImplementationRepository::ServerObject_out::ServerObject_out (const ::ImplementationRepository::ServerObject_out &p) // copy constructor +ImplementationRepository::ServerObject_out::ServerObject_out (const ::ImplementationRepository::ServerObject_out &p) : ptr_ (ACE_const_cast (ServerObject_out &, p).ptr_) {} @@ -263,7 +269,7 @@ ImplementationRepository::ServerObject_out::operator ::ImplementationRepository: } ::ImplementationRepository::ServerObject_ptr & -ImplementationRepository::ServerObject_out::ptr (void) // ptr +ImplementationRepository::ServerObject_out::ptr (void) { return this->ptr_; } @@ -274,37 +280,45 @@ ImplementationRepository::ServerObject_out::operator-> (void) return this->ptr_; } +// TAO_IDL - Generated from +// be/be_visitor_interface/interceptors_cs.cpp:56 #if (TAO_HAS_INTERCEPTORS == 1) + +// TAO_IDL - Generated from +// be/be_visitor_operation/interceptors_cs.cpp:76 + class TAO_ClientRequestInfo_ImplementationRepository_ServerObject_ping : public TAO_ClientRequestInfo_i { public: TAO_ClientRequestInfo_ImplementationRepository_ServerObject_ping ( TAO_GIOP_Invocation *_tao_invocation, - CORBA::Object_ptr _tao_target ACE_ENV_ARG_DECL_WITH_DEFAULTS - ); - - virtual Dynamic::ParameterList * arguments (ACE_ENV_SINGLE_ARG_DECL) - ACE_THROW_SPEC ((CORBA::SystemException)); - - virtual Dynamic::ExceptionList * exceptions (ACE_ENV_SINGLE_ARG_DECL) - ACE_THROW_SPEC ((CORBA::SystemException)); - - virtual CORBA::Any * result (ACE_ENV_SINGLE_ARG_DECL) - ACE_THROW_SPEC ((CORBA::SystemException)); - -private: - TAO_ClientRequestInfo_ImplementationRepository_ServerObject_ping (const TAO_ClientRequestInfo_ImplementationRepository_ServerObject_ping &); - void operator= (const TAO_ClientRequestInfo_ImplementationRepository_ServerObject_ping &); - - -}; - -TAO_ClientRequestInfo_ImplementationRepository_ServerObject_ping::TAO_ClientRequestInfo_ImplementationRepository_ServerObject_ping ( - TAO_GIOP_Invocation *_tao_invocation, - CORBA::Object_ptr _tao_target ACE_ENV_ARG_DECL_NOT_USED - ) - : TAO_ClientRequestInfo_i (_tao_invocation, _tao_target) + CORBA::Object_ptr _tao_target + ACE_ENV_ARG_DECL_WITH_DEFAULTS); + + virtual Dynamic::ParameterList * arguments (ACE_ENV_SINGLE_ARG_DECL) + ACE_THROW_SPEC ((CORBA::SystemException)); + + virtual Dynamic::ExceptionList * exceptions (ACE_ENV_SINGLE_ARG_DECL) + ACE_THROW_SPEC ((CORBA::SystemException)); + + virtual CORBA::Any * result (ACE_ENV_SINGLE_ARG_DECL) + ACE_THROW_SPEC ((CORBA::SystemException)); + + private: + TAO_ClientRequestInfo_ImplementationRepository_ServerObject_ping (const TAO_ClientRequestInfo_ImplementationRepository_ServerObject_ping &); + void operator= (const TAO_ClientRequestInfo_ImplementationRepository_ServerObject_ping &); + }; + + // TAO_IDL - Generated from + // be/be_visitor_operation/interceptors_cs.cpp:378 + + TAO_ClientRequestInfo_ImplementationRepository_ServerObject_ping::TAO_ClientRequestInfo_ImplementationRepository_ServerObject_ping ( + TAO_GIOP_Invocation *_tao_invocation, + CORBA::Object_ptr _tao_target + ACE_ENV_ARG_DECL_NOT_USED + ) + : TAO_ClientRequestInfo_i (_tao_invocation, _tao_target) {} Dynamic::ParameterList * @@ -315,9 +329,8 @@ TAO_ClientRequestInfo_ImplementationRepository_ServerObject_ping::arguments (ACE Dynamic::ParameterList *parameter_list = TAO_RequestInfo_Util::make_parameter_list (ACE_ENV_SINGLE_ARG_PARAMETER); ACE_CHECK_RETURN (0); - + return parameter_list; - } Dynamic::ExceptionList * @@ -328,11 +341,11 @@ TAO_ClientRequestInfo_ImplementationRepository_ServerObject_ping::exceptions (AC Dynamic::ExceptionList *exception_list = TAO_RequestInfo_Util::make_exception_list (ACE_ENV_SINGLE_ARG_PARAMETER); ACE_CHECK_RETURN (0); - + return exception_list; } -CORBA::Any * +CORBA::Any * TAO_ClientRequestInfo_ImplementationRepository_ServerObject_ping::result (ACE_ENV_SINGLE_ARG_DECL) ACE_THROW_SPEC ((CORBA::SystemException)) { @@ -341,39 +354,46 @@ TAO_ClientRequestInfo_ImplementationRepository_ServerObject_ping::result (ACE_EN CORBA::Any *result_any = TAO_RequestInfo_Util::make_any (tk_void_any ACE_ENV_ARG_PARAMETER); ACE_CHECK_RETURN (0); - + return result_any; } + + +// TAO_IDL - Generated from +// be/be_visitor_operation/interceptors_cs.cpp:76 + class TAO_ClientRequestInfo_ImplementationRepository_ServerObject_shutdown : public TAO_ClientRequestInfo_i { public: TAO_ClientRequestInfo_ImplementationRepository_ServerObject_shutdown ( TAO_GIOP_Invocation *_tao_invocation, - CORBA::Object_ptr _tao_target ACE_ENV_ARG_DECL_WITH_DEFAULTS - ); - - virtual Dynamic::ParameterList * arguments (ACE_ENV_SINGLE_ARG_DECL) - ACE_THROW_SPEC ((CORBA::SystemException)); - - virtual Dynamic::ExceptionList * exceptions (ACE_ENV_SINGLE_ARG_DECL) - ACE_THROW_SPEC ((CORBA::SystemException)); - - virtual CORBA::Any * result (ACE_ENV_SINGLE_ARG_DECL) - ACE_THROW_SPEC ((CORBA::SystemException)); - -private: - TAO_ClientRequestInfo_ImplementationRepository_ServerObject_shutdown (const TAO_ClientRequestInfo_ImplementationRepository_ServerObject_shutdown &); - void operator= (const TAO_ClientRequestInfo_ImplementationRepository_ServerObject_shutdown &); - - -}; - -TAO_ClientRequestInfo_ImplementationRepository_ServerObject_shutdown::TAO_ClientRequestInfo_ImplementationRepository_ServerObject_shutdown ( - TAO_GIOP_Invocation *_tao_invocation, - CORBA::Object_ptr _tao_target ACE_ENV_ARG_DECL_NOT_USED - ) - : TAO_ClientRequestInfo_i (_tao_invocation, _tao_target) + CORBA::Object_ptr _tao_target + ACE_ENV_ARG_DECL_WITH_DEFAULTS); + + virtual Dynamic::ParameterList * arguments (ACE_ENV_SINGLE_ARG_DECL) + ACE_THROW_SPEC ((CORBA::SystemException)); + + virtual Dynamic::ExceptionList * exceptions (ACE_ENV_SINGLE_ARG_DECL) + ACE_THROW_SPEC ((CORBA::SystemException)); + + virtual CORBA::Any * result (ACE_ENV_SINGLE_ARG_DECL) + ACE_THROW_SPEC ((CORBA::SystemException)); + + private: + TAO_ClientRequestInfo_ImplementationRepository_ServerObject_shutdown (const TAO_ClientRequestInfo_ImplementationRepository_ServerObject_shutdown &); + void operator= (const TAO_ClientRequestInfo_ImplementationRepository_ServerObject_shutdown &); + }; + + // TAO_IDL - Generated from + // be/be_visitor_operation/interceptors_cs.cpp:378 + + TAO_ClientRequestInfo_ImplementationRepository_ServerObject_shutdown::TAO_ClientRequestInfo_ImplementationRepository_ServerObject_shutdown ( + TAO_GIOP_Invocation *_tao_invocation, + CORBA::Object_ptr _tao_target + ACE_ENV_ARG_DECL_NOT_USED + ) + : TAO_ClientRequestInfo_i (_tao_invocation, _tao_target) {} Dynamic::ParameterList * @@ -384,9 +404,8 @@ TAO_ClientRequestInfo_ImplementationRepository_ServerObject_shutdown::arguments Dynamic::ParameterList *parameter_list = TAO_RequestInfo_Util::make_parameter_list (ACE_ENV_SINGLE_ARG_PARAMETER); ACE_CHECK_RETURN (0); - + return parameter_list; - } Dynamic::ExceptionList * @@ -397,11 +416,11 @@ TAO_ClientRequestInfo_ImplementationRepository_ServerObject_shutdown::exceptions Dynamic::ExceptionList *exception_list = TAO_RequestInfo_Util::make_exception_list (ACE_ENV_SINGLE_ARG_PARAMETER); ACE_CHECK_RETURN (0); - + return exception_list; } -CORBA::Any * +CORBA::Any * TAO_ClientRequestInfo_ImplementationRepository_ServerObject_shutdown::result (ACE_ENV_SINGLE_ARG_DECL) ACE_THROW_SPEC ((CORBA::SystemException)) { @@ -410,14 +429,19 @@ TAO_ClientRequestInfo_ImplementationRepository_ServerObject_shutdown::result (AC CORBA::Any *result_any = TAO_RequestInfo_Util::make_any (tk_void_any ACE_ENV_ARG_PARAMETER); ACE_CHECK_RETURN (0); - + return result_any; } + + #endif /* TAO_HAS_INTERCEPTORS */ +// TAO_IDL - Generated from +// be/be_visitor_interface/remote_proxy_impl_cs.cpp:31 + /////////////////////////////////////////////////////////////////////// -// Base & Remote Proxy Implementation. +// Base & Remote Proxy Implementation. // ImplementationRepository::_TAO_ServerObject_Proxy_Impl::_TAO_ServerObject_Proxy_Impl (void) @@ -428,6 +452,9 @@ ImplementationRepository::_TAO_ServerObject_Remote_Proxy_Impl::_TAO_ServerObject // Remote Implementation of the IDL interface methods +// TAO_IDL - Generated from +// be/be_visitor_operation/remote_proxy_impl_cs.cpp:63 + void ImplementationRepository::_TAO_ServerObject_Remote_Proxy_Impl::ping ( CORBA_Object *_collocated_tao_target_ ACE_ENV_ARG_DECL @@ -436,15 +463,13 @@ void ImplementationRepository::_TAO_ServerObject_Remote_Proxy_Impl::ping ( CORBA::SystemException )) { - - - - TAO_Stub *istub = _collocated_tao_target_->_stubobj (); + if (istub == 0) - ACE_THROW (CORBA::INTERNAL ()); - - + { + ACE_THROW (CORBA::INTERNAL ()); + } + TAO_GIOP_Twoway_Invocation _tao_call ( istub, "ping", @@ -452,133 +477,161 @@ void ImplementationRepository::_TAO_ServerObject_Remote_Proxy_Impl::ping ( 0, istub->orb_core () ); - + int _invoke_status; - + #if (TAO_HAS_INTERCEPTORS == 1) TAO_ClientRequestInterceptor_Adapter _tao_vfr ( istub->orb_core ()->client_request_interceptors (), &_tao_call, _invoke_status ); - + #endif /* TAO_HAS_INTERCEPTORS */ - + for (;;) { _invoke_status = TAO_INVOKE_EXCEPTION; - + #if TAO_HAS_INTERCEPTORS == 1 TAO_ClientRequestInfo_ImplementationRepository_ServerObject_ping _tao_ri ( - &_tao_call, - _collocated_tao_target_ ACE_ENV_ARG_PARAMETER - ); - ACE_CHECK; - + &_tao_call, + _collocated_tao_target_ + ACE_ENV_ARG_PARAMETER + ); + ACE_CHECK; + #endif /* TAO_HAS_INTERCEPTORS */ - - + CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; TAO_INTERCEPTOR (_tao_ri.response_expected (1)); - + #if TAO_HAS_INTERCEPTORS == 1 - + ACE_TRY { _tao_vfr.send_request ( - &_tao_ri - ACE_ENV_ARG_PARAMETER - ); + &_tao_ri + ACE_ENV_ARG_PARAMETER + ); ACE_TRY_CHECK; - + if (_invoke_status == TAO_INVOKE_RESTART) { _tao_call.restart_flag (1); continue; } - + #endif /* TAO_HAS_INTERCEPTORS */ - + _tao_call.start (ACE_ENV_SINGLE_ARG_PARAMETER); - TAO_INTERCEPTOR_CHECK; + TAO_INTERCEPTOR_CHECK; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag) ACE_ENV_ARG_PARAMETER ); - TAO_INTERCEPTOR_CHECK; + TAO_INTERCEPTOR_CHECK; + _invoke_status = _tao_call.invoke (0, 0 ACE_ENV_ARG_PARAMETER); - TAO_INTERCEPTOR_CHECK; + TAO_INTERCEPTOR_CHECK; if (_invoke_status == TAO_INVOKE_EXCEPTION) { TAO_INTERCEPTOR_THROW ( - CORBA::UNKNOWN (CORBA::OMGVMCID | 1, CORBA::COMPLETED_YES) - ); - + CORBA::UNKNOWN ( + CORBA::OMGVMCID | 1, CORBA::COMPLETED_YES + ) + ); } else if (_invoke_status == TAO_INVOKE_RESTART) { TAO_INTERCEPTOR ( - _tao_ri.reply_status (_invoke_status); - _tao_vfr.receive_other ( - &_tao_ri - ACE_ENV_ARG_PARAMETER - ); - ACE_TRY_CHECK; - ) - + _tao_ri.reply_status (_invoke_status); + _tao_vfr.receive_other ( + &_tao_ri + ACE_ENV_ARG_PARAMETER + ); + ACE_TRY_CHECK; + ) + continue; } - - #if TAO_HAS_INTERCEPTORS == 1 - + _tao_ri.reply_status (_invoke_status); _tao_vfr.receive_reply ( - &_tao_ri - ACE_ENV_ARG_PARAMETER - ); + &_tao_ri + ACE_ENV_ARG_PARAMETER + ); ACE_TRY_CHECK; - - } - ACE_CATCHANY - { - _tao_ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &_tao_ri - ACE_ENV_ARG_PARAMETER - ); - ACE_TRY_CHECK; - - PortableInterceptor::ReplyStatus _tao_status = - _tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER); - ACE_TRY_CHECK; - - if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION - || _tao_status == PortableInterceptor::USER_EXCEPTION) - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK; - - PortableInterceptor::ReplyStatus _tao_status = - _tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER); - ACE_CHECK; - - if (_tao_status == PortableInterceptor::LOCATION_FORWARD - || _tao_status == PortableInterceptor::TRANSPORT_RETRY) - continue; - + } + ACE_CATCHANY + { + _tao_ri.exception (&ACE_ANY_EXCEPTION); + _tao_vfr.receive_exception ( + &_tao_ri + ACE_ENV_ARG_PARAMETER + ); + ACE_TRY_CHECK; + + PortableInterceptor::ReplyStatus _tao_status = + _tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER); + ACE_TRY_CHECK; + + if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION + || _tao_status == PortableInterceptor::USER_EXCEPTION) + { + ACE_RE_THROW; + } + } + +# if defined (ACE_HAS_EXCEPTIONS) \ + && defined (ACE_HAS_BROKEN_UNEXPECTED_EXCEPTIONS) + ACE_CATCHALL + { + CORBA::UNKNOWN ex; + + _tao_ri.exception (&ex); + _tao_vfr.receive_exception ( + &_tao_ri + ACE_ENV_ARG_PARAMETER + ); + ACE_TRY_CHECK; + + PortableInterceptor::ReplyStatus _tao_status = + _tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER); + ACE_TRY_CHECK; + + if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION) + ACE_TRY_THROW (ex); + } +# endif /* ACE_HAS_EXCEPTIONS && ACE_HAS_BROKEN_UNEXPECTED_EXCEPTIONS */ + + ACE_ENDTRY; + ACE_CHECK; + + PortableInterceptor::ReplyStatus _tao_status = + _tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER); + ACE_CHECK; + + if (_tao_status == PortableInterceptor::LOCATION_FORWARD + || _tao_status == PortableInterceptor::TRANSPORT_RETRY) + { + continue; + } + #endif /* TAO_HAS_INTERCEPTORS */ - - break; - } - + + break; + } } +// TAO_IDL - Generated from +// be/be_visitor_operation/remote_proxy_impl_cs.cpp:63 + void ImplementationRepository::_TAO_ServerObject_Remote_Proxy_Impl::shutdown ( CORBA_Object *_collocated_tao_target_ ACE_ENV_ARG_DECL @@ -587,15 +640,13 @@ void ImplementationRepository::_TAO_ServerObject_Remote_Proxy_Impl::shutdown ( CORBA::SystemException )) { - - - - TAO_Stub *istub = _collocated_tao_target_->_stubobj (); + if (istub == 0) - ACE_THROW (CORBA::INTERNAL ()); - - + { + ACE_THROW (CORBA::INTERNAL ()); + } + TAO_GIOP_Twoway_Invocation _tao_call ( istub, "shutdown", @@ -603,138 +654,164 @@ void ImplementationRepository::_TAO_ServerObject_Remote_Proxy_Impl::shutdown ( 0, istub->orb_core () ); - + int _invoke_status; - + #if (TAO_HAS_INTERCEPTORS == 1) TAO_ClientRequestInterceptor_Adapter _tao_vfr ( istub->orb_core ()->client_request_interceptors (), &_tao_call, _invoke_status ); - + #endif /* TAO_HAS_INTERCEPTORS */ - + for (;;) { _invoke_status = TAO_INVOKE_EXCEPTION; - + #if TAO_HAS_INTERCEPTORS == 1 TAO_ClientRequestInfo_ImplementationRepository_ServerObject_shutdown _tao_ri ( - &_tao_call, - _collocated_tao_target_ ACE_ENV_ARG_PARAMETER - ); - ACE_CHECK; - + &_tao_call, + _collocated_tao_target_ + ACE_ENV_ARG_PARAMETER + ); + ACE_CHECK; + #endif /* TAO_HAS_INTERCEPTORS */ - - + CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; TAO_INTERCEPTOR (_tao_ri.response_expected (1)); - + #if TAO_HAS_INTERCEPTORS == 1 - + ACE_TRY { _tao_vfr.send_request ( - &_tao_ri - ACE_ENV_ARG_PARAMETER - ); + &_tao_ri + ACE_ENV_ARG_PARAMETER + ); ACE_TRY_CHECK; - + if (_invoke_status == TAO_INVOKE_RESTART) { _tao_call.restart_flag (1); continue; } - + #endif /* TAO_HAS_INTERCEPTORS */ - + _tao_call.start (ACE_ENV_SINGLE_ARG_PARAMETER); - TAO_INTERCEPTOR_CHECK; + TAO_INTERCEPTOR_CHECK; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag) ACE_ENV_ARG_PARAMETER ); - TAO_INTERCEPTOR_CHECK; + TAO_INTERCEPTOR_CHECK; + _invoke_status = _tao_call.invoke (0, 0 ACE_ENV_ARG_PARAMETER); - TAO_INTERCEPTOR_CHECK; + TAO_INTERCEPTOR_CHECK; if (_invoke_status == TAO_INVOKE_EXCEPTION) { TAO_INTERCEPTOR_THROW ( - CORBA::UNKNOWN (CORBA::OMGVMCID | 1, CORBA::COMPLETED_YES) - ); - + CORBA::UNKNOWN ( + CORBA::OMGVMCID | 1, CORBA::COMPLETED_YES + ) + ); } else if (_invoke_status == TAO_INVOKE_RESTART) { TAO_INTERCEPTOR ( - _tao_ri.reply_status (_invoke_status); - _tao_vfr.receive_other ( - &_tao_ri - ACE_ENV_ARG_PARAMETER - ); - ACE_TRY_CHECK; - ) - + _tao_ri.reply_status (_invoke_status); + _tao_vfr.receive_other ( + &_tao_ri + ACE_ENV_ARG_PARAMETER + ); + ACE_TRY_CHECK; + ) + continue; } - - #if TAO_HAS_INTERCEPTORS == 1 - + _tao_ri.reply_status (_invoke_status); _tao_vfr.receive_reply ( - &_tao_ri - ACE_ENV_ARG_PARAMETER - ); + &_tao_ri + ACE_ENV_ARG_PARAMETER + ); ACE_TRY_CHECK; - - } - ACE_CATCHANY - { - _tao_ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &_tao_ri - ACE_ENV_ARG_PARAMETER - ); - ACE_TRY_CHECK; - - PortableInterceptor::ReplyStatus _tao_status = - _tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER); - ACE_TRY_CHECK; - - if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION - || _tao_status == PortableInterceptor::USER_EXCEPTION) - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK; - - PortableInterceptor::ReplyStatus _tao_status = - _tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER); - ACE_CHECK; - - if (_tao_status == PortableInterceptor::LOCATION_FORWARD - || _tao_status == PortableInterceptor::TRANSPORT_RETRY) - continue; - + } + ACE_CATCHANY + { + _tao_ri.exception (&ACE_ANY_EXCEPTION); + _tao_vfr.receive_exception ( + &_tao_ri + ACE_ENV_ARG_PARAMETER + ); + ACE_TRY_CHECK; + + PortableInterceptor::ReplyStatus _tao_status = + _tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER); + ACE_TRY_CHECK; + + if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION + || _tao_status == PortableInterceptor::USER_EXCEPTION) + { + ACE_RE_THROW; + } + } + +# if defined (ACE_HAS_EXCEPTIONS) \ + && defined (ACE_HAS_BROKEN_UNEXPECTED_EXCEPTIONS) + ACE_CATCHALL + { + CORBA::UNKNOWN ex; + + _tao_ri.exception (&ex); + _tao_vfr.receive_exception ( + &_tao_ri + ACE_ENV_ARG_PARAMETER + ); + ACE_TRY_CHECK; + + PortableInterceptor::ReplyStatus _tao_status = + _tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER); + ACE_TRY_CHECK; + + if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION) + ACE_TRY_THROW (ex); + } +# endif /* ACE_HAS_EXCEPTIONS && ACE_HAS_BROKEN_UNEXPECTED_EXCEPTIONS */ + + ACE_ENDTRY; + ACE_CHECK; + + PortableInterceptor::ReplyStatus _tao_status = + _tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER); + ACE_CHECK; + + if (_tao_status == PortableInterceptor::LOCATION_FORWARD + || _tao_status == PortableInterceptor::TRANSPORT_RETRY) + { + continue; + } + #endif /* TAO_HAS_INTERCEPTORS */ - - break; - } - + + break; + } } - // -// End Base & Remote Proxy Implemeentation. +// End Base & Remote Proxy Implemeentation. /////////////////////////////////////////////////////////////////////// +// TAO_IDL - Generated from +// be/be_visitor_interface/remote_proxy_broker_cs.cpp:31 /////////////////////////////////////////////////////////////////////// // Remote & Base Proxy Broker Implementation @@ -770,30 +847,25 @@ ImplementationRepository::_TAO_ServerObject_Remote_Proxy_Broker::~_TAO_ServerObj ImplementationRepository::_TAO_ServerObject_Proxy_Impl& ImplementationRepository::_TAO_ServerObject_Remote_Proxy_Broker::select_proxy ( - ::ImplementationRepository::ServerObject * - ACE_ENV_ARG_DECL_NOT_USED -) + ::ImplementationRepository::ServerObject * + ACE_ENV_ARG_DECL_NOT_USED + ) { return this->remote_proxy_impl_; } - // // End Remote & Base Proxy Broker Implementation /////////////////////////////////////////////////////////////////////// - -// TAO_IDL - Generated from -// be/be_visitor_interface/interface_cs.cpp:198 +// TAO_IDL - Generated from +// be/be_visitor_interface/interface_cs.cpp:225 ImplementationRepository::ServerObject::ServerObject (int collocated) { this->ImplementationRepository_ServerObject_setup_collocation (collocated); } -ImplementationRepository::ServerObject::~ServerObject (void) -{} - void ImplementationRepository::ServerObject::ImplementationRepository_ServerObject_setup_collocation (int collocated) { @@ -805,44 +877,67 @@ ImplementationRepository::ServerObject::ImplementationRepository_ServerObject_se ::ImplementationRepository::_TAO_ServerObject_Remote_Proxy_Broker::the_TAO_ServerObject_Remote_Proxy_Broker (); } -void ImplementationRepository::ServerObject::_tao_any_destructor (void *_tao_void_pointer) +ImplementationRepository::ServerObject::~ServerObject (void) +{} + +void +ImplementationRepository::ServerObject::_tao_any_destructor (void *_tao_void_pointer) { - ServerObject *tmp = ACE_static_cast (ServerObject*, _tao_void_pointer); + ServerObject *tmp = ACE_static_cast (ServerObject *, _tao_void_pointer); CORBA::release (tmp); } -ImplementationRepository::ServerObject_ptr ImplementationRepository::ServerObject::_narrow ( +ImplementationRepository::ServerObject_ptr +ImplementationRepository::ServerObject::_narrow ( CORBA::Object_ptr obj ACE_ENV_ARG_DECL ) { if (CORBA::is_nil (obj)) - return ServerObject::_nil (); + { + return ServerObject::_nil (); + } + if (! obj->_is_local ()) { - CORBA::Boolean is_a = obj->_is_a ("IDL:ImplementationRepository/ServerObject:1.0" ACE_ENV_ARG_PARAMETER); + CORBA::Boolean is_a = + obj->_is_a ( + "IDL:ImplementationRepository/ServerObject:1.0" + ACE_ENV_ARG_PARAMETER + ); ACE_CHECK_RETURN (ServerObject::_nil ()); + if (is_a == 0) - return ServerObject::_nil (); + { + return ServerObject::_nil (); + } } + return ServerObject::_unchecked_narrow (obj ACE_ENV_ARG_PARAMETER); } -ImplementationRepository::ServerObject_ptr +ImplementationRepository::ServerObject_ptr ImplementationRepository::ServerObject::_unchecked_narrow ( CORBA::Object_ptr obj ACE_ENV_ARG_DECL_NOT_USED ) { if (CORBA::is_nil (obj)) - return ServerObject::_nil (); + { + return ServerObject::_nil (); + } + if (! obj->_is_local ()) { TAO_Stub* stub = obj->_stubobj (); - if (stub) - stub->_incr_refcnt (); + + if (stub != 0) + { + stub->_incr_refcnt (); + } + ServerObject_ptr default_proxy = ServerObject::_nil (); - + if ( !CORBA::is_nil (stub->servant_orb_var ().ptr ()) && stub->servant_orb_var ()->orb_core ()->optimize_collocation_objects () && @@ -860,7 +955,7 @@ ImplementationRepository::ServerObject::_unchecked_narrow ( ServerObject::_nil () ); } - + if (CORBA::is_nil (default_proxy)) { ACE_NEW_RETURN ( @@ -873,56 +968,89 @@ ImplementationRepository::ServerObject::_unchecked_narrow ( ServerObject::_nil () ); } - + return default_proxy; } - else + else return - ACE_reinterpret_cast - ( + ACE_reinterpret_cast ( ServerObject_ptr, - obj->_tao_QueryInterface - ( - ACE_reinterpret_cast - ( - ptr_arith_t, - &ServerObject::_tao_class_id - ) - ) + obj->_tao_QueryInterface ( + ACE_reinterpret_cast ( + ptr_arith_t, + &ServerObject::_tao_class_id + ) + ) ); } ImplementationRepository::ServerObject_ptr ImplementationRepository::ServerObject::_duplicate (ServerObject_ptr obj) { - if (!CORBA::is_nil (obj)) - obj->_add_ref (); + if (! CORBA::is_nil (obj)) + { + obj->_add_ref (); + } + return obj; } -CORBA::Boolean ImplementationRepository::ServerObject::_is_a (const CORBA::Char *value ACE_ENV_ARG_DECL) +CORBA::Boolean +ImplementationRepository::ServerObject::_is_a ( + const char *value + ACE_ENV_ARG_DECL + ) { if ( - (!ACE_OS::strcmp ((char *)value, "IDL:ImplementationRepository/ServerObject:1.0")) || - (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/Object:1.0"))) - return 1; // success using local knowledge + !ACE_OS::strcmp ( + (char *)value, + "IDL:ImplementationRepository/ServerObject:1.0" + ) || + !ACE_OS::strcmp ( + (char *)value, + "IDL:omg.org/CORBA/Object:1.0" + ) + ) + { + return 1; // success using local knowledge + } else - return this->CORBA_Object::_is_a (value ACE_ENV_ARG_PARAMETER); + { + return this->CORBA_Object::_is_a ( + value + ACE_ENV_ARG_PARAMETER + ); + } } void *ImplementationRepository::ServerObject::_tao_QueryInterface (ptr_arith_t type) { void *retv = 0; - if (type == ACE_reinterpret_cast - (ptr_arith_t, - &ACE_NESTED_CLASS (::ImplementationRepository, ServerObject)::_tao_class_id)) - retv = ACE_reinterpret_cast (void*, this); - else if (type == ACE_reinterpret_cast (ptr_arith_t, &CORBA::Object::_tao_class_id)) - retv = ACE_reinterpret_cast (void *, - ACE_static_cast (CORBA::Object_ptr, this)); - - if (retv) - this->_add_ref (); + + if (type == ACE_reinterpret_cast ( + ptr_arith_t, + &ACE_NESTED_CLASS (::ImplementationRepository, ServerObject)::_tao_class_id) + ) + { + retv = ACE_reinterpret_cast (void*, this); + } + else if (type == ACE_reinterpret_cast ( + ptr_arith_t, + &CORBA::Object::_tao_class_id) + ) + { + retv = + ACE_reinterpret_cast ( + void *, + ACE_static_cast (CORBA::Object_ptr, this) + ); + } + + if (retv != 0) + { + this->_add_ref (); + } + return retv; } @@ -931,60 +1059,69 @@ const char* ImplementationRepository::ServerObject::_interface_repository_id (vo return "IDL:ImplementationRepository/ServerObject:1.0"; } -void ImplementationRepository::ServerObject::ping ( +// TAO_IDL - Generated from +// be/be_visitor_operation/operation_cs.cpp:80 +void ImplementationRepository::ServerObject::ping ( ACE_ENV_SINGLE_ARG_DECL ) ACE_THROW_SPEC (( CORBA::SystemException )) { - _TAO_ServerObject_Proxy_Impl &proxy = + _TAO_ServerObject_Proxy_Impl &proxy = this->the_TAO_ServerObject_Proxy_Broker_->select_proxy (this ACE_ENV_ARG_PARAMETER); ACE_CHECK; - + proxy.ping ( - this ACE_ENV_ARG_PARAMETER + this + ACE_ENV_ARG_PARAMETER ); } -void ImplementationRepository::ServerObject::shutdown ( +// TAO_IDL - Generated from +// be/be_visitor_operation/operation_cs.cpp:80 +void ImplementationRepository::ServerObject::shutdown ( ACE_ENV_SINGLE_ARG_DECL ) ACE_THROW_SPEC (( CORBA::SystemException )) { - _TAO_ServerObject_Proxy_Impl &proxy = + _TAO_ServerObject_Proxy_Impl &proxy = this->the_TAO_ServerObject_Proxy_Broker_->select_proxy (this ACE_ENV_ARG_PARAMETER); ACE_CHECK; - + proxy.shutdown ( - this ACE_ENV_ARG_PARAMETER + this + ACE_ENV_ARG_PARAMETER ); } +// TAO_IDL - Generated from +// be/be_visitor_typecode/typecode_defn.cpp:284 + static const CORBA::Long _oc_ImplementationRepository_ServerObject[] = { - TAO_ENCAP_BYTE_ORDER, // byte order + TAO_ENCAP_BYTE_ORDER, // byte order 46, - ACE_NTOHL (0x49444c3a), - ACE_NTOHL (0x496d706c), - ACE_NTOHL (0x656d656e), - ACE_NTOHL (0x74617469), - ACE_NTOHL (0x6f6e5265), - ACE_NTOHL (0x706f7369), - ACE_NTOHL (0x746f7279), - ACE_NTOHL (0x2f536572), - ACE_NTOHL (0x7665724f), - ACE_NTOHL (0x626a6563), - ACE_NTOHL (0x743a312e), + ACE_NTOHL (0x49444c3a), + ACE_NTOHL (0x496d706c), + ACE_NTOHL (0x656d656e), + ACE_NTOHL (0x74617469), + ACE_NTOHL (0x6f6e5265), + ACE_NTOHL (0x706f7369), + ACE_NTOHL (0x746f7279), + ACE_NTOHL (0x2f536572), + ACE_NTOHL (0x7665724f), + ACE_NTOHL (0x626a6563), + ACE_NTOHL (0x743a312e), ACE_NTOHL (0x30000000), // repository ID = IDL:ImplementationRepository/ServerObject:1.0 13, - ACE_NTOHL (0x53657276), - ACE_NTOHL (0x65724f62), - ACE_NTOHL (0x6a656374), + ACE_NTOHL (0x53657276), + ACE_NTOHL (0x65724f62), + ACE_NTOHL (0x6a656374), ACE_NTOHL (0x0), // name = ServerObject }; @@ -998,13 +1135,16 @@ static CORBA::TypeCode _tc_TAO_tc_ImplementationRepository_ServerObject ( TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr) TAO_NAMESPACE_BEGIN (ImplementationRepository) -TAO_NAMESPACE_DEFINE (::CORBA::TypeCode_ptr, _tc_ServerObject, &_tc_TAO_tc_ImplementationRepository_ServerObject) +TAO_NAMESPACE_DEFINE ( + ::CORBA::TypeCode_ptr, + _tc_ServerObject, + &_tc_TAO_tc_ImplementationRepository_ServerObject + ) TAO_NAMESPACE_END -// TAO_IDL - Generated from +// TAO_IDL - Generated from // be/be_visitor_exception/exception_cs.cpp:63 -// Default constructor. ImplementationRepository::AlreadyRegistered::AlreadyRegistered (void) : CORBA_UserException ( "IDL:ImplementationRepository/AlreadyRegistered:1.0", @@ -1013,12 +1153,10 @@ ImplementationRepository::AlreadyRegistered::AlreadyRegistered (void) { } -// Destructor - all members are of self managing types. ImplementationRepository::AlreadyRegistered::~AlreadyRegistered (void) { } -// Copy constructor. ImplementationRepository::AlreadyRegistered::AlreadyRegistered (const ::ImplementationRepository::AlreadyRegistered &_tao_excp) : CORBA_UserException ( _tao_excp._rep_id (), @@ -1027,7 +1165,6 @@ ImplementationRepository::AlreadyRegistered::AlreadyRegistered (const ::Implemen { } -// Assignment operator. ImplementationRepository::AlreadyRegistered& ImplementationRepository::AlreadyRegistered::operator= (const ::ImplementationRepository::AlreadyRegistered &_tao_excp) { @@ -1042,11 +1179,11 @@ void ImplementationRepository::AlreadyRegistered::_tao_any_destructor (void *_ta } ImplementationRepository::AlreadyRegistered * -ImplementationRepository::AlreadyRegistered::_downcast (CORBA::Exception *exc) +ImplementationRepository::AlreadyRegistered::_downcast (CORBA::Exception *_tao_excp) { - if (!ACE_OS::strcmp ("IDL:ImplementationRepository/AlreadyRegistered:1.0", exc->_rep_id ())) + if (!ACE_OS::strcmp ("IDL:ImplementationRepository/AlreadyRegistered:1.0", _tao_excp->_rep_id ())) { - return ACE_dynamic_cast (AlreadyRegistered *, exc); + return ACE_dynamic_cast (AlreadyRegistered *, _tao_excp); } else { @@ -1073,7 +1210,7 @@ ImplementationRepository::AlreadyRegistered::_tao_duplicate (void) const return result; } -void ImplementationRepository::AlreadyRegistered::_raise () +void ImplementationRepository::AlreadyRegistered::_raise (void) { TAO_RAISE (*this); } @@ -1087,7 +1224,7 @@ void ImplementationRepository::AlreadyRegistered::_tao_encode ( { return; } - + ACE_THROW (CORBA::MARSHAL ()); } @@ -1100,32 +1237,41 @@ void ImplementationRepository::AlreadyRegistered::_tao_decode ( { return; } - + ACE_THROW (CORBA::MARSHAL ()); } +// TAO extension - the virtual _type method. +CORBA::TypeCode_ptr ImplementationRepository::AlreadyRegistered::_type (void) const +{ + return ::ImplementationRepository::_tc_AlreadyRegistered; +} + +// TAO_IDL - Generated from +// be/be_visitor_typecode/typecode_defn.cpp:284 + static const CORBA::Long _oc_ImplementationRepository_AlreadyRegistered[] = { - TAO_ENCAP_BYTE_ORDER, // byte order + TAO_ENCAP_BYTE_ORDER, // byte order 51, - ACE_NTOHL (0x49444c3a), - ACE_NTOHL (0x496d706c), - ACE_NTOHL (0x656d656e), - ACE_NTOHL (0x74617469), - ACE_NTOHL (0x6f6e5265), - ACE_NTOHL (0x706f7369), - ACE_NTOHL (0x746f7279), - ACE_NTOHL (0x2f416c72), - ACE_NTOHL (0x65616479), - ACE_NTOHL (0x52656769), - ACE_NTOHL (0x73746572), - ACE_NTOHL (0x65643a31), + ACE_NTOHL (0x49444c3a), + ACE_NTOHL (0x496d706c), + ACE_NTOHL (0x656d656e), + ACE_NTOHL (0x74617469), + ACE_NTOHL (0x6f6e5265), + ACE_NTOHL (0x706f7369), + ACE_NTOHL (0x746f7279), + ACE_NTOHL (0x2f416c72), + ACE_NTOHL (0x65616479), + ACE_NTOHL (0x52656769), + ACE_NTOHL (0x73746572), + ACE_NTOHL (0x65643a31), ACE_NTOHL (0x2e300000), // repository ID = IDL:ImplementationRepository/AlreadyRegistered:1.0 18, - ACE_NTOHL (0x416c7265), - ACE_NTOHL (0x61647952), - ACE_NTOHL (0x65676973), - ACE_NTOHL (0x74657265), + ACE_NTOHL (0x416c7265), + ACE_NTOHL (0x61647952), + ACE_NTOHL (0x65676973), + ACE_NTOHL (0x74657265), ACE_NTOHL (0x64000000), // name = AlreadyRegistered 0, // member count }; @@ -1140,20 +1286,16 @@ static CORBA::TypeCode _tc_TAO_tc_ImplementationRepository_AlreadyRegistered ( TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr) TAO_NAMESPACE_BEGIN (ImplementationRepository) -TAO_NAMESPACE_DEFINE (::CORBA::TypeCode_ptr, _tc_AlreadyRegistered, &_tc_TAO_tc_ImplementationRepository_AlreadyRegistered) +TAO_NAMESPACE_DEFINE ( + ::CORBA::TypeCode_ptr, + _tc_AlreadyRegistered, + &_tc_TAO_tc_ImplementationRepository_AlreadyRegistered + ) TAO_NAMESPACE_END - -// TAO extension - the virtual _type method. -CORBA::TypeCode_ptr ImplementationRepository::AlreadyRegistered::_type (void) const -{ - return ::ImplementationRepository::_tc_AlreadyRegistered; -} - -// TAO_IDL - Generated from +// TAO_IDL - Generated from // be/be_visitor_exception/exception_cs.cpp:63 -// Default constructor. ImplementationRepository::CannotActivate::CannotActivate (void) : CORBA_UserException ( "IDL:ImplementationRepository/CannotActivate:1.0", @@ -1162,12 +1304,10 @@ ImplementationRepository::CannotActivate::CannotActivate (void) { } -// Destructor - all members are of self managing types. ImplementationRepository::CannotActivate::~CannotActivate (void) { } -// Copy constructor. ImplementationRepository::CannotActivate::CannotActivate (const ::ImplementationRepository::CannotActivate &_tao_excp) : CORBA_UserException ( _tao_excp._rep_id (), @@ -1177,7 +1317,6 @@ ImplementationRepository::CannotActivate::CannotActivate (const ::Implementation this->reason = CORBA::string_dup (_tao_excp.reason.in ()); } -// Assignment operator. ImplementationRepository::CannotActivate& ImplementationRepository::CannotActivate::operator= (const ::ImplementationRepository::CannotActivate &_tao_excp) { @@ -1193,11 +1332,11 @@ void ImplementationRepository::CannotActivate::_tao_any_destructor (void *_tao_v } ImplementationRepository::CannotActivate * -ImplementationRepository::CannotActivate::_downcast (CORBA::Exception *exc) +ImplementationRepository::CannotActivate::_downcast (CORBA::Exception *_tao_excp) { - if (!ACE_OS::strcmp ("IDL:ImplementationRepository/CannotActivate:1.0", exc->_rep_id ())) + if (!ACE_OS::strcmp ("IDL:ImplementationRepository/CannotActivate:1.0", _tao_excp->_rep_id ())) { - return ACE_dynamic_cast (CannotActivate *, exc); + return ACE_dynamic_cast (CannotActivate *, _tao_excp); } else { @@ -1224,7 +1363,7 @@ ImplementationRepository::CannotActivate::_tao_duplicate (void) const return result; } -void ImplementationRepository::CannotActivate::_raise () +void ImplementationRepository::CannotActivate::_raise (void) { TAO_RAISE (*this); } @@ -1238,7 +1377,7 @@ void ImplementationRepository::CannotActivate::_tao_encode ( { return; } - + ACE_THROW (CORBA::MARSHAL ()); } @@ -1251,14 +1390,18 @@ void ImplementationRepository::CannotActivate::_tao_decode ( { return; } - + ACE_THROW (CORBA::MARSHAL ()); } + + +// TAO_IDL - Generated from +// be/be_visitor_exception/exception_ctor.cpp:66 + ImplementationRepository::CannotActivate::CannotActivate ( const char * _tao_reason - ) - : CORBA_UserException ( + ) : CORBA_UserException ( "IDL:ImplementationRepository/CannotActivate:1.0", "CannotActivate" ) @@ -1266,32 +1409,41 @@ ImplementationRepository::CannotActivate::CannotActivate ( this->reason = CORBA::string_dup (_tao_reason); } +// TAO extension - the virtual _type method. +CORBA::TypeCode_ptr ImplementationRepository::CannotActivate::_type (void) const +{ + return ::ImplementationRepository::_tc_CannotActivate; +} + +// TAO_IDL - Generated from +// be/be_visitor_typecode/typecode_defn.cpp:284 + static const CORBA::Long _oc_ImplementationRepository_CannotActivate[] = { - TAO_ENCAP_BYTE_ORDER, // byte order + TAO_ENCAP_BYTE_ORDER, // byte order 48, - ACE_NTOHL (0x49444c3a), - ACE_NTOHL (0x496d706c), - ACE_NTOHL (0x656d656e), - ACE_NTOHL (0x74617469), - ACE_NTOHL (0x6f6e5265), - ACE_NTOHL (0x706f7369), - ACE_NTOHL (0x746f7279), - ACE_NTOHL (0x2f43616e), - ACE_NTOHL (0x6e6f7441), - ACE_NTOHL (0x63746976), - ACE_NTOHL (0x6174653a), + ACE_NTOHL (0x49444c3a), + ACE_NTOHL (0x496d706c), + ACE_NTOHL (0x656d656e), + ACE_NTOHL (0x74617469), + ACE_NTOHL (0x6f6e5265), + ACE_NTOHL (0x706f7369), + ACE_NTOHL (0x746f7279), + ACE_NTOHL (0x2f43616e), + ACE_NTOHL (0x6e6f7441), + ACE_NTOHL (0x63746976), + ACE_NTOHL (0x6174653a), ACE_NTOHL (0x312e3000), // repository ID = IDL:ImplementationRepository/CannotActivate:1.0 15, - ACE_NTOHL (0x43616e6e), - ACE_NTOHL (0x6f744163), - ACE_NTOHL (0x74697661), + ACE_NTOHL (0x43616e6e), + ACE_NTOHL (0x6f744163), + ACE_NTOHL (0x74697661), ACE_NTOHL (0x74650000), // name = CannotActivate 1, // member count 7, - ACE_NTOHL (0x72656173), + ACE_NTOHL (0x72656173), ACE_NTOHL (0x6f6e0000), // name = reason - CORBA::tk_string, + CORBA::tk_string, 0U, // string length }; @@ -1305,20 +1457,16 @@ static CORBA::TypeCode _tc_TAO_tc_ImplementationRepository_CannotActivate ( TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr) TAO_NAMESPACE_BEGIN (ImplementationRepository) -TAO_NAMESPACE_DEFINE (::CORBA::TypeCode_ptr, _tc_CannotActivate, &_tc_TAO_tc_ImplementationRepository_CannotActivate) +TAO_NAMESPACE_DEFINE ( + ::CORBA::TypeCode_ptr, + _tc_CannotActivate, + &_tc_TAO_tc_ImplementationRepository_CannotActivate + ) TAO_NAMESPACE_END - -// TAO extension - the virtual _type method. -CORBA::TypeCode_ptr ImplementationRepository::CannotActivate::_type (void) const -{ - return ::ImplementationRepository::_tc_CannotActivate; -} - -// TAO_IDL - Generated from +// TAO_IDL - Generated from // be/be_visitor_exception/exception_cs.cpp:63 -// Default constructor. ImplementationRepository::NotFound::NotFound (void) : CORBA_UserException ( "IDL:ImplementationRepository/NotFound:1.0", @@ -1327,12 +1475,10 @@ ImplementationRepository::NotFound::NotFound (void) { } -// Destructor - all members are of self managing types. ImplementationRepository::NotFound::~NotFound (void) { } -// Copy constructor. ImplementationRepository::NotFound::NotFound (const ::ImplementationRepository::NotFound &_tao_excp) : CORBA_UserException ( _tao_excp._rep_id (), @@ -1341,7 +1487,6 @@ ImplementationRepository::NotFound::NotFound (const ::ImplementationRepository:: { } -// Assignment operator. ImplementationRepository::NotFound& ImplementationRepository::NotFound::operator= (const ::ImplementationRepository::NotFound &_tao_excp) { @@ -1356,11 +1501,11 @@ void ImplementationRepository::NotFound::_tao_any_destructor (void *_tao_void_po } ImplementationRepository::NotFound * -ImplementationRepository::NotFound::_downcast (CORBA::Exception *exc) +ImplementationRepository::NotFound::_downcast (CORBA::Exception *_tao_excp) { - if (!ACE_OS::strcmp ("IDL:ImplementationRepository/NotFound:1.0", exc->_rep_id ())) + if (!ACE_OS::strcmp ("IDL:ImplementationRepository/NotFound:1.0", _tao_excp->_rep_id ())) { - return ACE_dynamic_cast (NotFound *, exc); + return ACE_dynamic_cast (NotFound *, _tao_excp); } else { @@ -1387,7 +1532,7 @@ ImplementationRepository::NotFound::_tao_duplicate (void) const return result; } -void ImplementationRepository::NotFound::_raise () +void ImplementationRepository::NotFound::_raise (void) { TAO_RAISE (*this); } @@ -1401,7 +1546,7 @@ void ImplementationRepository::NotFound::_tao_encode ( { return; } - + ACE_THROW (CORBA::MARSHAL ()); } @@ -1414,28 +1559,37 @@ void ImplementationRepository::NotFound::_tao_decode ( { return; } - + ACE_THROW (CORBA::MARSHAL ()); } +// TAO extension - the virtual _type method. +CORBA::TypeCode_ptr ImplementationRepository::NotFound::_type (void) const +{ + return ::ImplementationRepository::_tc_NotFound; +} + +// TAO_IDL - Generated from +// be/be_visitor_typecode/typecode_defn.cpp:284 + static const CORBA::Long _oc_ImplementationRepository_NotFound[] = { - TAO_ENCAP_BYTE_ORDER, // byte order + TAO_ENCAP_BYTE_ORDER, // byte order 42, - ACE_NTOHL (0x49444c3a), - ACE_NTOHL (0x496d706c), - ACE_NTOHL (0x656d656e), - ACE_NTOHL (0x74617469), - ACE_NTOHL (0x6f6e5265), - ACE_NTOHL (0x706f7369), - ACE_NTOHL (0x746f7279), - ACE_NTOHL (0x2f4e6f74), - ACE_NTOHL (0x466f756e), - ACE_NTOHL (0x643a312e), + ACE_NTOHL (0x49444c3a), + ACE_NTOHL (0x496d706c), + ACE_NTOHL (0x656d656e), + ACE_NTOHL (0x74617469), + ACE_NTOHL (0x6f6e5265), + ACE_NTOHL (0x706f7369), + ACE_NTOHL (0x746f7279), + ACE_NTOHL (0x2f4e6f74), + ACE_NTOHL (0x466f756e), + ACE_NTOHL (0x643a312e), ACE_NTOHL (0x30000000), // repository ID = IDL:ImplementationRepository/NotFound:1.0 9, - ACE_NTOHL (0x4e6f7446), - ACE_NTOHL (0x6f756e64), + ACE_NTOHL (0x4e6f7446), + ACE_NTOHL (0x6f756e64), ACE_NTOHL (0x0), // name = NotFound 0, // member count }; @@ -1450,50 +1604,50 @@ static CORBA::TypeCode _tc_TAO_tc_ImplementationRepository_NotFound ( TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr) TAO_NAMESPACE_BEGIN (ImplementationRepository) -TAO_NAMESPACE_DEFINE (::CORBA::TypeCode_ptr, _tc_NotFound, &_tc_TAO_tc_ImplementationRepository_NotFound) +TAO_NAMESPACE_DEFINE ( + ::CORBA::TypeCode_ptr, + _tc_NotFound, + &_tc_TAO_tc_ImplementationRepository_NotFound + ) TAO_NAMESPACE_END - -// TAO extension - the virtual _type method. -CORBA::TypeCode_ptr ImplementationRepository::NotFound::_type (void) const -{ - return ::ImplementationRepository::_tc_NotFound; -} +// TAO_IDL - Generated from +// be/be_visitor_typecode/typecode_defn.cpp:284 static const CORBA::Long _oc_ImplementationRepository_EnvironmentVariable[] = { - TAO_ENCAP_BYTE_ORDER, // byte order + TAO_ENCAP_BYTE_ORDER, // byte order 53, - ACE_NTOHL (0x49444c3a), - ACE_NTOHL (0x496d706c), - ACE_NTOHL (0x656d656e), - ACE_NTOHL (0x74617469), - ACE_NTOHL (0x6f6e5265), - ACE_NTOHL (0x706f7369), - ACE_NTOHL (0x746f7279), - ACE_NTOHL (0x2f456e76), - ACE_NTOHL (0x69726f6e), - ACE_NTOHL (0x6d656e74), - ACE_NTOHL (0x56617269), - ACE_NTOHL (0x61626c65), - ACE_NTOHL (0x3a312e30), + ACE_NTOHL (0x49444c3a), + ACE_NTOHL (0x496d706c), + ACE_NTOHL (0x656d656e), + ACE_NTOHL (0x74617469), + ACE_NTOHL (0x6f6e5265), + ACE_NTOHL (0x706f7369), + ACE_NTOHL (0x746f7279), + ACE_NTOHL (0x2f456e76), + ACE_NTOHL (0x69726f6e), + ACE_NTOHL (0x6d656e74), + ACE_NTOHL (0x56617269), + ACE_NTOHL (0x61626c65), + ACE_NTOHL (0x3a312e30), ACE_NTOHL (0x0), // repository ID = IDL:ImplementationRepository/EnvironmentVariable:1.0 20, - ACE_NTOHL (0x456e7669), - ACE_NTOHL (0x726f6e6d), - ACE_NTOHL (0x656e7456), - ACE_NTOHL (0x61726961), + ACE_NTOHL (0x456e7669), + ACE_NTOHL (0x726f6e6d), + ACE_NTOHL (0x656e7456), + ACE_NTOHL (0x61726961), ACE_NTOHL (0x626c6500), // name = EnvironmentVariable 2, // member count 5, - ACE_NTOHL (0x6e616d65), + ACE_NTOHL (0x6e616d65), ACE_NTOHL (0x0), // name = name - CORBA::tk_string, + CORBA::tk_string, 0U, // string length 6, - ACE_NTOHL (0x76616c75), + ACE_NTOHL (0x76616c75), ACE_NTOHL (0x65000000), // name = value - CORBA::tk_string, + CORBA::tk_string, 0U, // string length }; @@ -1507,34 +1661,44 @@ static CORBA::TypeCode _tc_TAO_tc_ImplementationRepository_EnvironmentVariable ( TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr) TAO_NAMESPACE_BEGIN (ImplementationRepository) -TAO_NAMESPACE_DEFINE (::CORBA::TypeCode_ptr, _tc_EnvironmentVariable, &_tc_TAO_tc_ImplementationRepository_EnvironmentVariable) +TAO_NAMESPACE_DEFINE ( + ::CORBA::TypeCode_ptr, + _tc_EnvironmentVariable, + &_tc_TAO_tc_ImplementationRepository_EnvironmentVariable + ) TAO_NAMESPACE_END +// TAO_IDL - Generated from +// be/be_visitor_structure/structure_cs.cpp:67 + void ImplementationRepository::EnvironmentVariable::_tao_any_destructor (void *_tao_void_pointer) { EnvironmentVariable *tmp = ACE_static_cast (EnvironmentVariable*, _tao_void_pointer); delete tmp; } +// TAO_IDL - Generated from +// be/be_visitor_typecode/typecode_defn.cpp:284 + static const CORBA::Long _oc_ImplementationRepository_Address[] = { - TAO_ENCAP_BYTE_ORDER, // byte order + TAO_ENCAP_BYTE_ORDER, // byte order 41, - ACE_NTOHL (0x49444c3a), - ACE_NTOHL (0x496d706c), - ACE_NTOHL (0x656d656e), - ACE_NTOHL (0x74617469), - ACE_NTOHL (0x6f6e5265), - ACE_NTOHL (0x706f7369), - ACE_NTOHL (0x746f7279), - ACE_NTOHL (0x2f416464), - ACE_NTOHL (0x72657373), - ACE_NTOHL (0x3a312e30), + ACE_NTOHL (0x49444c3a), + ACE_NTOHL (0x496d706c), + ACE_NTOHL (0x656d656e), + ACE_NTOHL (0x74617469), + ACE_NTOHL (0x6f6e5265), + ACE_NTOHL (0x706f7369), + ACE_NTOHL (0x746f7279), + ACE_NTOHL (0x2f416464), + ACE_NTOHL (0x72657373), + ACE_NTOHL (0x3a312e30), ACE_NTOHL (0x0), // repository ID = IDL:ImplementationRepository/Address:1.0 8, - ACE_NTOHL (0x41646472), + ACE_NTOHL (0x41646472), ACE_NTOHL (0x65737300), // name = Address - CORBA::tk_string, + CORBA::tk_string, 0U, // string length }; @@ -1548,9 +1712,15 @@ static CORBA::TypeCode _tc_TAO_tc_ImplementationRepository_Address ( TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr) TAO_NAMESPACE_BEGIN (ImplementationRepository) -TAO_NAMESPACE_DEFINE (::CORBA::TypeCode_ptr, _tc_Address, &_tc_TAO_tc_ImplementationRepository_Address) +TAO_NAMESPACE_DEFINE ( + ::CORBA::TypeCode_ptr, + _tc_Address, + &_tc_TAO_tc_ImplementationRepository_Address + ) TAO_NAMESPACE_END +// TAO_IDL - Generated from +// be/be_visitor_sequence/gen_unbounded_sequence_cs.cpp:101 #if !defined (TAO_USE_SEQUENCE_TEMPLATES) @@ -1562,18 +1732,23 @@ ImplementationRepository::_TAO_Unbounded_Sequence_ImplementationRepository_Envir { ImplementationRepository::EnvironmentVariable* tmp = 0; tmp = _TAO_Unbounded_Sequence_ImplementationRepository_EnvironmentList::allocbuf (length); - + if (this->buffer_ != 0) - { - ImplementationRepository::EnvironmentVariable *old = ACE_reinterpret_cast (ImplementationRepository::EnvironmentVariable *,this->buffer_); - - for (CORBA::ULong i = 0; i < this->length_; ++i) - tmp[i] = old[i]; - - if (this->release_) - _TAO_Unbounded_Sequence_ImplementationRepository_EnvironmentList::freebuf (old); - - } + { + ImplementationRepository::EnvironmentVariable *old = + ACE_reinterpret_cast (ImplementationRepository::EnvironmentVariable *, this->buffer_); + + for (CORBA::ULong i = 0; i < this->length_; ++i) + { + tmp[i] = old[i]; + } + + if (this->release_) + { + _TAO_Unbounded_Sequence_ImplementationRepository_EnvironmentList::freebuf (old); + } + } + this->buffer_ = tmp; } @@ -1581,93 +1756,114 @@ void ImplementationRepository::_TAO_Unbounded_Sequence_ImplementationRepository_EnvironmentList::_deallocate_buffer (void) { if (this->buffer_ == 0 || this->release_ == 0) - return; - - ImplementationRepository::EnvironmentVariable *tmp = ACE_reinterpret_cast (ImplementationRepository::EnvironmentVariable *,this->buffer_); - + { + return; + } + + ImplementationRepository::EnvironmentVariable *tmp = + ACE_reinterpret_cast (ImplementationRepository::EnvironmentVariable *, this->buffer_); _TAO_Unbounded_Sequence_ImplementationRepository_EnvironmentList::freebuf (tmp); this->buffer_ = 0; -} +} -ImplementationRepository::_TAO_Unbounded_Sequence_ImplementationRepository_EnvironmentList::~_TAO_Unbounded_Sequence_ImplementationRepository_EnvironmentList (void) // Dtor. +ImplementationRepository::_TAO_Unbounded_Sequence_ImplementationRepository_EnvironmentList::~_TAO_Unbounded_Sequence_ImplementationRepository_EnvironmentList (void) { this->_deallocate_buffer (); } - #endif /* end #if !defined */ - -#endif /* !TAO_USE_SEQUENCE_TEMPLATES */ +#endif /* !TAO_USE_SEQUENCE_TEMPLATES */ #if !defined (_IMPLEMENTATIONREPOSITORY_ENVIRONMENTLIST_CS_) #define _IMPLEMENTATIONREPOSITORY_ENVIRONMENTLIST_CS_ +// TAO_IDL - Generated from +// be/be_visitor_sequence/sequence_cs.cpp:250 + // ************************************************************* // ImplementationRepository::EnvironmentList // ************************************************************* ImplementationRepository::EnvironmentList::EnvironmentList (void) {} -ImplementationRepository::EnvironmentList::EnvironmentList (CORBA::ULong max) // uses max size - : + +ImplementationRepository::EnvironmentList::EnvironmentList (CORBA::ULong max) + : + #if !defined (TAO_USE_SEQUENCE_TEMPLATES) _TAO_Unbounded_Sequence_ImplementationRepository_EnvironmentList #else /* TAO_USE_SEQUENCE_TEMPLATES */ TAO_Unbounded_Sequence<ImplementationRepository::EnvironmentVariable> -#endif /* !TAO_USE_SEQUENCE_TEMPLATES */ + +#endif /* !TAO_USE_SEQUENCE_TEMPLATES */ (max) {} -ImplementationRepository::EnvironmentList::EnvironmentList (CORBA::ULong max, CORBA::ULong length, ImplementationRepository::EnvironmentVariable *buffer, CORBA::Boolean release) - : + +ImplementationRepository::EnvironmentList::EnvironmentList ( + CORBA::ULong max, + CORBA::ULong length, + ImplementationRepository::EnvironmentVariable *buffer, + CORBA::Boolean release + ) + : + #if !defined (TAO_USE_SEQUENCE_TEMPLATES) _TAO_Unbounded_Sequence_ImplementationRepository_EnvironmentList #else /* TAO_USE_SEQUENCE_TEMPLATES */ TAO_Unbounded_Sequence<ImplementationRepository::EnvironmentVariable> -#endif /* !TAO_USE_SEQUENCE_TEMPLATES */ + +#endif /* !TAO_USE_SEQUENCE_TEMPLATES */ (max, length, buffer, release) {} -ImplementationRepository::EnvironmentList::EnvironmentList (const EnvironmentList &seq) // copy ctor - : + +ImplementationRepository::EnvironmentList::EnvironmentList (const EnvironmentList &seq) + : + #if !defined (TAO_USE_SEQUENCE_TEMPLATES) _TAO_Unbounded_Sequence_ImplementationRepository_EnvironmentList #else /* TAO_USE_SEQUENCE_TEMPLATES */ TAO_Unbounded_Sequence<ImplementationRepository::EnvironmentVariable> -#endif /* !TAO_USE_SEQUENCE_TEMPLATES */ + +#endif /* !TAO_USE_SEQUENCE_TEMPLATES */ (seq) {} + ImplementationRepository::EnvironmentList::~EnvironmentList (void) // dtor {} + void ImplementationRepository::EnvironmentList::_tao_any_destructor (void *_tao_void_pointer) { EnvironmentList *tmp = ACE_static_cast (EnvironmentList*, _tao_void_pointer); delete tmp; } - #endif /* end #if !defined */ +// TAO_IDL - Generated from +// be/be_visitor_typecode/typecode_defn.cpp:284 + static const CORBA::Long _oc_ImplementationRepository_EnvironmentList[] = { - TAO_ENCAP_BYTE_ORDER, // byte order + TAO_ENCAP_BYTE_ORDER, // byte order 49, - ACE_NTOHL (0x49444c3a), - ACE_NTOHL (0x496d706c), - ACE_NTOHL (0x656d656e), - ACE_NTOHL (0x74617469), - ACE_NTOHL (0x6f6e5265), - ACE_NTOHL (0x706f7369), - ACE_NTOHL (0x746f7279), - ACE_NTOHL (0x2f456e76), - ACE_NTOHL (0x69726f6e), - ACE_NTOHL (0x6d656e74), - ACE_NTOHL (0x4c697374), - ACE_NTOHL (0x3a312e30), + ACE_NTOHL (0x49444c3a), + ACE_NTOHL (0x496d706c), + ACE_NTOHL (0x656d656e), + ACE_NTOHL (0x74617469), + ACE_NTOHL (0x6f6e5265), + ACE_NTOHL (0x706f7369), + ACE_NTOHL (0x746f7279), + ACE_NTOHL (0x2f456e76), + ACE_NTOHL (0x69726f6e), + ACE_NTOHL (0x6d656e74), + ACE_NTOHL (0x4c697374), + ACE_NTOHL (0x3a312e30), ACE_NTOHL (0x0), // repository ID = IDL:ImplementationRepository/EnvironmentList:1.0 16, - ACE_NTOHL (0x456e7669), - ACE_NTOHL (0x726f6e6d), - ACE_NTOHL (0x656e744c), + ACE_NTOHL (0x456e7669), + ACE_NTOHL (0x726f6e6d), + ACE_NTOHL (0x656e744c), ACE_NTOHL (0x69737400), // name = EnvironmentList CORBA::tk_sequence, // typecode kind 148, // encapsulation length @@ -1676,36 +1872,36 @@ static const CORBA::Long _oc_ImplementationRepository_EnvironmentList[] = 132, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order 53, - ACE_NTOHL (0x49444c3a), - ACE_NTOHL (0x496d706c), - ACE_NTOHL (0x656d656e), - ACE_NTOHL (0x74617469), - ACE_NTOHL (0x6f6e5265), - ACE_NTOHL (0x706f7369), - ACE_NTOHL (0x746f7279), - ACE_NTOHL (0x2f456e76), - ACE_NTOHL (0x69726f6e), - ACE_NTOHL (0x6d656e74), - ACE_NTOHL (0x56617269), - ACE_NTOHL (0x61626c65), - ACE_NTOHL (0x3a312e30), + ACE_NTOHL (0x49444c3a), + ACE_NTOHL (0x496d706c), + ACE_NTOHL (0x656d656e), + ACE_NTOHL (0x74617469), + ACE_NTOHL (0x6f6e5265), + ACE_NTOHL (0x706f7369), + ACE_NTOHL (0x746f7279), + ACE_NTOHL (0x2f456e76), + ACE_NTOHL (0x69726f6e), + ACE_NTOHL (0x6d656e74), + ACE_NTOHL (0x56617269), + ACE_NTOHL (0x61626c65), + ACE_NTOHL (0x3a312e30), ACE_NTOHL (0x0), // repository ID = IDL:ImplementationRepository/EnvironmentVariable:1.0 20, - ACE_NTOHL (0x456e7669), - ACE_NTOHL (0x726f6e6d), - ACE_NTOHL (0x656e7456), - ACE_NTOHL (0x61726961), + ACE_NTOHL (0x456e7669), + ACE_NTOHL (0x726f6e6d), + ACE_NTOHL (0x656e7456), + ACE_NTOHL (0x61726961), ACE_NTOHL (0x626c6500), // name = EnvironmentVariable 2, // member count 5, - ACE_NTOHL (0x6e616d65), + ACE_NTOHL (0x6e616d65), ACE_NTOHL (0x0), // name = name - CORBA::tk_string, + CORBA::tk_string, 0U, // string length 6, - ACE_NTOHL (0x76616c75), + ACE_NTOHL (0x76616c75), ACE_NTOHL (0x65000000), // name = value - CORBA::tk_string, + CORBA::tk_string, 0U, // string length 0U, @@ -1722,44 +1918,51 @@ static CORBA::TypeCode _tc_TAO_tc_ImplementationRepository_EnvironmentList ( TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr) TAO_NAMESPACE_BEGIN (ImplementationRepository) -TAO_NAMESPACE_DEFINE (::CORBA::TypeCode_ptr, _tc_EnvironmentList, &_tc_TAO_tc_ImplementationRepository_EnvironmentList) +TAO_NAMESPACE_DEFINE ( + ::CORBA::TypeCode_ptr, + _tc_EnvironmentList, + &_tc_TAO_tc_ImplementationRepository_EnvironmentList + ) TAO_NAMESPACE_END +// TAO_IDL - Generated from +// be/be_visitor_typecode/typecode_defn.cpp:284 + static const CORBA::Long _oc_ImplementationRepository_ActivationMode[] = { TAO_ENCAP_BYTE_ORDER, // byte order 48, - ACE_NTOHL (0x49444c3a), - ACE_NTOHL (0x496d706c), - ACE_NTOHL (0x656d656e), - ACE_NTOHL (0x74617469), - ACE_NTOHL (0x6f6e5265), - ACE_NTOHL (0x706f7369), - ACE_NTOHL (0x746f7279), - ACE_NTOHL (0x2f416374), - ACE_NTOHL (0x69766174), - ACE_NTOHL (0x696f6e4d), - ACE_NTOHL (0x6f64653a), + ACE_NTOHL (0x49444c3a), + ACE_NTOHL (0x496d706c), + ACE_NTOHL (0x656d656e), + ACE_NTOHL (0x74617469), + ACE_NTOHL (0x6f6e5265), + ACE_NTOHL (0x706f7369), + ACE_NTOHL (0x746f7279), + ACE_NTOHL (0x2f416374), + ACE_NTOHL (0x69766174), + ACE_NTOHL (0x696f6e4d), + ACE_NTOHL (0x6f64653a), ACE_NTOHL (0x312e3000), // repository ID = IDL:ImplementationRepository/ActivationMode:1.0 - 15, - ACE_NTOHL (0x41637469), - ACE_NTOHL (0x76617469), - ACE_NTOHL (0x6f6e4d6f), +15, + ACE_NTOHL (0x41637469), + ACE_NTOHL (0x76617469), + ACE_NTOHL (0x6f6e4d6f), ACE_NTOHL (0x64650000), // name = ActivationMode 4, // member count - 7, - ACE_NTOHL (0x4e4f524d), +7, + ACE_NTOHL (0x4e4f524d), ACE_NTOHL (0x414c0000), // name = NORMAL - 7, - ACE_NTOHL (0x4d414e55), +7, + ACE_NTOHL (0x4d414e55), ACE_NTOHL (0x414c0000), // name = MANUAL - 11, - ACE_NTOHL (0x5045525f), - ACE_NTOHL (0x434c4945), +11, + ACE_NTOHL (0x5045525f), + ACE_NTOHL (0x434c4945), ACE_NTOHL (0x4e540000), // name = PER_CLIENT - 11, - ACE_NTOHL (0x4155544f), - ACE_NTOHL (0x5f535441), +11, + ACE_NTOHL (0x4155544f), + ACE_NTOHL (0x5f535441), ACE_NTOHL (0x52540000), // name = AUTO_START }; @@ -1773,63 +1976,70 @@ static CORBA::TypeCode _tc_TAO_tc_ImplementationRepository_ActivationMode ( TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr) TAO_NAMESPACE_BEGIN (ImplementationRepository) -TAO_NAMESPACE_DEFINE (::CORBA::TypeCode_ptr, _tc_ActivationMode, &_tc_TAO_tc_ImplementationRepository_ActivationMode) +TAO_NAMESPACE_DEFINE ( + ::CORBA::TypeCode_ptr, + _tc_ActivationMode, + &_tc_TAO_tc_ImplementationRepository_ActivationMode + ) TAO_NAMESPACE_END +// TAO_IDL - Generated from +// be/be_visitor_typecode/typecode_defn.cpp:284 + static const CORBA::Long _oc_ImplementationRepository_StartupOptions[] = { - TAO_ENCAP_BYTE_ORDER, // byte order + TAO_ENCAP_BYTE_ORDER, // byte order 48, - ACE_NTOHL (0x49444c3a), - ACE_NTOHL (0x496d706c), - ACE_NTOHL (0x656d656e), - ACE_NTOHL (0x74617469), - ACE_NTOHL (0x6f6e5265), - ACE_NTOHL (0x706f7369), - ACE_NTOHL (0x746f7279), - ACE_NTOHL (0x2f537461), - ACE_NTOHL (0x72747570), - ACE_NTOHL (0x4f707469), - ACE_NTOHL (0x6f6e733a), + ACE_NTOHL (0x49444c3a), + ACE_NTOHL (0x496d706c), + ACE_NTOHL (0x656d656e), + ACE_NTOHL (0x74617469), + ACE_NTOHL (0x6f6e5265), + ACE_NTOHL (0x706f7369), + ACE_NTOHL (0x746f7279), + ACE_NTOHL (0x2f537461), + ACE_NTOHL (0x72747570), + ACE_NTOHL (0x4f707469), + ACE_NTOHL (0x6f6e733a), ACE_NTOHL (0x312e3000), // repository ID = IDL:ImplementationRepository/StartupOptions:1.0 15, - ACE_NTOHL (0x53746172), - ACE_NTOHL (0x7475704f), - ACE_NTOHL (0x7074696f), + ACE_NTOHL (0x53746172), + ACE_NTOHL (0x7475704f), + ACE_NTOHL (0x7074696f), ACE_NTOHL (0x6e730000), // name = StartupOptions 5, // member count 13, - ACE_NTOHL (0x636f6d6d), - ACE_NTOHL (0x616e645f), - ACE_NTOHL (0x6c696e65), + ACE_NTOHL (0x636f6d6d), + ACE_NTOHL (0x616e645f), + ACE_NTOHL (0x6c696e65), ACE_NTOHL (0x0), // name = command_line - CORBA::tk_string, + CORBA::tk_string, 0U, // string length 12, - ACE_NTOHL (0x656e7669), - ACE_NTOHL (0x726f6e6d), + ACE_NTOHL (0x656e7669), + ACE_NTOHL (0x726f6e6d), ACE_NTOHL (0x656e7400), // name = environment CORBA::tk_alias, // typecode kind for typedefs 236, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order 49, - ACE_NTOHL (0x49444c3a), - ACE_NTOHL (0x496d706c), - ACE_NTOHL (0x656d656e), - ACE_NTOHL (0x74617469), - ACE_NTOHL (0x6f6e5265), - ACE_NTOHL (0x706f7369), - ACE_NTOHL (0x746f7279), - ACE_NTOHL (0x2f456e76), - ACE_NTOHL (0x69726f6e), - ACE_NTOHL (0x6d656e74), - ACE_NTOHL (0x4c697374), - ACE_NTOHL (0x3a312e30), + ACE_NTOHL (0x49444c3a), + ACE_NTOHL (0x496d706c), + ACE_NTOHL (0x656d656e), + ACE_NTOHL (0x74617469), + ACE_NTOHL (0x6f6e5265), + ACE_NTOHL (0x706f7369), + ACE_NTOHL (0x746f7279), + ACE_NTOHL (0x2f456e76), + ACE_NTOHL (0x69726f6e), + ACE_NTOHL (0x6d656e74), + ACE_NTOHL (0x4c697374), + ACE_NTOHL (0x3a312e30), ACE_NTOHL (0x0), // repository ID = IDL:ImplementationRepository/EnvironmentList:1.0 16, - ACE_NTOHL (0x456e7669), - ACE_NTOHL (0x726f6e6d), - ACE_NTOHL (0x656e744c), + ACE_NTOHL (0x456e7669), + ACE_NTOHL (0x726f6e6d), + ACE_NTOHL (0x656e744c), ACE_NTOHL (0x69737400), // name = EnvironmentList CORBA::tk_sequence, // typecode kind 148, // encapsulation length @@ -1838,95 +2048,95 @@ static const CORBA::Long _oc_ImplementationRepository_StartupOptions[] = 132, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order 53, - ACE_NTOHL (0x49444c3a), - ACE_NTOHL (0x496d706c), - ACE_NTOHL (0x656d656e), - ACE_NTOHL (0x74617469), - ACE_NTOHL (0x6f6e5265), - ACE_NTOHL (0x706f7369), - ACE_NTOHL (0x746f7279), - ACE_NTOHL (0x2f456e76), - ACE_NTOHL (0x69726f6e), - ACE_NTOHL (0x6d656e74), - ACE_NTOHL (0x56617269), - ACE_NTOHL (0x61626c65), - ACE_NTOHL (0x3a312e30), + ACE_NTOHL (0x49444c3a), + ACE_NTOHL (0x496d706c), + ACE_NTOHL (0x656d656e), + ACE_NTOHL (0x74617469), + ACE_NTOHL (0x6f6e5265), + ACE_NTOHL (0x706f7369), + ACE_NTOHL (0x746f7279), + ACE_NTOHL (0x2f456e76), + ACE_NTOHL (0x69726f6e), + ACE_NTOHL (0x6d656e74), + ACE_NTOHL (0x56617269), + ACE_NTOHL (0x61626c65), + ACE_NTOHL (0x3a312e30), ACE_NTOHL (0x0), // repository ID = IDL:ImplementationRepository/EnvironmentVariable:1.0 20, - ACE_NTOHL (0x456e7669), - ACE_NTOHL (0x726f6e6d), - ACE_NTOHL (0x656e7456), - ACE_NTOHL (0x61726961), + ACE_NTOHL (0x456e7669), + ACE_NTOHL (0x726f6e6d), + ACE_NTOHL (0x656e7456), + ACE_NTOHL (0x61726961), ACE_NTOHL (0x626c6500), // name = EnvironmentVariable 2, // member count 5, - ACE_NTOHL (0x6e616d65), + ACE_NTOHL (0x6e616d65), ACE_NTOHL (0x0), // name = name - CORBA::tk_string, + CORBA::tk_string, 0U, // string length 6, - ACE_NTOHL (0x76616c75), + ACE_NTOHL (0x76616c75), ACE_NTOHL (0x65000000), // name = value - CORBA::tk_string, + CORBA::tk_string, 0U, // string length 0U, 18, - ACE_NTOHL (0x776f726b), - ACE_NTOHL (0x696e675f), - ACE_NTOHL (0x64697265), - ACE_NTOHL (0x63746f72), + ACE_NTOHL (0x776f726b), + ACE_NTOHL (0x696e675f), + ACE_NTOHL (0x64697265), + ACE_NTOHL (0x63746f72), ACE_NTOHL (0x79000000), // name = working_directory - CORBA::tk_string, + CORBA::tk_string, 0U, // string length 11, - ACE_NTOHL (0x61637469), - ACE_NTOHL (0x76617469), + ACE_NTOHL (0x61637469), + ACE_NTOHL (0x76617469), ACE_NTOHL (0x6f6e0000), // name = activation CORBA::tk_enum, // typecode kind 136, // encapsulation length - TAO_ENCAP_BYTE_ORDER, // byte order +TAO_ENCAP_BYTE_ORDER, // byte order 48, - ACE_NTOHL (0x49444c3a), - ACE_NTOHL (0x496d706c), - ACE_NTOHL (0x656d656e), - ACE_NTOHL (0x74617469), - ACE_NTOHL (0x6f6e5265), - ACE_NTOHL (0x706f7369), - ACE_NTOHL (0x746f7279), - ACE_NTOHL (0x2f416374), - ACE_NTOHL (0x69766174), - ACE_NTOHL (0x696f6e4d), - ACE_NTOHL (0x6f64653a), + ACE_NTOHL (0x49444c3a), + ACE_NTOHL (0x496d706c), + ACE_NTOHL (0x656d656e), + ACE_NTOHL (0x74617469), + ACE_NTOHL (0x6f6e5265), + ACE_NTOHL (0x706f7369), + ACE_NTOHL (0x746f7279), + ACE_NTOHL (0x2f416374), + ACE_NTOHL (0x69766174), + ACE_NTOHL (0x696f6e4d), + ACE_NTOHL (0x6f64653a), ACE_NTOHL (0x312e3000), // repository ID = IDL:ImplementationRepository/ActivationMode:1.0 - 15, - ACE_NTOHL (0x41637469), - ACE_NTOHL (0x76617469), - ACE_NTOHL (0x6f6e4d6f), +15, + ACE_NTOHL (0x41637469), + ACE_NTOHL (0x76617469), + ACE_NTOHL (0x6f6e4d6f), ACE_NTOHL (0x64650000), // name = ActivationMode 4, // member count - 7, - ACE_NTOHL (0x4e4f524d), +7, + ACE_NTOHL (0x4e4f524d), ACE_NTOHL (0x414c0000), // name = NORMAL - 7, - ACE_NTOHL (0x4d414e55), +7, + ACE_NTOHL (0x4d414e55), ACE_NTOHL (0x414c0000), // name = MANUAL - 11, - ACE_NTOHL (0x5045525f), - ACE_NTOHL (0x434c4945), +11, + ACE_NTOHL (0x5045525f), + ACE_NTOHL (0x434c4945), ACE_NTOHL (0x4e540000), // name = PER_CLIENT - 11, - ACE_NTOHL (0x4155544f), - ACE_NTOHL (0x5f535441), +11, + ACE_NTOHL (0x4155544f), + ACE_NTOHL (0x5f535441), ACE_NTOHL (0x52540000), // name = AUTO_START 9, - ACE_NTOHL (0x6c6f6361), - ACE_NTOHL (0x74696f6e), + ACE_NTOHL (0x6c6f6361), + ACE_NTOHL (0x74696f6e), ACE_NTOHL (0x0), // name = location - CORBA::tk_string, + CORBA::tk_string, 0U, // string length }; @@ -1940,108 +2150,118 @@ static CORBA::TypeCode _tc_TAO_tc_ImplementationRepository_StartupOptions ( TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr) TAO_NAMESPACE_BEGIN (ImplementationRepository) -TAO_NAMESPACE_DEFINE (::CORBA::TypeCode_ptr, _tc_StartupOptions, &_tc_TAO_tc_ImplementationRepository_StartupOptions) +TAO_NAMESPACE_DEFINE ( + ::CORBA::TypeCode_ptr, + _tc_StartupOptions, + &_tc_TAO_tc_ImplementationRepository_StartupOptions + ) TAO_NAMESPACE_END +// TAO_IDL - Generated from +// be/be_visitor_structure/structure_cs.cpp:67 + void ImplementationRepository::StartupOptions::_tao_any_destructor (void *_tao_void_pointer) { StartupOptions *tmp = ACE_static_cast (StartupOptions*, _tao_void_pointer); delete tmp; } +// TAO_IDL - Generated from +// be/be_visitor_typecode/typecode_defn.cpp:284 + static const CORBA::Long _oc_ImplementationRepository_ServerInformation[] = { - TAO_ENCAP_BYTE_ORDER, // byte order + TAO_ENCAP_BYTE_ORDER, // byte order 51, - ACE_NTOHL (0x49444c3a), - ACE_NTOHL (0x496d706c), - ACE_NTOHL (0x656d656e), - ACE_NTOHL (0x74617469), - ACE_NTOHL (0x6f6e5265), - ACE_NTOHL (0x706f7369), - ACE_NTOHL (0x746f7279), - ACE_NTOHL (0x2f536572), - ACE_NTOHL (0x76657249), - ACE_NTOHL (0x6e666f72), - ACE_NTOHL (0x6d617469), - ACE_NTOHL (0x6f6e3a31), + ACE_NTOHL (0x49444c3a), + ACE_NTOHL (0x496d706c), + ACE_NTOHL (0x656d656e), + ACE_NTOHL (0x74617469), + ACE_NTOHL (0x6f6e5265), + ACE_NTOHL (0x706f7369), + ACE_NTOHL (0x746f7279), + ACE_NTOHL (0x2f536572), + ACE_NTOHL (0x76657249), + ACE_NTOHL (0x6e666f72), + ACE_NTOHL (0x6d617469), + ACE_NTOHL (0x6f6e3a31), ACE_NTOHL (0x2e300000), // repository ID = IDL:ImplementationRepository/ServerInformation:1.0 18, - ACE_NTOHL (0x53657276), - ACE_NTOHL (0x6572496e), - ACE_NTOHL (0x666f726d), - ACE_NTOHL (0x6174696f), + ACE_NTOHL (0x53657276), + ACE_NTOHL (0x6572496e), + ACE_NTOHL (0x666f726d), + ACE_NTOHL (0x6174696f), ACE_NTOHL (0x6e000000), // name = ServerInformation 4, // member count 15, - ACE_NTOHL (0x6c6f6769), - ACE_NTOHL (0x63616c5f), - ACE_NTOHL (0x73657276), + ACE_NTOHL (0x6c6f6769), + ACE_NTOHL (0x63616c5f), + ACE_NTOHL (0x73657276), ACE_NTOHL (0x65720000), // name = logical_server - CORBA::tk_string, + CORBA::tk_string, 0U, // string length 7, - ACE_NTOHL (0x73657276), + ACE_NTOHL (0x73657276), ACE_NTOHL (0x65720000), // name = server - CORBA::tk_string, + CORBA::tk_string, 0U, // string length 8, - ACE_NTOHL (0x73746172), + ACE_NTOHL (0x73746172), ACE_NTOHL (0x74757000), // name = startup CORBA::tk_struct, // typecode kind 584, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order 48, - ACE_NTOHL (0x49444c3a), - ACE_NTOHL (0x496d706c), - ACE_NTOHL (0x656d656e), - ACE_NTOHL (0x74617469), - ACE_NTOHL (0x6f6e5265), - ACE_NTOHL (0x706f7369), - ACE_NTOHL (0x746f7279), - ACE_NTOHL (0x2f537461), - ACE_NTOHL (0x72747570), - ACE_NTOHL (0x4f707469), - ACE_NTOHL (0x6f6e733a), + ACE_NTOHL (0x49444c3a), + ACE_NTOHL (0x496d706c), + ACE_NTOHL (0x656d656e), + ACE_NTOHL (0x74617469), + ACE_NTOHL (0x6f6e5265), + ACE_NTOHL (0x706f7369), + ACE_NTOHL (0x746f7279), + ACE_NTOHL (0x2f537461), + ACE_NTOHL (0x72747570), + ACE_NTOHL (0x4f707469), + ACE_NTOHL (0x6f6e733a), ACE_NTOHL (0x312e3000), // repository ID = IDL:ImplementationRepository/StartupOptions:1.0 15, - ACE_NTOHL (0x53746172), - ACE_NTOHL (0x7475704f), - ACE_NTOHL (0x7074696f), + ACE_NTOHL (0x53746172), + ACE_NTOHL (0x7475704f), + ACE_NTOHL (0x7074696f), ACE_NTOHL (0x6e730000), // name = StartupOptions 5, // member count 13, - ACE_NTOHL (0x636f6d6d), - ACE_NTOHL (0x616e645f), - ACE_NTOHL (0x6c696e65), + ACE_NTOHL (0x636f6d6d), + ACE_NTOHL (0x616e645f), + ACE_NTOHL (0x6c696e65), ACE_NTOHL (0x0), // name = command_line - CORBA::tk_string, + CORBA::tk_string, 0U, // string length 12, - ACE_NTOHL (0x656e7669), - ACE_NTOHL (0x726f6e6d), + ACE_NTOHL (0x656e7669), + ACE_NTOHL (0x726f6e6d), ACE_NTOHL (0x656e7400), // name = environment CORBA::tk_alias, // typecode kind for typedefs 236, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order 49, - ACE_NTOHL (0x49444c3a), - ACE_NTOHL (0x496d706c), - ACE_NTOHL (0x656d656e), - ACE_NTOHL (0x74617469), - ACE_NTOHL (0x6f6e5265), - ACE_NTOHL (0x706f7369), - ACE_NTOHL (0x746f7279), - ACE_NTOHL (0x2f456e76), - ACE_NTOHL (0x69726f6e), - ACE_NTOHL (0x6d656e74), - ACE_NTOHL (0x4c697374), - ACE_NTOHL (0x3a312e30), + ACE_NTOHL (0x49444c3a), + ACE_NTOHL (0x496d706c), + ACE_NTOHL (0x656d656e), + ACE_NTOHL (0x74617469), + ACE_NTOHL (0x6f6e5265), + ACE_NTOHL (0x706f7369), + ACE_NTOHL (0x746f7279), + ACE_NTOHL (0x2f456e76), + ACE_NTOHL (0x69726f6e), + ACE_NTOHL (0x6d656e74), + ACE_NTOHL (0x4c697374), + ACE_NTOHL (0x3a312e30), ACE_NTOHL (0x0), // repository ID = IDL:ImplementationRepository/EnvironmentList:1.0 16, - ACE_NTOHL (0x456e7669), - ACE_NTOHL (0x726f6e6d), - ACE_NTOHL (0x656e744c), + ACE_NTOHL (0x456e7669), + ACE_NTOHL (0x726f6e6d), + ACE_NTOHL (0x656e744c), ACE_NTOHL (0x69737400), // name = EnvironmentList CORBA::tk_sequence, // typecode kind 148, // encapsulation length @@ -2050,120 +2270,120 @@ static const CORBA::Long _oc_ImplementationRepository_ServerInformation[] = 132, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order 53, - ACE_NTOHL (0x49444c3a), - ACE_NTOHL (0x496d706c), - ACE_NTOHL (0x656d656e), - ACE_NTOHL (0x74617469), - ACE_NTOHL (0x6f6e5265), - ACE_NTOHL (0x706f7369), - ACE_NTOHL (0x746f7279), - ACE_NTOHL (0x2f456e76), - ACE_NTOHL (0x69726f6e), - ACE_NTOHL (0x6d656e74), - ACE_NTOHL (0x56617269), - ACE_NTOHL (0x61626c65), - ACE_NTOHL (0x3a312e30), + ACE_NTOHL (0x49444c3a), + ACE_NTOHL (0x496d706c), + ACE_NTOHL (0x656d656e), + ACE_NTOHL (0x74617469), + ACE_NTOHL (0x6f6e5265), + ACE_NTOHL (0x706f7369), + ACE_NTOHL (0x746f7279), + ACE_NTOHL (0x2f456e76), + ACE_NTOHL (0x69726f6e), + ACE_NTOHL (0x6d656e74), + ACE_NTOHL (0x56617269), + ACE_NTOHL (0x61626c65), + ACE_NTOHL (0x3a312e30), ACE_NTOHL (0x0), // repository ID = IDL:ImplementationRepository/EnvironmentVariable:1.0 20, - ACE_NTOHL (0x456e7669), - ACE_NTOHL (0x726f6e6d), - ACE_NTOHL (0x656e7456), - ACE_NTOHL (0x61726961), + ACE_NTOHL (0x456e7669), + ACE_NTOHL (0x726f6e6d), + ACE_NTOHL (0x656e7456), + ACE_NTOHL (0x61726961), ACE_NTOHL (0x626c6500), // name = EnvironmentVariable 2, // member count 5, - ACE_NTOHL (0x6e616d65), + ACE_NTOHL (0x6e616d65), ACE_NTOHL (0x0), // name = name - CORBA::tk_string, + CORBA::tk_string, 0U, // string length 6, - ACE_NTOHL (0x76616c75), + ACE_NTOHL (0x76616c75), ACE_NTOHL (0x65000000), // name = value - CORBA::tk_string, + CORBA::tk_string, 0U, // string length 0U, 18, - ACE_NTOHL (0x776f726b), - ACE_NTOHL (0x696e675f), - ACE_NTOHL (0x64697265), - ACE_NTOHL (0x63746f72), + ACE_NTOHL (0x776f726b), + ACE_NTOHL (0x696e675f), + ACE_NTOHL (0x64697265), + ACE_NTOHL (0x63746f72), ACE_NTOHL (0x79000000), // name = working_directory - CORBA::tk_string, + CORBA::tk_string, 0U, // string length 11, - ACE_NTOHL (0x61637469), - ACE_NTOHL (0x76617469), + ACE_NTOHL (0x61637469), + ACE_NTOHL (0x76617469), ACE_NTOHL (0x6f6e0000), // name = activation CORBA::tk_enum, // typecode kind 136, // encapsulation length - TAO_ENCAP_BYTE_ORDER, // byte order +TAO_ENCAP_BYTE_ORDER, // byte order 48, - ACE_NTOHL (0x49444c3a), - ACE_NTOHL (0x496d706c), - ACE_NTOHL (0x656d656e), - ACE_NTOHL (0x74617469), - ACE_NTOHL (0x6f6e5265), - ACE_NTOHL (0x706f7369), - ACE_NTOHL (0x746f7279), - ACE_NTOHL (0x2f416374), - ACE_NTOHL (0x69766174), - ACE_NTOHL (0x696f6e4d), - ACE_NTOHL (0x6f64653a), + ACE_NTOHL (0x49444c3a), + ACE_NTOHL (0x496d706c), + ACE_NTOHL (0x656d656e), + ACE_NTOHL (0x74617469), + ACE_NTOHL (0x6f6e5265), + ACE_NTOHL (0x706f7369), + ACE_NTOHL (0x746f7279), + ACE_NTOHL (0x2f416374), + ACE_NTOHL (0x69766174), + ACE_NTOHL (0x696f6e4d), + ACE_NTOHL (0x6f64653a), ACE_NTOHL (0x312e3000), // repository ID = IDL:ImplementationRepository/ActivationMode:1.0 - 15, - ACE_NTOHL (0x41637469), - ACE_NTOHL (0x76617469), - ACE_NTOHL (0x6f6e4d6f), +15, + ACE_NTOHL (0x41637469), + ACE_NTOHL (0x76617469), + ACE_NTOHL (0x6f6e4d6f), ACE_NTOHL (0x64650000), // name = ActivationMode 4, // member count - 7, - ACE_NTOHL (0x4e4f524d), +7, + ACE_NTOHL (0x4e4f524d), ACE_NTOHL (0x414c0000), // name = NORMAL - 7, - ACE_NTOHL (0x4d414e55), +7, + ACE_NTOHL (0x4d414e55), ACE_NTOHL (0x414c0000), // name = MANUAL - 11, - ACE_NTOHL (0x5045525f), - ACE_NTOHL (0x434c4945), +11, + ACE_NTOHL (0x5045525f), + ACE_NTOHL (0x434c4945), ACE_NTOHL (0x4e540000), // name = PER_CLIENT - 11, - ACE_NTOHL (0x4155544f), - ACE_NTOHL (0x5f535441), +11, + ACE_NTOHL (0x4155544f), + ACE_NTOHL (0x5f535441), ACE_NTOHL (0x52540000), // name = AUTO_START 9, - ACE_NTOHL (0x6c6f6361), - ACE_NTOHL (0x74696f6e), + ACE_NTOHL (0x6c6f6361), + ACE_NTOHL (0x74696f6e), ACE_NTOHL (0x0), // name = location - CORBA::tk_string, + CORBA::tk_string, 0U, // string length 9, - ACE_NTOHL (0x6c6f6361), - ACE_NTOHL (0x74696f6e), + ACE_NTOHL (0x6c6f6361), + ACE_NTOHL (0x74696f6e), ACE_NTOHL (0x0), // name = location CORBA::tk_alias, // typecode kind for typedefs 72, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order 41, - ACE_NTOHL (0x49444c3a), - ACE_NTOHL (0x496d706c), - ACE_NTOHL (0x656d656e), - ACE_NTOHL (0x74617469), - ACE_NTOHL (0x6f6e5265), - ACE_NTOHL (0x706f7369), - ACE_NTOHL (0x746f7279), - ACE_NTOHL (0x2f416464), - ACE_NTOHL (0x72657373), - ACE_NTOHL (0x3a312e30), + ACE_NTOHL (0x49444c3a), + ACE_NTOHL (0x496d706c), + ACE_NTOHL (0x656d656e), + ACE_NTOHL (0x74617469), + ACE_NTOHL (0x6f6e5265), + ACE_NTOHL (0x706f7369), + ACE_NTOHL (0x746f7279), + ACE_NTOHL (0x2f416464), + ACE_NTOHL (0x72657373), + ACE_NTOHL (0x3a312e30), ACE_NTOHL (0x0), // repository ID = IDL:ImplementationRepository/Address:1.0 8, - ACE_NTOHL (0x41646472), + ACE_NTOHL (0x41646472), ACE_NTOHL (0x65737300), // name = Address - CORBA::tk_string, + CORBA::tk_string, 0U, // string length }; @@ -2178,15 +2398,24 @@ static CORBA::TypeCode _tc_TAO_tc_ImplementationRepository_ServerInformation ( TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr) TAO_NAMESPACE_BEGIN (ImplementationRepository) -TAO_NAMESPACE_DEFINE (::CORBA::TypeCode_ptr, _tc_ServerInformation, &_tc_TAO_tc_ImplementationRepository_ServerInformation) +TAO_NAMESPACE_DEFINE ( + ::CORBA::TypeCode_ptr, + _tc_ServerInformation, + &_tc_TAO_tc_ImplementationRepository_ServerInformation + ) TAO_NAMESPACE_END +// TAO_IDL - Generated from +// be/be_visitor_structure/structure_cs.cpp:67 + void ImplementationRepository::ServerInformation::_tao_any_destructor (void *_tao_void_pointer) { ServerInformation *tmp = ACE_static_cast (ServerInformation*, _tao_void_pointer); delete tmp; } +// TAO_IDL - Generated from +// be/be_visitor_sequence/gen_unbounded_sequence_cs.cpp:101 #if !defined (TAO_USE_SEQUENCE_TEMPLATES) @@ -2198,18 +2427,23 @@ ImplementationRepository::_TAO_Unbounded_Sequence_ImplementationRepository_Serve { ImplementationRepository::ServerInformation* tmp = 0; tmp = _TAO_Unbounded_Sequence_ImplementationRepository_ServerInformationList::allocbuf (length); - + if (this->buffer_ != 0) - { - ImplementationRepository::ServerInformation *old = ACE_reinterpret_cast (ImplementationRepository::ServerInformation *,this->buffer_); - - for (CORBA::ULong i = 0; i < this->length_; ++i) - tmp[i] = old[i]; - - if (this->release_) - _TAO_Unbounded_Sequence_ImplementationRepository_ServerInformationList::freebuf (old); - - } + { + ImplementationRepository::ServerInformation *old = + ACE_reinterpret_cast (ImplementationRepository::ServerInformation *, this->buffer_); + + for (CORBA::ULong i = 0; i < this->length_; ++i) + { + tmp[i] = old[i]; + } + + if (this->release_) + { + _TAO_Unbounded_Sequence_ImplementationRepository_ServerInformationList::freebuf (old); + } + } + this->buffer_ = tmp; } @@ -2217,96 +2451,117 @@ void ImplementationRepository::_TAO_Unbounded_Sequence_ImplementationRepository_ServerInformationList::_deallocate_buffer (void) { if (this->buffer_ == 0 || this->release_ == 0) - return; - - ImplementationRepository::ServerInformation *tmp = ACE_reinterpret_cast (ImplementationRepository::ServerInformation *,this->buffer_); - + { + return; + } + + ImplementationRepository::ServerInformation *tmp = + ACE_reinterpret_cast (ImplementationRepository::ServerInformation *, this->buffer_); _TAO_Unbounded_Sequence_ImplementationRepository_ServerInformationList::freebuf (tmp); this->buffer_ = 0; -} +} -ImplementationRepository::_TAO_Unbounded_Sequence_ImplementationRepository_ServerInformationList::~_TAO_Unbounded_Sequence_ImplementationRepository_ServerInformationList (void) // Dtor. +ImplementationRepository::_TAO_Unbounded_Sequence_ImplementationRepository_ServerInformationList::~_TAO_Unbounded_Sequence_ImplementationRepository_ServerInformationList (void) { this->_deallocate_buffer (); } - #endif /* end #if !defined */ - -#endif /* !TAO_USE_SEQUENCE_TEMPLATES */ +#endif /* !TAO_USE_SEQUENCE_TEMPLATES */ #if !defined (_IMPLEMENTATIONREPOSITORY_SERVERINFORMATIONLIST_CS_) #define _IMPLEMENTATIONREPOSITORY_SERVERINFORMATIONLIST_CS_ +// TAO_IDL - Generated from +// be/be_visitor_sequence/sequence_cs.cpp:250 + // ************************************************************* // ImplementationRepository::ServerInformationList // ************************************************************* ImplementationRepository::ServerInformationList::ServerInformationList (void) {} -ImplementationRepository::ServerInformationList::ServerInformationList (CORBA::ULong max) // uses max size - : + +ImplementationRepository::ServerInformationList::ServerInformationList (CORBA::ULong max) + : + #if !defined (TAO_USE_SEQUENCE_TEMPLATES) _TAO_Unbounded_Sequence_ImplementationRepository_ServerInformationList #else /* TAO_USE_SEQUENCE_TEMPLATES */ TAO_Unbounded_Sequence<ImplementationRepository::ServerInformation> -#endif /* !TAO_USE_SEQUENCE_TEMPLATES */ + +#endif /* !TAO_USE_SEQUENCE_TEMPLATES */ (max) {} -ImplementationRepository::ServerInformationList::ServerInformationList (CORBA::ULong max, CORBA::ULong length, ImplementationRepository::ServerInformation *buffer, CORBA::Boolean release) - : + +ImplementationRepository::ServerInformationList::ServerInformationList ( + CORBA::ULong max, + CORBA::ULong length, + ImplementationRepository::ServerInformation *buffer, + CORBA::Boolean release + ) + : + #if !defined (TAO_USE_SEQUENCE_TEMPLATES) _TAO_Unbounded_Sequence_ImplementationRepository_ServerInformationList #else /* TAO_USE_SEQUENCE_TEMPLATES */ TAO_Unbounded_Sequence<ImplementationRepository::ServerInformation> -#endif /* !TAO_USE_SEQUENCE_TEMPLATES */ + +#endif /* !TAO_USE_SEQUENCE_TEMPLATES */ (max, length, buffer, release) {} -ImplementationRepository::ServerInformationList::ServerInformationList (const ServerInformationList &seq) // copy ctor - : + +ImplementationRepository::ServerInformationList::ServerInformationList (const ServerInformationList &seq) + : + #if !defined (TAO_USE_SEQUENCE_TEMPLATES) _TAO_Unbounded_Sequence_ImplementationRepository_ServerInformationList #else /* TAO_USE_SEQUENCE_TEMPLATES */ TAO_Unbounded_Sequence<ImplementationRepository::ServerInformation> -#endif /* !TAO_USE_SEQUENCE_TEMPLATES */ + +#endif /* !TAO_USE_SEQUENCE_TEMPLATES */ (seq) {} + ImplementationRepository::ServerInformationList::~ServerInformationList (void) // dtor {} + void ImplementationRepository::ServerInformationList::_tao_any_destructor (void *_tao_void_pointer) { ServerInformationList *tmp = ACE_static_cast (ServerInformationList*, _tao_void_pointer); delete tmp; } - #endif /* end #if !defined */ +// TAO_IDL - Generated from +// be/be_visitor_typecode/typecode_defn.cpp:284 + static const CORBA::Long _oc_ImplementationRepository_ServerInformationList[] = { - TAO_ENCAP_BYTE_ORDER, // byte order + TAO_ENCAP_BYTE_ORDER, // byte order 55, - ACE_NTOHL (0x49444c3a), - ACE_NTOHL (0x496d706c), - ACE_NTOHL (0x656d656e), - ACE_NTOHL (0x74617469), - ACE_NTOHL (0x6f6e5265), - ACE_NTOHL (0x706f7369), - ACE_NTOHL (0x746f7279), - ACE_NTOHL (0x2f536572), - ACE_NTOHL (0x76657249), - ACE_NTOHL (0x6e666f72), - ACE_NTOHL (0x6d617469), - ACE_NTOHL (0x6f6e4c69), - ACE_NTOHL (0x73743a31), + ACE_NTOHL (0x49444c3a), + ACE_NTOHL (0x496d706c), + ACE_NTOHL (0x656d656e), + ACE_NTOHL (0x74617469), + ACE_NTOHL (0x6f6e5265), + ACE_NTOHL (0x706f7369), + ACE_NTOHL (0x746f7279), + ACE_NTOHL (0x2f536572), + ACE_NTOHL (0x76657249), + ACE_NTOHL (0x6e666f72), + ACE_NTOHL (0x6d617469), + ACE_NTOHL (0x6f6e4c69), + ACE_NTOHL (0x73743a31), ACE_NTOHL (0x2e300000), // repository ID = IDL:ImplementationRepository/ServerInformationList:1.0 22, - ACE_NTOHL (0x53657276), - ACE_NTOHL (0x6572496e), - ACE_NTOHL (0x666f726d), - ACE_NTOHL (0x6174696f), - ACE_NTOHL (0x6e4c6973), + ACE_NTOHL (0x53657276), + ACE_NTOHL (0x6572496e), + ACE_NTOHL (0x666f726d), + ACE_NTOHL (0x6174696f), + ACE_NTOHL (0x6e4c6973), ACE_NTOHL (0x74000000), // name = ServerInformationList CORBA::tk_sequence, // typecode kind 852, // encapsulation length @@ -2315,95 +2570,95 @@ static const CORBA::Long _oc_ImplementationRepository_ServerInformationList[] = 836, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order 51, - ACE_NTOHL (0x49444c3a), - ACE_NTOHL (0x496d706c), - ACE_NTOHL (0x656d656e), - ACE_NTOHL (0x74617469), - ACE_NTOHL (0x6f6e5265), - ACE_NTOHL (0x706f7369), - ACE_NTOHL (0x746f7279), - ACE_NTOHL (0x2f536572), - ACE_NTOHL (0x76657249), - ACE_NTOHL (0x6e666f72), - ACE_NTOHL (0x6d617469), - ACE_NTOHL (0x6f6e3a31), + ACE_NTOHL (0x49444c3a), + ACE_NTOHL (0x496d706c), + ACE_NTOHL (0x656d656e), + ACE_NTOHL (0x74617469), + ACE_NTOHL (0x6f6e5265), + ACE_NTOHL (0x706f7369), + ACE_NTOHL (0x746f7279), + ACE_NTOHL (0x2f536572), + ACE_NTOHL (0x76657249), + ACE_NTOHL (0x6e666f72), + ACE_NTOHL (0x6d617469), + ACE_NTOHL (0x6f6e3a31), ACE_NTOHL (0x2e300000), // repository ID = IDL:ImplementationRepository/ServerInformation:1.0 18, - ACE_NTOHL (0x53657276), - ACE_NTOHL (0x6572496e), - ACE_NTOHL (0x666f726d), - ACE_NTOHL (0x6174696f), + ACE_NTOHL (0x53657276), + ACE_NTOHL (0x6572496e), + ACE_NTOHL (0x666f726d), + ACE_NTOHL (0x6174696f), ACE_NTOHL (0x6e000000), // name = ServerInformation 4, // member count 15, - ACE_NTOHL (0x6c6f6769), - ACE_NTOHL (0x63616c5f), - ACE_NTOHL (0x73657276), + ACE_NTOHL (0x6c6f6769), + ACE_NTOHL (0x63616c5f), + ACE_NTOHL (0x73657276), ACE_NTOHL (0x65720000), // name = logical_server - CORBA::tk_string, + CORBA::tk_string, 0U, // string length 7, - ACE_NTOHL (0x73657276), + ACE_NTOHL (0x73657276), ACE_NTOHL (0x65720000), // name = server - CORBA::tk_string, + CORBA::tk_string, 0U, // string length 8, - ACE_NTOHL (0x73746172), + ACE_NTOHL (0x73746172), ACE_NTOHL (0x74757000), // name = startup CORBA::tk_struct, // typecode kind 584, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order 48, - ACE_NTOHL (0x49444c3a), - ACE_NTOHL (0x496d706c), - ACE_NTOHL (0x656d656e), - ACE_NTOHL (0x74617469), - ACE_NTOHL (0x6f6e5265), - ACE_NTOHL (0x706f7369), - ACE_NTOHL (0x746f7279), - ACE_NTOHL (0x2f537461), - ACE_NTOHL (0x72747570), - ACE_NTOHL (0x4f707469), - ACE_NTOHL (0x6f6e733a), + ACE_NTOHL (0x49444c3a), + ACE_NTOHL (0x496d706c), + ACE_NTOHL (0x656d656e), + ACE_NTOHL (0x74617469), + ACE_NTOHL (0x6f6e5265), + ACE_NTOHL (0x706f7369), + ACE_NTOHL (0x746f7279), + ACE_NTOHL (0x2f537461), + ACE_NTOHL (0x72747570), + ACE_NTOHL (0x4f707469), + ACE_NTOHL (0x6f6e733a), ACE_NTOHL (0x312e3000), // repository ID = IDL:ImplementationRepository/StartupOptions:1.0 15, - ACE_NTOHL (0x53746172), - ACE_NTOHL (0x7475704f), - ACE_NTOHL (0x7074696f), + ACE_NTOHL (0x53746172), + ACE_NTOHL (0x7475704f), + ACE_NTOHL (0x7074696f), ACE_NTOHL (0x6e730000), // name = StartupOptions 5, // member count 13, - ACE_NTOHL (0x636f6d6d), - ACE_NTOHL (0x616e645f), - ACE_NTOHL (0x6c696e65), + ACE_NTOHL (0x636f6d6d), + ACE_NTOHL (0x616e645f), + ACE_NTOHL (0x6c696e65), ACE_NTOHL (0x0), // name = command_line - CORBA::tk_string, + CORBA::tk_string, 0U, // string length 12, - ACE_NTOHL (0x656e7669), - ACE_NTOHL (0x726f6e6d), + ACE_NTOHL (0x656e7669), + ACE_NTOHL (0x726f6e6d), ACE_NTOHL (0x656e7400), // name = environment CORBA::tk_alias, // typecode kind for typedefs 236, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order 49, - ACE_NTOHL (0x49444c3a), - ACE_NTOHL (0x496d706c), - ACE_NTOHL (0x656d656e), - ACE_NTOHL (0x74617469), - ACE_NTOHL (0x6f6e5265), - ACE_NTOHL (0x706f7369), - ACE_NTOHL (0x746f7279), - ACE_NTOHL (0x2f456e76), - ACE_NTOHL (0x69726f6e), - ACE_NTOHL (0x6d656e74), - ACE_NTOHL (0x4c697374), - ACE_NTOHL (0x3a312e30), + ACE_NTOHL (0x49444c3a), + ACE_NTOHL (0x496d706c), + ACE_NTOHL (0x656d656e), + ACE_NTOHL (0x74617469), + ACE_NTOHL (0x6f6e5265), + ACE_NTOHL (0x706f7369), + ACE_NTOHL (0x746f7279), + ACE_NTOHL (0x2f456e76), + ACE_NTOHL (0x69726f6e), + ACE_NTOHL (0x6d656e74), + ACE_NTOHL (0x4c697374), + ACE_NTOHL (0x3a312e30), ACE_NTOHL (0x0), // repository ID = IDL:ImplementationRepository/EnvironmentList:1.0 16, - ACE_NTOHL (0x456e7669), - ACE_NTOHL (0x726f6e6d), - ACE_NTOHL (0x656e744c), + ACE_NTOHL (0x456e7669), + ACE_NTOHL (0x726f6e6d), + ACE_NTOHL (0x656e744c), ACE_NTOHL (0x69737400), // name = EnvironmentList CORBA::tk_sequence, // typecode kind 148, // encapsulation length @@ -2412,120 +2667,120 @@ static const CORBA::Long _oc_ImplementationRepository_ServerInformationList[] = 132, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order 53, - ACE_NTOHL (0x49444c3a), - ACE_NTOHL (0x496d706c), - ACE_NTOHL (0x656d656e), - ACE_NTOHL (0x74617469), - ACE_NTOHL (0x6f6e5265), - ACE_NTOHL (0x706f7369), - ACE_NTOHL (0x746f7279), - ACE_NTOHL (0x2f456e76), - ACE_NTOHL (0x69726f6e), - ACE_NTOHL (0x6d656e74), - ACE_NTOHL (0x56617269), - ACE_NTOHL (0x61626c65), - ACE_NTOHL (0x3a312e30), + ACE_NTOHL (0x49444c3a), + ACE_NTOHL (0x496d706c), + ACE_NTOHL (0x656d656e), + ACE_NTOHL (0x74617469), + ACE_NTOHL (0x6f6e5265), + ACE_NTOHL (0x706f7369), + ACE_NTOHL (0x746f7279), + ACE_NTOHL (0x2f456e76), + ACE_NTOHL (0x69726f6e), + ACE_NTOHL (0x6d656e74), + ACE_NTOHL (0x56617269), + ACE_NTOHL (0x61626c65), + ACE_NTOHL (0x3a312e30), ACE_NTOHL (0x0), // repository ID = IDL:ImplementationRepository/EnvironmentVariable:1.0 20, - ACE_NTOHL (0x456e7669), - ACE_NTOHL (0x726f6e6d), - ACE_NTOHL (0x656e7456), - ACE_NTOHL (0x61726961), + ACE_NTOHL (0x456e7669), + ACE_NTOHL (0x726f6e6d), + ACE_NTOHL (0x656e7456), + ACE_NTOHL (0x61726961), ACE_NTOHL (0x626c6500), // name = EnvironmentVariable 2, // member count 5, - ACE_NTOHL (0x6e616d65), + ACE_NTOHL (0x6e616d65), ACE_NTOHL (0x0), // name = name - CORBA::tk_string, + CORBA::tk_string, 0U, // string length 6, - ACE_NTOHL (0x76616c75), + ACE_NTOHL (0x76616c75), ACE_NTOHL (0x65000000), // name = value - CORBA::tk_string, + CORBA::tk_string, 0U, // string length 0U, 18, - ACE_NTOHL (0x776f726b), - ACE_NTOHL (0x696e675f), - ACE_NTOHL (0x64697265), - ACE_NTOHL (0x63746f72), + ACE_NTOHL (0x776f726b), + ACE_NTOHL (0x696e675f), + ACE_NTOHL (0x64697265), + ACE_NTOHL (0x63746f72), ACE_NTOHL (0x79000000), // name = working_directory - CORBA::tk_string, + CORBA::tk_string, 0U, // string length 11, - ACE_NTOHL (0x61637469), - ACE_NTOHL (0x76617469), + ACE_NTOHL (0x61637469), + ACE_NTOHL (0x76617469), ACE_NTOHL (0x6f6e0000), // name = activation CORBA::tk_enum, // typecode kind 136, // encapsulation length - TAO_ENCAP_BYTE_ORDER, // byte order +TAO_ENCAP_BYTE_ORDER, // byte order 48, - ACE_NTOHL (0x49444c3a), - ACE_NTOHL (0x496d706c), - ACE_NTOHL (0x656d656e), - ACE_NTOHL (0x74617469), - ACE_NTOHL (0x6f6e5265), - ACE_NTOHL (0x706f7369), - ACE_NTOHL (0x746f7279), - ACE_NTOHL (0x2f416374), - ACE_NTOHL (0x69766174), - ACE_NTOHL (0x696f6e4d), - ACE_NTOHL (0x6f64653a), + ACE_NTOHL (0x49444c3a), + ACE_NTOHL (0x496d706c), + ACE_NTOHL (0x656d656e), + ACE_NTOHL (0x74617469), + ACE_NTOHL (0x6f6e5265), + ACE_NTOHL (0x706f7369), + ACE_NTOHL (0x746f7279), + ACE_NTOHL (0x2f416374), + ACE_NTOHL (0x69766174), + ACE_NTOHL (0x696f6e4d), + ACE_NTOHL (0x6f64653a), ACE_NTOHL (0x312e3000), // repository ID = IDL:ImplementationRepository/ActivationMode:1.0 - 15, - ACE_NTOHL (0x41637469), - ACE_NTOHL (0x76617469), - ACE_NTOHL (0x6f6e4d6f), +15, + ACE_NTOHL (0x41637469), + ACE_NTOHL (0x76617469), + ACE_NTOHL (0x6f6e4d6f), ACE_NTOHL (0x64650000), // name = ActivationMode 4, // member count - 7, - ACE_NTOHL (0x4e4f524d), +7, + ACE_NTOHL (0x4e4f524d), ACE_NTOHL (0x414c0000), // name = NORMAL - 7, - ACE_NTOHL (0x4d414e55), +7, + ACE_NTOHL (0x4d414e55), ACE_NTOHL (0x414c0000), // name = MANUAL - 11, - ACE_NTOHL (0x5045525f), - ACE_NTOHL (0x434c4945), +11, + ACE_NTOHL (0x5045525f), + ACE_NTOHL (0x434c4945), ACE_NTOHL (0x4e540000), // name = PER_CLIENT - 11, - ACE_NTOHL (0x4155544f), - ACE_NTOHL (0x5f535441), +11, + ACE_NTOHL (0x4155544f), + ACE_NTOHL (0x5f535441), ACE_NTOHL (0x52540000), // name = AUTO_START 9, - ACE_NTOHL (0x6c6f6361), - ACE_NTOHL (0x74696f6e), + ACE_NTOHL (0x6c6f6361), + ACE_NTOHL (0x74696f6e), ACE_NTOHL (0x0), // name = location - CORBA::tk_string, + CORBA::tk_string, 0U, // string length 9, - ACE_NTOHL (0x6c6f6361), - ACE_NTOHL (0x74696f6e), + ACE_NTOHL (0x6c6f6361), + ACE_NTOHL (0x74696f6e), ACE_NTOHL (0x0), // name = location CORBA::tk_alias, // typecode kind for typedefs 72, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order 41, - ACE_NTOHL (0x49444c3a), - ACE_NTOHL (0x496d706c), - ACE_NTOHL (0x656d656e), - ACE_NTOHL (0x74617469), - ACE_NTOHL (0x6f6e5265), - ACE_NTOHL (0x706f7369), - ACE_NTOHL (0x746f7279), - ACE_NTOHL (0x2f416464), - ACE_NTOHL (0x72657373), - ACE_NTOHL (0x3a312e30), + ACE_NTOHL (0x49444c3a), + ACE_NTOHL (0x496d706c), + ACE_NTOHL (0x656d656e), + ACE_NTOHL (0x74617469), + ACE_NTOHL (0x6f6e5265), + ACE_NTOHL (0x706f7369), + ACE_NTOHL (0x746f7279), + ACE_NTOHL (0x2f416464), + ACE_NTOHL (0x72657373), + ACE_NTOHL (0x3a312e30), ACE_NTOHL (0x0), // repository ID = IDL:ImplementationRepository/Address:1.0 8, - ACE_NTOHL (0x41646472), + ACE_NTOHL (0x41646472), ACE_NTOHL (0x65737300), // name = Address - CORBA::tk_string, + CORBA::tk_string, 0U, // string length @@ -2543,12 +2798,15 @@ static CORBA::TypeCode _tc_TAO_tc_ImplementationRepository_ServerInformationList TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr) TAO_NAMESPACE_BEGIN (ImplementationRepository) -TAO_NAMESPACE_DEFINE (::CORBA::TypeCode_ptr, _tc_ServerInformationList, &_tc_TAO_tc_ImplementationRepository_ServerInformationList) +TAO_NAMESPACE_DEFINE ( + ::CORBA::TypeCode_ptr, + _tc_ServerInformationList, + &_tc_TAO_tc_ImplementationRepository_ServerInformationList + ) TAO_NAMESPACE_END - // TAO_IDL - Generated from -// be/be_visitor_interface/interface_cs.cpp:67 +// be/be_visitor_interface/interface_cs.cpp:61 int ImplementationRepository::Administration::_tao_class_id = 0; @@ -2595,13 +2853,14 @@ tao_ImplementationRepository_Administration_upcast ( return *tmp; } +// TAO_IDL - Generated from +// be/be_interface.cpp:721 + // ************************************************************* // ImplementationRepository::Administration_var -// TAO_IDL - Generated from -// be/be_interface.cpp:654 // ************************************************************* -ImplementationRepository::Administration_var::Administration_var (void) // default constructor +ImplementationRepository::Administration_var::Administration_var (void) : ptr_ (Administration::_nil ()) {} @@ -2611,12 +2870,12 @@ ImplementationRepository::Administration_var::ptr (void) const return this->ptr_; } -ImplementationRepository::Administration_var::Administration_var (const ::ImplementationRepository::Administration_var &p) // copy constructor +ImplementationRepository::Administration_var::Administration_var (const ::ImplementationRepository::Administration_var &p) : TAO_Base_var (), ptr_ (Administration::_duplicate (p.ptr ())) {} -ImplementationRepository::Administration_var::~Administration_var (void) // destructor +ImplementationRepository::Administration_var::~Administration_var (void) { CORBA::release (this->ptr_); } @@ -2645,7 +2904,7 @@ ImplementationRepository::Administration_var::operator const ::ImplementationRep return this->ptr_; } -ImplementationRepository::Administration_var::operator ::ImplementationRepository::Administration_ptr &() // cast +ImplementationRepository::Administration_var::operator ::ImplementationRepository::Administration_ptr &() // cast { return this->ptr_; } @@ -2720,10 +2979,11 @@ ImplementationRepository::Administration_var::tao_upcast (void *src) return *tmp; } +// TAO_IDL - Generated from +// be/be_interface.cpp:1030 + // ************************************************************* // ImplementationRepository::Administration_out -// TAO_IDL - Generated from -// be/be_interface.cpp:932 // ************************************************************* ImplementationRepository::Administration_out::Administration_out (Administration_ptr &p) @@ -2732,14 +2992,14 @@ ImplementationRepository::Administration_out::Administration_out (Administration this->ptr_ = ::ImplementationRepository::Administration::_nil (); } -ImplementationRepository::Administration_out::Administration_out (Administration_var &p) // constructor from _var +ImplementationRepository::Administration_out::Administration_out (Administration_var &p) : ptr_ (p.out ()) { CORBA::release (this->ptr_); this->ptr_ = ::ImplementationRepository::Administration::_nil (); } -ImplementationRepository::Administration_out::Administration_out (const ::ImplementationRepository::Administration_out &p) // copy constructor +ImplementationRepository::Administration_out::Administration_out (const ::ImplementationRepository::Administration_out &p) : ptr_ (ACE_const_cast (Administration_out &, p).ptr_) {} @@ -2770,7 +3030,7 @@ ImplementationRepository::Administration_out::operator ::ImplementationRepositor } ::ImplementationRepository::Administration_ptr & -ImplementationRepository::Administration_out::ptr (void) // ptr +ImplementationRepository::Administration_out::ptr (void) { return this->ptr_; } @@ -2781,41 +3041,49 @@ ImplementationRepository::Administration_out::operator-> (void) return this->ptr_; } +// TAO_IDL - Generated from +// be/be_visitor_interface/interceptors_cs.cpp:56 #if (TAO_HAS_INTERCEPTORS == 1) + +// TAO_IDL - Generated from +// be/be_visitor_operation/interceptors_cs.cpp:76 + class TAO_ClientRequestInfo_ImplementationRepository_Administration_activate_server : public TAO_ClientRequestInfo_i { public: TAO_ClientRequestInfo_ImplementationRepository_Administration_activate_server ( TAO_GIOP_Invocation *_tao_invocation, CORBA::Object_ptr _tao_target, - const char * server ACE_ENV_ARG_DECL_WITH_DEFAULTS - ); - - virtual Dynamic::ParameterList * arguments (ACE_ENV_SINGLE_ARG_DECL) - ACE_THROW_SPEC ((CORBA::SystemException)); - - virtual Dynamic::ExceptionList * exceptions (ACE_ENV_SINGLE_ARG_DECL) - ACE_THROW_SPEC ((CORBA::SystemException)); - - virtual CORBA::Any * result (ACE_ENV_SINGLE_ARG_DECL) - ACE_THROW_SPEC ((CORBA::SystemException)); - -private: - TAO_ClientRequestInfo_ImplementationRepository_Administration_activate_server (const TAO_ClientRequestInfo_ImplementationRepository_Administration_activate_server &); - void operator= (const TAO_ClientRequestInfo_ImplementationRepository_Administration_activate_server &); - - const char * server_; - -}; - -TAO_ClientRequestInfo_ImplementationRepository_Administration_activate_server::TAO_ClientRequestInfo_ImplementationRepository_Administration_activate_server ( - TAO_GIOP_Invocation *_tao_invocation, - CORBA::Object_ptr _tao_target, - const char * server ACE_ENV_ARG_DECL_NOT_USED - ) - : TAO_ClientRequestInfo_i (_tao_invocation, _tao_target), - server_ (server) + const char * server + ACE_ENV_ARG_DECL_WITH_DEFAULTS); + + virtual Dynamic::ParameterList * arguments (ACE_ENV_SINGLE_ARG_DECL) + ACE_THROW_SPEC ((CORBA::SystemException)); + + virtual Dynamic::ExceptionList * exceptions (ACE_ENV_SINGLE_ARG_DECL) + ACE_THROW_SPEC ((CORBA::SystemException)); + + virtual CORBA::Any * result (ACE_ENV_SINGLE_ARG_DECL) + ACE_THROW_SPEC ((CORBA::SystemException)); + + private: + TAO_ClientRequestInfo_ImplementationRepository_Administration_activate_server (const TAO_ClientRequestInfo_ImplementationRepository_Administration_activate_server &); + void operator= (const TAO_ClientRequestInfo_ImplementationRepository_Administration_activate_server &); + const char * server_; + }; + + // TAO_IDL - Generated from + // be/be_visitor_operation/interceptors_cs.cpp:378 + + TAO_ClientRequestInfo_ImplementationRepository_Administration_activate_server::TAO_ClientRequestInfo_ImplementationRepository_Administration_activate_server ( + TAO_GIOP_Invocation *_tao_invocation, + CORBA::Object_ptr _tao_target, + const char * server + ACE_ENV_ARG_DECL_NOT_USED + ) + : TAO_ClientRequestInfo_i (_tao_invocation, _tao_target), + server_ (server) {} Dynamic::ParameterList * @@ -2826,16 +3094,15 @@ TAO_ClientRequestInfo_ImplementationRepository_Administration_activate_server::a Dynamic::ParameterList *parameter_list = TAO_RequestInfo_Util::make_parameter_list (ACE_ENV_SINGLE_ARG_PARAMETER); ACE_CHECK_RETURN (0); - + Dynamic::ParameterList_var safe_parameter_list = parameter_list; - + parameter_list->length (1); CORBA::ULong len = 0; - - (*parameter_list)[len].argument <<= server_; + (*parameter_list)[len].argument <<= server_; (*parameter_list)[len].mode = CORBA::PARAM_IN; len++; - + return safe_parameter_list._retn (); } @@ -2847,15 +3114,15 @@ TAO_ClientRequestInfo_ImplementationRepository_Administration_activate_server::e Dynamic::ExceptionList *exception_list = TAO_RequestInfo_Util::make_exception_list (ACE_ENV_SINGLE_ARG_PARAMETER); ACE_CHECK_RETURN (0); - + Dynamic::ExceptionList_var safe_exception_list = exception_list; - - static CORBA::TypeCode_ptr _tao_ImplementationRepository_Administration_activate_server_exceptiondata[] = + + static CORBA::TypeCode_ptr _tao_ImplementationRepository_Administration_activate_server_exceptiondata[] = { ImplementationRepository::_tc_NotFound, ImplementationRepository::_tc_CannotActivate }; - + exception_list->length (2); for (CORBA::ULong i = 0; i < 2; ++i) { @@ -2867,7 +3134,7 @@ TAO_ClientRequestInfo_ImplementationRepository_Administration_activate_server::e return safe_exception_list._retn (); } -CORBA::Any * +CORBA::Any * TAO_ClientRequestInfo_ImplementationRepository_Administration_activate_server::result (ACE_ENV_SINGLE_ARG_DECL) ACE_THROW_SPEC ((CORBA::SystemException)) { @@ -2876,10 +3143,15 @@ TAO_ClientRequestInfo_ImplementationRepository_Administration_activate_server::r CORBA::Any *result_any = TAO_RequestInfo_Util::make_any (tk_void_any ACE_ENV_ARG_PARAMETER); ACE_CHECK_RETURN (0); - + return result_any; } + + +// TAO_IDL - Generated from +// be/be_visitor_operation/interceptors_cs.cpp:76 + class TAO_ClientRequestInfo_ImplementationRepository_Administration_activate_server_with_startup : public TAO_ClientRequestInfo_i { public: @@ -2887,38 +3159,42 @@ public: TAO_GIOP_Invocation *_tao_invocation, CORBA::Object_ptr _tao_target, const char * server, - const CORBA::Long & check_startup ACE_ENV_ARG_DECL_WITH_DEFAULTS - ); - - virtual Dynamic::ParameterList * arguments (ACE_ENV_SINGLE_ARG_DECL) - ACE_THROW_SPEC ((CORBA::SystemException)); - - virtual Dynamic::ExceptionList * exceptions (ACE_ENV_SINGLE_ARG_DECL) - ACE_THROW_SPEC ((CORBA::SystemException)); - - virtual CORBA::Any * result (ACE_ENV_SINGLE_ARG_DECL) - ACE_THROW_SPEC ((CORBA::SystemException)); - - void result (char * result); - -private: - TAO_ClientRequestInfo_ImplementationRepository_Administration_activate_server_with_startup (const TAO_ClientRequestInfo_ImplementationRepository_Administration_activate_server_with_startup &); - void operator= (const TAO_ClientRequestInfo_ImplementationRepository_Administration_activate_server_with_startup &); - - const char * server_; - const CORBA::Long & check_startup_; - char * _result; -}; - -TAO_ClientRequestInfo_ImplementationRepository_Administration_activate_server_with_startup::TAO_ClientRequestInfo_ImplementationRepository_Administration_activate_server_with_startup ( - TAO_GIOP_Invocation *_tao_invocation, - CORBA::Object_ptr _tao_target, - const char * server, - const CORBA::Long & check_startup ACE_ENV_ARG_DECL_NOT_USED - ) - : TAO_ClientRequestInfo_i (_tao_invocation, _tao_target), - server_ (server), - check_startup_ (check_startup) + const CORBA::Long & check_startup + ACE_ENV_ARG_DECL_WITH_DEFAULTS); + + virtual Dynamic::ParameterList * arguments (ACE_ENV_SINGLE_ARG_DECL) + ACE_THROW_SPEC ((CORBA::SystemException)); + + virtual Dynamic::ExceptionList * exceptions (ACE_ENV_SINGLE_ARG_DECL) + ACE_THROW_SPEC ((CORBA::SystemException)); + + virtual CORBA::Any * result (ACE_ENV_SINGLE_ARG_DECL) + ACE_THROW_SPEC ((CORBA::SystemException)); + + void result (char * result); + + private: + TAO_ClientRequestInfo_ImplementationRepository_Administration_activate_server_with_startup (const TAO_ClientRequestInfo_ImplementationRepository_Administration_activate_server_with_startup &); + void operator= (const TAO_ClientRequestInfo_ImplementationRepository_Administration_activate_server_with_startup &); + const char * server_; + const CORBA::Long & check_startup_; + + char * _result; + }; + + // TAO_IDL - Generated from + // be/be_visitor_operation/interceptors_cs.cpp:378 + + TAO_ClientRequestInfo_ImplementationRepository_Administration_activate_server_with_startup::TAO_ClientRequestInfo_ImplementationRepository_Administration_activate_server_with_startup ( + TAO_GIOP_Invocation *_tao_invocation, + CORBA::Object_ptr _tao_target, + const char * server, + const CORBA::Long & check_startup + ACE_ENV_ARG_DECL_NOT_USED + ) + : TAO_ClientRequestInfo_i (_tao_invocation, _tao_target), + server_ (server), + check_startup_ (check_startup) {} Dynamic::ParameterList * @@ -2929,19 +3205,19 @@ TAO_ClientRequestInfo_ImplementationRepository_Administration_activate_server_wi Dynamic::ParameterList *parameter_list = TAO_RequestInfo_Util::make_parameter_list (ACE_ENV_SINGLE_ARG_PARAMETER); ACE_CHECK_RETURN (0); - + Dynamic::ParameterList_var safe_parameter_list = parameter_list; - + parameter_list->length (2); CORBA::ULong len = 0; - - (*parameter_list)[len].argument <<= server_; + (*parameter_list)[len].argument <<= server_; (*parameter_list)[len].mode = CORBA::PARAM_IN; len++; - (*parameter_list)[len].argument <<= check_startup_; + + (*parameter_list)[len].argument <<= check_startup_; (*parameter_list)[len].mode = CORBA::PARAM_IN; len++; - + return safe_parameter_list._retn (); } @@ -2953,15 +3229,15 @@ TAO_ClientRequestInfo_ImplementationRepository_Administration_activate_server_wi Dynamic::ExceptionList *exception_list = TAO_RequestInfo_Util::make_exception_list (ACE_ENV_SINGLE_ARG_PARAMETER); ACE_CHECK_RETURN (0); - + Dynamic::ExceptionList_var safe_exception_list = exception_list; - - static CORBA::TypeCode_ptr _tao_ImplementationRepository_Administration_activate_server_with_startup_exceptiondata[] = + + static CORBA::TypeCode_ptr _tao_ImplementationRepository_Administration_activate_server_with_startup_exceptiondata[] = { ImplementationRepository::_tc_NotFound, ImplementationRepository::_tc_CannotActivate }; - + exception_list->length (2); for (CORBA::ULong i = 0; i < 2; ++i) { @@ -2973,7 +3249,7 @@ TAO_ClientRequestInfo_ImplementationRepository_Administration_activate_server_wi return safe_exception_list._retn (); } -CORBA::Any * +CORBA::Any * TAO_ClientRequestInfo_ImplementationRepository_Administration_activate_server_with_startup::result (ACE_ENV_SINGLE_ARG_DECL) ACE_THROW_SPEC ((CORBA::SystemException)) { @@ -2982,20 +3258,23 @@ TAO_ClientRequestInfo_ImplementationRepository_Administration_activate_server_wi CORBA::Any *result_any = TAO_RequestInfo_Util::make_any (tk_void_any ACE_ENV_ARG_PARAMETER); ACE_CHECK_RETURN (0); - + CORBA::Any_var safe_result_any = result_any; - + (*result_any) <<= this->_result; return safe_result_any._retn (); } -void +void TAO_ClientRequestInfo_ImplementationRepository_Administration_activate_server_with_startup::result (char * result) { - // update the result + // Update the result. this->_result = result; } +// TAO_IDL - Generated from +// be/be_visitor_operation/interceptors_cs.cpp:76 + class TAO_ClientRequestInfo_ImplementationRepository_Administration_register_server : public TAO_ClientRequestInfo_i { public: @@ -3003,36 +3282,38 @@ public: TAO_GIOP_Invocation *_tao_invocation, CORBA::Object_ptr _tao_target, const char * server, - const ImplementationRepository::StartupOptions & options ACE_ENV_ARG_DECL_WITH_DEFAULTS - ); - - virtual Dynamic::ParameterList * arguments (ACE_ENV_SINGLE_ARG_DECL) - ACE_THROW_SPEC ((CORBA::SystemException)); - - virtual Dynamic::ExceptionList * exceptions (ACE_ENV_SINGLE_ARG_DECL) - ACE_THROW_SPEC ((CORBA::SystemException)); - - virtual CORBA::Any * result (ACE_ENV_SINGLE_ARG_DECL) - ACE_THROW_SPEC ((CORBA::SystemException)); - -private: - TAO_ClientRequestInfo_ImplementationRepository_Administration_register_server (const TAO_ClientRequestInfo_ImplementationRepository_Administration_register_server &); - void operator= (const TAO_ClientRequestInfo_ImplementationRepository_Administration_register_server &); - - const char * server_; - const ImplementationRepository::StartupOptions & options_; - -}; - -TAO_ClientRequestInfo_ImplementationRepository_Administration_register_server::TAO_ClientRequestInfo_ImplementationRepository_Administration_register_server ( - TAO_GIOP_Invocation *_tao_invocation, - CORBA::Object_ptr _tao_target, - const char * server, - const ImplementationRepository::StartupOptions & options ACE_ENV_ARG_DECL_NOT_USED - ) - : TAO_ClientRequestInfo_i (_tao_invocation, _tao_target), - server_ (server), - options_ (options) + const ImplementationRepository::StartupOptions & options + ACE_ENV_ARG_DECL_WITH_DEFAULTS); + + virtual Dynamic::ParameterList * arguments (ACE_ENV_SINGLE_ARG_DECL) + ACE_THROW_SPEC ((CORBA::SystemException)); + + virtual Dynamic::ExceptionList * exceptions (ACE_ENV_SINGLE_ARG_DECL) + ACE_THROW_SPEC ((CORBA::SystemException)); + + virtual CORBA::Any * result (ACE_ENV_SINGLE_ARG_DECL) + ACE_THROW_SPEC ((CORBA::SystemException)); + + private: + TAO_ClientRequestInfo_ImplementationRepository_Administration_register_server (const TAO_ClientRequestInfo_ImplementationRepository_Administration_register_server &); + void operator= (const TAO_ClientRequestInfo_ImplementationRepository_Administration_register_server &); + const char * server_; + const ImplementationRepository::StartupOptions & options_; + }; + + // TAO_IDL - Generated from + // be/be_visitor_operation/interceptors_cs.cpp:378 + + TAO_ClientRequestInfo_ImplementationRepository_Administration_register_server::TAO_ClientRequestInfo_ImplementationRepository_Administration_register_server ( + TAO_GIOP_Invocation *_tao_invocation, + CORBA::Object_ptr _tao_target, + const char * server, + const ImplementationRepository::StartupOptions & options + ACE_ENV_ARG_DECL_NOT_USED + ) + : TAO_ClientRequestInfo_i (_tao_invocation, _tao_target), + server_ (server), + options_ (options) {} Dynamic::ParameterList * @@ -3043,19 +3324,19 @@ TAO_ClientRequestInfo_ImplementationRepository_Administration_register_server::a Dynamic::ParameterList *parameter_list = TAO_RequestInfo_Util::make_parameter_list (ACE_ENV_SINGLE_ARG_PARAMETER); ACE_CHECK_RETURN (0); - + Dynamic::ParameterList_var safe_parameter_list = parameter_list; - + parameter_list->length (2); CORBA::ULong len = 0; - - (*parameter_list)[len].argument <<= server_; + (*parameter_list)[len].argument <<= server_; (*parameter_list)[len].mode = CORBA::PARAM_IN; len++; - (*parameter_list)[len].argument <<= this->options_; + + (*parameter_list)[len].argument <<= this->options_; (*parameter_list)[len].mode = CORBA::PARAM_IN; len++; - + return safe_parameter_list._retn (); } @@ -3067,14 +3348,14 @@ TAO_ClientRequestInfo_ImplementationRepository_Administration_register_server::e Dynamic::ExceptionList *exception_list = TAO_RequestInfo_Util::make_exception_list (ACE_ENV_SINGLE_ARG_PARAMETER); ACE_CHECK_RETURN (0); - + Dynamic::ExceptionList_var safe_exception_list = exception_list; - - static CORBA::TypeCode_ptr _tao_ImplementationRepository_Administration_register_server_exceptiondata[] = + + static CORBA::TypeCode_ptr _tao_ImplementationRepository_Administration_register_server_exceptiondata[] = { ImplementationRepository::_tc_AlreadyRegistered }; - + exception_list->length (1); for (CORBA::ULong i = 0; i < 1; ++i) { @@ -3086,7 +3367,7 @@ TAO_ClientRequestInfo_ImplementationRepository_Administration_register_server::e return safe_exception_list._retn (); } -CORBA::Any * +CORBA::Any * TAO_ClientRequestInfo_ImplementationRepository_Administration_register_server::result (ACE_ENV_SINGLE_ARG_DECL) ACE_THROW_SPEC ((CORBA::SystemException)) { @@ -3095,10 +3376,15 @@ TAO_ClientRequestInfo_ImplementationRepository_Administration_register_server::r CORBA::Any *result_any = TAO_RequestInfo_Util::make_any (tk_void_any ACE_ENV_ARG_PARAMETER); ACE_CHECK_RETURN (0); - + return result_any; } + + +// TAO_IDL - Generated from +// be/be_visitor_operation/interceptors_cs.cpp:76 + class TAO_ClientRequestInfo_ImplementationRepository_Administration_reregister_server : public TAO_ClientRequestInfo_i { public: @@ -3106,36 +3392,38 @@ public: TAO_GIOP_Invocation *_tao_invocation, CORBA::Object_ptr _tao_target, const char * server, - const ImplementationRepository::StartupOptions & options ACE_ENV_ARG_DECL_WITH_DEFAULTS - ); - - virtual Dynamic::ParameterList * arguments (ACE_ENV_SINGLE_ARG_DECL) - ACE_THROW_SPEC ((CORBA::SystemException)); - - virtual Dynamic::ExceptionList * exceptions (ACE_ENV_SINGLE_ARG_DECL) - ACE_THROW_SPEC ((CORBA::SystemException)); - - virtual CORBA::Any * result (ACE_ENV_SINGLE_ARG_DECL) - ACE_THROW_SPEC ((CORBA::SystemException)); - -private: - TAO_ClientRequestInfo_ImplementationRepository_Administration_reregister_server (const TAO_ClientRequestInfo_ImplementationRepository_Administration_reregister_server &); - void operator= (const TAO_ClientRequestInfo_ImplementationRepository_Administration_reregister_server &); - - const char * server_; - const ImplementationRepository::StartupOptions & options_; - -}; - -TAO_ClientRequestInfo_ImplementationRepository_Administration_reregister_server::TAO_ClientRequestInfo_ImplementationRepository_Administration_reregister_server ( - TAO_GIOP_Invocation *_tao_invocation, - CORBA::Object_ptr _tao_target, - const char * server, - const ImplementationRepository::StartupOptions & options ACE_ENV_ARG_DECL_NOT_USED - ) - : TAO_ClientRequestInfo_i (_tao_invocation, _tao_target), - server_ (server), - options_ (options) + const ImplementationRepository::StartupOptions & options + ACE_ENV_ARG_DECL_WITH_DEFAULTS); + + virtual Dynamic::ParameterList * arguments (ACE_ENV_SINGLE_ARG_DECL) + ACE_THROW_SPEC ((CORBA::SystemException)); + + virtual Dynamic::ExceptionList * exceptions (ACE_ENV_SINGLE_ARG_DECL) + ACE_THROW_SPEC ((CORBA::SystemException)); + + virtual CORBA::Any * result (ACE_ENV_SINGLE_ARG_DECL) + ACE_THROW_SPEC ((CORBA::SystemException)); + + private: + TAO_ClientRequestInfo_ImplementationRepository_Administration_reregister_server (const TAO_ClientRequestInfo_ImplementationRepository_Administration_reregister_server &); + void operator= (const TAO_ClientRequestInfo_ImplementationRepository_Administration_reregister_server &); + const char * server_; + const ImplementationRepository::StartupOptions & options_; + }; + + // TAO_IDL - Generated from + // be/be_visitor_operation/interceptors_cs.cpp:378 + + TAO_ClientRequestInfo_ImplementationRepository_Administration_reregister_server::TAO_ClientRequestInfo_ImplementationRepository_Administration_reregister_server ( + TAO_GIOP_Invocation *_tao_invocation, + CORBA::Object_ptr _tao_target, + const char * server, + const ImplementationRepository::StartupOptions & options + ACE_ENV_ARG_DECL_NOT_USED + ) + : TAO_ClientRequestInfo_i (_tao_invocation, _tao_target), + server_ (server), + options_ (options) {} Dynamic::ParameterList * @@ -3146,19 +3434,19 @@ TAO_ClientRequestInfo_ImplementationRepository_Administration_reregister_server: Dynamic::ParameterList *parameter_list = TAO_RequestInfo_Util::make_parameter_list (ACE_ENV_SINGLE_ARG_PARAMETER); ACE_CHECK_RETURN (0); - + Dynamic::ParameterList_var safe_parameter_list = parameter_list; - + parameter_list->length (2); CORBA::ULong len = 0; - - (*parameter_list)[len].argument <<= server_; + (*parameter_list)[len].argument <<= server_; (*parameter_list)[len].mode = CORBA::PARAM_IN; len++; - (*parameter_list)[len].argument <<= this->options_; + + (*parameter_list)[len].argument <<= this->options_; (*parameter_list)[len].mode = CORBA::PARAM_IN; len++; - + return safe_parameter_list._retn (); } @@ -3170,11 +3458,11 @@ TAO_ClientRequestInfo_ImplementationRepository_Administration_reregister_server: Dynamic::ExceptionList *exception_list = TAO_RequestInfo_Util::make_exception_list (ACE_ENV_SINGLE_ARG_PARAMETER); ACE_CHECK_RETURN (0); - + return exception_list; } -CORBA::Any * +CORBA::Any * TAO_ClientRequestInfo_ImplementationRepository_Administration_reregister_server::result (ACE_ENV_SINGLE_ARG_DECL) ACE_THROW_SPEC ((CORBA::SystemException)) { @@ -3183,43 +3471,50 @@ TAO_ClientRequestInfo_ImplementationRepository_Administration_reregister_server: CORBA::Any *result_any = TAO_RequestInfo_Util::make_any (tk_void_any ACE_ENV_ARG_PARAMETER); ACE_CHECK_RETURN (0); - + return result_any; } + + +// TAO_IDL - Generated from +// be/be_visitor_operation/interceptors_cs.cpp:76 + class TAO_ClientRequestInfo_ImplementationRepository_Administration_remove_server : public TAO_ClientRequestInfo_i { public: TAO_ClientRequestInfo_ImplementationRepository_Administration_remove_server ( TAO_GIOP_Invocation *_tao_invocation, CORBA::Object_ptr _tao_target, - const char * server ACE_ENV_ARG_DECL_WITH_DEFAULTS - ); - - virtual Dynamic::ParameterList * arguments (ACE_ENV_SINGLE_ARG_DECL) - ACE_THROW_SPEC ((CORBA::SystemException)); - - virtual Dynamic::ExceptionList * exceptions (ACE_ENV_SINGLE_ARG_DECL) - ACE_THROW_SPEC ((CORBA::SystemException)); - - virtual CORBA::Any * result (ACE_ENV_SINGLE_ARG_DECL) - ACE_THROW_SPEC ((CORBA::SystemException)); - -private: - TAO_ClientRequestInfo_ImplementationRepository_Administration_remove_server (const TAO_ClientRequestInfo_ImplementationRepository_Administration_remove_server &); - void operator= (const TAO_ClientRequestInfo_ImplementationRepository_Administration_remove_server &); - - const char * server_; - -}; - -TAO_ClientRequestInfo_ImplementationRepository_Administration_remove_server::TAO_ClientRequestInfo_ImplementationRepository_Administration_remove_server ( - TAO_GIOP_Invocation *_tao_invocation, - CORBA::Object_ptr _tao_target, - const char * server ACE_ENV_ARG_DECL_NOT_USED - ) - : TAO_ClientRequestInfo_i (_tao_invocation, _tao_target), - server_ (server) + const char * server + ACE_ENV_ARG_DECL_WITH_DEFAULTS); + + virtual Dynamic::ParameterList * arguments (ACE_ENV_SINGLE_ARG_DECL) + ACE_THROW_SPEC ((CORBA::SystemException)); + + virtual Dynamic::ExceptionList * exceptions (ACE_ENV_SINGLE_ARG_DECL) + ACE_THROW_SPEC ((CORBA::SystemException)); + + virtual CORBA::Any * result (ACE_ENV_SINGLE_ARG_DECL) + ACE_THROW_SPEC ((CORBA::SystemException)); + + private: + TAO_ClientRequestInfo_ImplementationRepository_Administration_remove_server (const TAO_ClientRequestInfo_ImplementationRepository_Administration_remove_server &); + void operator= (const TAO_ClientRequestInfo_ImplementationRepository_Administration_remove_server &); + const char * server_; + }; + + // TAO_IDL - Generated from + // be/be_visitor_operation/interceptors_cs.cpp:378 + + TAO_ClientRequestInfo_ImplementationRepository_Administration_remove_server::TAO_ClientRequestInfo_ImplementationRepository_Administration_remove_server ( + TAO_GIOP_Invocation *_tao_invocation, + CORBA::Object_ptr _tao_target, + const char * server + ACE_ENV_ARG_DECL_NOT_USED + ) + : TAO_ClientRequestInfo_i (_tao_invocation, _tao_target), + server_ (server) {} Dynamic::ParameterList * @@ -3230,16 +3525,15 @@ TAO_ClientRequestInfo_ImplementationRepository_Administration_remove_server::arg Dynamic::ParameterList *parameter_list = TAO_RequestInfo_Util::make_parameter_list (ACE_ENV_SINGLE_ARG_PARAMETER); ACE_CHECK_RETURN (0); - + Dynamic::ParameterList_var safe_parameter_list = parameter_list; - + parameter_list->length (1); CORBA::ULong len = 0; - - (*parameter_list)[len].argument <<= server_; + (*parameter_list)[len].argument <<= server_; (*parameter_list)[len].mode = CORBA::PARAM_IN; len++; - + return safe_parameter_list._retn (); } @@ -3251,14 +3545,14 @@ TAO_ClientRequestInfo_ImplementationRepository_Administration_remove_server::exc Dynamic::ExceptionList *exception_list = TAO_RequestInfo_Util::make_exception_list (ACE_ENV_SINGLE_ARG_PARAMETER); ACE_CHECK_RETURN (0); - + Dynamic::ExceptionList_var safe_exception_list = exception_list; - - static CORBA::TypeCode_ptr _tao_ImplementationRepository_Administration_remove_server_exceptiondata[] = + + static CORBA::TypeCode_ptr _tao_ImplementationRepository_Administration_remove_server_exceptiondata[] = { ImplementationRepository::_tc_NotFound }; - + exception_list->length (1); for (CORBA::ULong i = 0; i < 1; ++i) { @@ -3270,7 +3564,7 @@ TAO_ClientRequestInfo_ImplementationRepository_Administration_remove_server::exc return safe_exception_list._retn (); } -CORBA::Any * +CORBA::Any * TAO_ClientRequestInfo_ImplementationRepository_Administration_remove_server::result (ACE_ENV_SINGLE_ARG_DECL) ACE_THROW_SPEC ((CORBA::SystemException)) { @@ -3279,43 +3573,50 @@ TAO_ClientRequestInfo_ImplementationRepository_Administration_remove_server::res CORBA::Any *result_any = TAO_RequestInfo_Util::make_any (tk_void_any ACE_ENV_ARG_PARAMETER); ACE_CHECK_RETURN (0); - + return result_any; } + + +// TAO_IDL - Generated from +// be/be_visitor_operation/interceptors_cs.cpp:76 + class TAO_ClientRequestInfo_ImplementationRepository_Administration_shutdown_server : public TAO_ClientRequestInfo_i { public: TAO_ClientRequestInfo_ImplementationRepository_Administration_shutdown_server ( TAO_GIOP_Invocation *_tao_invocation, CORBA::Object_ptr _tao_target, - const char * server ACE_ENV_ARG_DECL_WITH_DEFAULTS - ); - - virtual Dynamic::ParameterList * arguments (ACE_ENV_SINGLE_ARG_DECL) - ACE_THROW_SPEC ((CORBA::SystemException)); - - virtual Dynamic::ExceptionList * exceptions (ACE_ENV_SINGLE_ARG_DECL) - ACE_THROW_SPEC ((CORBA::SystemException)); - - virtual CORBA::Any * result (ACE_ENV_SINGLE_ARG_DECL) - ACE_THROW_SPEC ((CORBA::SystemException)); - -private: - TAO_ClientRequestInfo_ImplementationRepository_Administration_shutdown_server (const TAO_ClientRequestInfo_ImplementationRepository_Administration_shutdown_server &); - void operator= (const TAO_ClientRequestInfo_ImplementationRepository_Administration_shutdown_server &); - - const char * server_; - -}; - -TAO_ClientRequestInfo_ImplementationRepository_Administration_shutdown_server::TAO_ClientRequestInfo_ImplementationRepository_Administration_shutdown_server ( - TAO_GIOP_Invocation *_tao_invocation, - CORBA::Object_ptr _tao_target, - const char * server ACE_ENV_ARG_DECL_NOT_USED - ) - : TAO_ClientRequestInfo_i (_tao_invocation, _tao_target), - server_ (server) + const char * server + ACE_ENV_ARG_DECL_WITH_DEFAULTS); + + virtual Dynamic::ParameterList * arguments (ACE_ENV_SINGLE_ARG_DECL) + ACE_THROW_SPEC ((CORBA::SystemException)); + + virtual Dynamic::ExceptionList * exceptions (ACE_ENV_SINGLE_ARG_DECL) + ACE_THROW_SPEC ((CORBA::SystemException)); + + virtual CORBA::Any * result (ACE_ENV_SINGLE_ARG_DECL) + ACE_THROW_SPEC ((CORBA::SystemException)); + + private: + TAO_ClientRequestInfo_ImplementationRepository_Administration_shutdown_server (const TAO_ClientRequestInfo_ImplementationRepository_Administration_shutdown_server &); + void operator= (const TAO_ClientRequestInfo_ImplementationRepository_Administration_shutdown_server &); + const char * server_; + }; + + // TAO_IDL - Generated from + // be/be_visitor_operation/interceptors_cs.cpp:378 + + TAO_ClientRequestInfo_ImplementationRepository_Administration_shutdown_server::TAO_ClientRequestInfo_ImplementationRepository_Administration_shutdown_server ( + TAO_GIOP_Invocation *_tao_invocation, + CORBA::Object_ptr _tao_target, + const char * server + ACE_ENV_ARG_DECL_NOT_USED + ) + : TAO_ClientRequestInfo_i (_tao_invocation, _tao_target), + server_ (server) {} Dynamic::ParameterList * @@ -3326,16 +3627,15 @@ TAO_ClientRequestInfo_ImplementationRepository_Administration_shutdown_server::a Dynamic::ParameterList *parameter_list = TAO_RequestInfo_Util::make_parameter_list (ACE_ENV_SINGLE_ARG_PARAMETER); ACE_CHECK_RETURN (0); - + Dynamic::ParameterList_var safe_parameter_list = parameter_list; - + parameter_list->length (1); CORBA::ULong len = 0; - - (*parameter_list)[len].argument <<= server_; + (*parameter_list)[len].argument <<= server_; (*parameter_list)[len].mode = CORBA::PARAM_IN; len++; - + return safe_parameter_list._retn (); } @@ -3347,14 +3647,14 @@ TAO_ClientRequestInfo_ImplementationRepository_Administration_shutdown_server::e Dynamic::ExceptionList *exception_list = TAO_RequestInfo_Util::make_exception_list (ACE_ENV_SINGLE_ARG_PARAMETER); ACE_CHECK_RETURN (0); - + Dynamic::ExceptionList_var safe_exception_list = exception_list; - - static CORBA::TypeCode_ptr _tao_ImplementationRepository_Administration_shutdown_server_exceptiondata[] = + + static CORBA::TypeCode_ptr _tao_ImplementationRepository_Administration_shutdown_server_exceptiondata[] = { ImplementationRepository::_tc_NotFound }; - + exception_list->length (1); for (CORBA::ULong i = 0; i < 1; ++i) { @@ -3366,7 +3666,7 @@ TAO_ClientRequestInfo_ImplementationRepository_Administration_shutdown_server::e return safe_exception_list._retn (); } -CORBA::Any * +CORBA::Any * TAO_ClientRequestInfo_ImplementationRepository_Administration_shutdown_server::result (ACE_ENV_SINGLE_ARG_DECL) ACE_THROW_SPEC ((CORBA::SystemException)) { @@ -3375,10 +3675,15 @@ TAO_ClientRequestInfo_ImplementationRepository_Administration_shutdown_server::r CORBA::Any *result_any = TAO_RequestInfo_Util::make_any (tk_void_any ACE_ENV_ARG_PARAMETER); ACE_CHECK_RETURN (0); - + return result_any; } + + +// TAO_IDL - Generated from +// be/be_visitor_operation/interceptors_cs.cpp:76 + class TAO_ClientRequestInfo_ImplementationRepository_Administration_server_is_running : public TAO_ClientRequestInfo_i { public: @@ -3387,41 +3692,45 @@ public: CORBA::Object_ptr _tao_target, const char * server, const char * addr, - ImplementationRepository::ServerObject_ptr server_object ACE_ENV_ARG_DECL_WITH_DEFAULTS - ); - - virtual Dynamic::ParameterList * arguments (ACE_ENV_SINGLE_ARG_DECL) - ACE_THROW_SPEC ((CORBA::SystemException)); - - virtual Dynamic::ExceptionList * exceptions (ACE_ENV_SINGLE_ARG_DECL) - ACE_THROW_SPEC ((CORBA::SystemException)); - - virtual CORBA::Any * result (ACE_ENV_SINGLE_ARG_DECL) - ACE_THROW_SPEC ((CORBA::SystemException)); - - void result (char * result); - -private: - TAO_ClientRequestInfo_ImplementationRepository_Administration_server_is_running (const TAO_ClientRequestInfo_ImplementationRepository_Administration_server_is_running &); - void operator= (const TAO_ClientRequestInfo_ImplementationRepository_Administration_server_is_running &); - - const char * server_; - const char * addr_; - ImplementationRepository::ServerObject_ptr server_object_; - char * _result; -}; - -TAO_ClientRequestInfo_ImplementationRepository_Administration_server_is_running::TAO_ClientRequestInfo_ImplementationRepository_Administration_server_is_running ( - TAO_GIOP_Invocation *_tao_invocation, - CORBA::Object_ptr _tao_target, - const char * server, - const char * addr, - ImplementationRepository::ServerObject_ptr server_object ACE_ENV_ARG_DECL_NOT_USED - ) - : TAO_ClientRequestInfo_i (_tao_invocation, _tao_target), - server_ (server), - addr_ (addr), - server_object_ (server_object) + ImplementationRepository::ServerObject_ptr server_object + ACE_ENV_ARG_DECL_WITH_DEFAULTS); + + virtual Dynamic::ParameterList * arguments (ACE_ENV_SINGLE_ARG_DECL) + ACE_THROW_SPEC ((CORBA::SystemException)); + + virtual Dynamic::ExceptionList * exceptions (ACE_ENV_SINGLE_ARG_DECL) + ACE_THROW_SPEC ((CORBA::SystemException)); + + virtual CORBA::Any * result (ACE_ENV_SINGLE_ARG_DECL) + ACE_THROW_SPEC ((CORBA::SystemException)); + + void result (char * result); + + private: + TAO_ClientRequestInfo_ImplementationRepository_Administration_server_is_running (const TAO_ClientRequestInfo_ImplementationRepository_Administration_server_is_running &); + void operator= (const TAO_ClientRequestInfo_ImplementationRepository_Administration_server_is_running &); + const char * server_; + const char * addr_; + ImplementationRepository::ServerObject_ptr server_object_; + + char * _result; + }; + + // TAO_IDL - Generated from + // be/be_visitor_operation/interceptors_cs.cpp:378 + + TAO_ClientRequestInfo_ImplementationRepository_Administration_server_is_running::TAO_ClientRequestInfo_ImplementationRepository_Administration_server_is_running ( + TAO_GIOP_Invocation *_tao_invocation, + CORBA::Object_ptr _tao_target, + const char * server, + const char * addr, + ImplementationRepository::ServerObject_ptr server_object + ACE_ENV_ARG_DECL_NOT_USED + ) + : TAO_ClientRequestInfo_i (_tao_invocation, _tao_target), + server_ (server), + addr_ (addr), + server_object_ (server_object) {} Dynamic::ParameterList * @@ -3432,22 +3741,23 @@ TAO_ClientRequestInfo_ImplementationRepository_Administration_server_is_running: Dynamic::ParameterList *parameter_list = TAO_RequestInfo_Util::make_parameter_list (ACE_ENV_SINGLE_ARG_PARAMETER); ACE_CHECK_RETURN (0); - + Dynamic::ParameterList_var safe_parameter_list = parameter_list; - + parameter_list->length (3); CORBA::ULong len = 0; - - (*parameter_list)[len].argument <<= server_; + (*parameter_list)[len].argument <<= server_; (*parameter_list)[len].mode = CORBA::PARAM_IN; len++; - (*parameter_list)[len].argument <<= addr_; + + (*parameter_list)[len].argument <<= addr_; (*parameter_list)[len].mode = CORBA::PARAM_IN; len++; - (*parameter_list)[len].argument <<= this->server_object_; + + (*parameter_list)[len].argument <<= this->server_object_; (*parameter_list)[len].mode = CORBA::PARAM_IN; len++; - + return safe_parameter_list._retn (); } @@ -3459,14 +3769,14 @@ TAO_ClientRequestInfo_ImplementationRepository_Administration_server_is_running: Dynamic::ExceptionList *exception_list = TAO_RequestInfo_Util::make_exception_list (ACE_ENV_SINGLE_ARG_PARAMETER); ACE_CHECK_RETURN (0); - + Dynamic::ExceptionList_var safe_exception_list = exception_list; - - static CORBA::TypeCode_ptr _tao_ImplementationRepository_Administration_server_is_running_exceptiondata[] = + + static CORBA::TypeCode_ptr _tao_ImplementationRepository_Administration_server_is_running_exceptiondata[] = { ImplementationRepository::_tc_NotFound }; - + exception_list->length (1); for (CORBA::ULong i = 0; i < 1; ++i) { @@ -3478,7 +3788,7 @@ TAO_ClientRequestInfo_ImplementationRepository_Administration_server_is_running: return safe_exception_list._retn (); } -CORBA::Any * +CORBA::Any * TAO_ClientRequestInfo_ImplementationRepository_Administration_server_is_running::result (ACE_ENV_SINGLE_ARG_DECL) ACE_THROW_SPEC ((CORBA::SystemException)) { @@ -3487,53 +3797,58 @@ TAO_ClientRequestInfo_ImplementationRepository_Administration_server_is_running: CORBA::Any *result_any = TAO_RequestInfo_Util::make_any (tk_void_any ACE_ENV_ARG_PARAMETER); ACE_CHECK_RETURN (0); - + CORBA::Any_var safe_result_any = result_any; - + (*result_any) <<= this->_result; return safe_result_any._retn (); } -void +void TAO_ClientRequestInfo_ImplementationRepository_Administration_server_is_running::result (char * result) { - // update the result + // Update the result. this->_result = result; } +// TAO_IDL - Generated from +// be/be_visitor_operation/interceptors_cs.cpp:76 + class TAO_ClientRequestInfo_ImplementationRepository_Administration_server_is_shutting_down : public TAO_ClientRequestInfo_i { public: TAO_ClientRequestInfo_ImplementationRepository_Administration_server_is_shutting_down ( TAO_GIOP_Invocation *_tao_invocation, CORBA::Object_ptr _tao_target, - const char * server ACE_ENV_ARG_DECL_WITH_DEFAULTS - ); - - virtual Dynamic::ParameterList * arguments (ACE_ENV_SINGLE_ARG_DECL) - ACE_THROW_SPEC ((CORBA::SystemException)); - - virtual Dynamic::ExceptionList * exceptions (ACE_ENV_SINGLE_ARG_DECL) - ACE_THROW_SPEC ((CORBA::SystemException)); - - virtual CORBA::Any * result (ACE_ENV_SINGLE_ARG_DECL) - ACE_THROW_SPEC ((CORBA::SystemException)); - -private: - TAO_ClientRequestInfo_ImplementationRepository_Administration_server_is_shutting_down (const TAO_ClientRequestInfo_ImplementationRepository_Administration_server_is_shutting_down &); - void operator= (const TAO_ClientRequestInfo_ImplementationRepository_Administration_server_is_shutting_down &); - - const char * server_; - -}; - -TAO_ClientRequestInfo_ImplementationRepository_Administration_server_is_shutting_down::TAO_ClientRequestInfo_ImplementationRepository_Administration_server_is_shutting_down ( - TAO_GIOP_Invocation *_tao_invocation, - CORBA::Object_ptr _tao_target, - const char * server ACE_ENV_ARG_DECL_NOT_USED - ) - : TAO_ClientRequestInfo_i (_tao_invocation, _tao_target), - server_ (server) + const char * server + ACE_ENV_ARG_DECL_WITH_DEFAULTS); + + virtual Dynamic::ParameterList * arguments (ACE_ENV_SINGLE_ARG_DECL) + ACE_THROW_SPEC ((CORBA::SystemException)); + + virtual Dynamic::ExceptionList * exceptions (ACE_ENV_SINGLE_ARG_DECL) + ACE_THROW_SPEC ((CORBA::SystemException)); + + virtual CORBA::Any * result (ACE_ENV_SINGLE_ARG_DECL) + ACE_THROW_SPEC ((CORBA::SystemException)); + + private: + TAO_ClientRequestInfo_ImplementationRepository_Administration_server_is_shutting_down (const TAO_ClientRequestInfo_ImplementationRepository_Administration_server_is_shutting_down &); + void operator= (const TAO_ClientRequestInfo_ImplementationRepository_Administration_server_is_shutting_down &); + const char * server_; + }; + + // TAO_IDL - Generated from + // be/be_visitor_operation/interceptors_cs.cpp:378 + + TAO_ClientRequestInfo_ImplementationRepository_Administration_server_is_shutting_down::TAO_ClientRequestInfo_ImplementationRepository_Administration_server_is_shutting_down ( + TAO_GIOP_Invocation *_tao_invocation, + CORBA::Object_ptr _tao_target, + const char * server + ACE_ENV_ARG_DECL_NOT_USED + ) + : TAO_ClientRequestInfo_i (_tao_invocation, _tao_target), + server_ (server) {} Dynamic::ParameterList * @@ -3544,16 +3859,15 @@ TAO_ClientRequestInfo_ImplementationRepository_Administration_server_is_shutting Dynamic::ParameterList *parameter_list = TAO_RequestInfo_Util::make_parameter_list (ACE_ENV_SINGLE_ARG_PARAMETER); ACE_CHECK_RETURN (0); - + Dynamic::ParameterList_var safe_parameter_list = parameter_list; - + parameter_list->length (1); CORBA::ULong len = 0; - - (*parameter_list)[len].argument <<= server_; + (*parameter_list)[len].argument <<= server_; (*parameter_list)[len].mode = CORBA::PARAM_IN; len++; - + return safe_parameter_list._retn (); } @@ -3565,14 +3879,14 @@ TAO_ClientRequestInfo_ImplementationRepository_Administration_server_is_shutting Dynamic::ExceptionList *exception_list = TAO_RequestInfo_Util::make_exception_list (ACE_ENV_SINGLE_ARG_PARAMETER); ACE_CHECK_RETURN (0); - + Dynamic::ExceptionList_var safe_exception_list = exception_list; - - static CORBA::TypeCode_ptr _tao_ImplementationRepository_Administration_server_is_shutting_down_exceptiondata[] = + + static CORBA::TypeCode_ptr _tao_ImplementationRepository_Administration_server_is_shutting_down_exceptiondata[] = { ImplementationRepository::_tc_NotFound }; - + exception_list->length (1); for (CORBA::ULong i = 0; i < 1; ++i) { @@ -3584,7 +3898,7 @@ TAO_ClientRequestInfo_ImplementationRepository_Administration_server_is_shutting return safe_exception_list._retn (); } -CORBA::Any * +CORBA::Any * TAO_ClientRequestInfo_ImplementationRepository_Administration_server_is_shutting_down::result (ACE_ENV_SINGLE_ARG_DECL) ACE_THROW_SPEC ((CORBA::SystemException)) { @@ -3593,43 +3907,50 @@ TAO_ClientRequestInfo_ImplementationRepository_Administration_server_is_shutting CORBA::Any *result_any = TAO_RequestInfo_Util::make_any (tk_void_any ACE_ENV_ARG_PARAMETER); ACE_CHECK_RETURN (0); - + return result_any; } + + +// TAO_IDL - Generated from +// be/be_visitor_operation/interceptors_cs.cpp:76 + class TAO_ClientRequestInfo_ImplementationRepository_Administration_find : public TAO_ClientRequestInfo_i { public: TAO_ClientRequestInfo_ImplementationRepository_Administration_find ( TAO_GIOP_Invocation *_tao_invocation, CORBA::Object_ptr _tao_target, - const char * server ACE_ENV_ARG_DECL_WITH_DEFAULTS - ); - - virtual Dynamic::ParameterList * arguments (ACE_ENV_SINGLE_ARG_DECL) - ACE_THROW_SPEC ((CORBA::SystemException)); - - virtual Dynamic::ExceptionList * exceptions (ACE_ENV_SINGLE_ARG_DECL) - ACE_THROW_SPEC ((CORBA::SystemException)); - - virtual CORBA::Any * result (ACE_ENV_SINGLE_ARG_DECL) - ACE_THROW_SPEC ((CORBA::SystemException)); - -private: - TAO_ClientRequestInfo_ImplementationRepository_Administration_find (const TAO_ClientRequestInfo_ImplementationRepository_Administration_find &); - void operator= (const TAO_ClientRequestInfo_ImplementationRepository_Administration_find &); - - const char * server_; - -}; - -TAO_ClientRequestInfo_ImplementationRepository_Administration_find::TAO_ClientRequestInfo_ImplementationRepository_Administration_find ( - TAO_GIOP_Invocation *_tao_invocation, - CORBA::Object_ptr _tao_target, - const char * server ACE_ENV_ARG_DECL_NOT_USED - ) - : TAO_ClientRequestInfo_i (_tao_invocation, _tao_target), - server_ (server) + const char * server + ACE_ENV_ARG_DECL_WITH_DEFAULTS); + + virtual Dynamic::ParameterList * arguments (ACE_ENV_SINGLE_ARG_DECL) + ACE_THROW_SPEC ((CORBA::SystemException)); + + virtual Dynamic::ExceptionList * exceptions (ACE_ENV_SINGLE_ARG_DECL) + ACE_THROW_SPEC ((CORBA::SystemException)); + + virtual CORBA::Any * result (ACE_ENV_SINGLE_ARG_DECL) + ACE_THROW_SPEC ((CORBA::SystemException)); + + private: + TAO_ClientRequestInfo_ImplementationRepository_Administration_find (const TAO_ClientRequestInfo_ImplementationRepository_Administration_find &); + void operator= (const TAO_ClientRequestInfo_ImplementationRepository_Administration_find &); + const char * server_; + }; + + // TAO_IDL - Generated from + // be/be_visitor_operation/interceptors_cs.cpp:378 + + TAO_ClientRequestInfo_ImplementationRepository_Administration_find::TAO_ClientRequestInfo_ImplementationRepository_Administration_find ( + TAO_GIOP_Invocation *_tao_invocation, + CORBA::Object_ptr _tao_target, + const char * server + ACE_ENV_ARG_DECL_NOT_USED + ) + : TAO_ClientRequestInfo_i (_tao_invocation, _tao_target), + server_ (server) {} Dynamic::ParameterList * @@ -3640,16 +3961,15 @@ TAO_ClientRequestInfo_ImplementationRepository_Administration_find::arguments (A Dynamic::ParameterList *parameter_list = TAO_RequestInfo_Util::make_parameter_list (ACE_ENV_SINGLE_ARG_PARAMETER); ACE_CHECK_RETURN (0); - + Dynamic::ParameterList_var safe_parameter_list = parameter_list; - + parameter_list->length (1); CORBA::ULong len = 0; - - (*parameter_list)[len].argument <<= server_; + (*parameter_list)[len].argument <<= server_; (*parameter_list)[len].mode = CORBA::PARAM_IN; len++; - + return safe_parameter_list._retn (); } @@ -3661,14 +3981,14 @@ TAO_ClientRequestInfo_ImplementationRepository_Administration_find::exceptions ( Dynamic::ExceptionList *exception_list = TAO_RequestInfo_Util::make_exception_list (ACE_ENV_SINGLE_ARG_PARAMETER); ACE_CHECK_RETURN (0); - + Dynamic::ExceptionList_var safe_exception_list = exception_list; - - static CORBA::TypeCode_ptr _tao_ImplementationRepository_Administration_find_exceptiondata[] = + + static CORBA::TypeCode_ptr _tao_ImplementationRepository_Administration_find_exceptiondata[] = { ImplementationRepository::_tc_NotFound }; - + exception_list->length (1); for (CORBA::ULong i = 0; i < 1; ++i) { @@ -3680,7 +4000,7 @@ TAO_ClientRequestInfo_ImplementationRepository_Administration_find::exceptions ( return safe_exception_list._retn (); } -CORBA::Any * +CORBA::Any * TAO_ClientRequestInfo_ImplementationRepository_Administration_find::result (ACE_ENV_SINGLE_ARG_DECL) ACE_THROW_SPEC ((CORBA::SystemException)) { @@ -3689,46 +4009,53 @@ TAO_ClientRequestInfo_ImplementationRepository_Administration_find::result (ACE_ CORBA::Any *result_any = TAO_RequestInfo_Util::make_any (tk_void_any ACE_ENV_ARG_PARAMETER); ACE_CHECK_RETURN (0); - + return result_any; } + + +// TAO_IDL - Generated from +// be/be_visitor_operation/interceptors_cs.cpp:76 + class TAO_ClientRequestInfo_ImplementationRepository_Administration_list : public TAO_ClientRequestInfo_i { public: TAO_ClientRequestInfo_ImplementationRepository_Administration_list ( TAO_GIOP_Invocation *_tao_invocation, CORBA::Object_ptr _tao_target, - const CORBA::ULong & how_many - ACE_ENV_ARG_DECL_WITH_DEFAULTS - ); + const CORBA::ULong & how_many - virtual Dynamic::ParameterList * arguments (ACE_ENV_SINGLE_ARG_DECL) - ACE_THROW_SPEC ((CORBA::SystemException)); + ACE_ENV_ARG_DECL_WITH_DEFAULTS); - virtual Dynamic::ExceptionList * exceptions (ACE_ENV_SINGLE_ARG_DECL) - ACE_THROW_SPEC ((CORBA::SystemException)); + virtual Dynamic::ParameterList * arguments (ACE_ENV_SINGLE_ARG_DECL) + ACE_THROW_SPEC ((CORBA::SystemException)); + + virtual Dynamic::ExceptionList * exceptions (ACE_ENV_SINGLE_ARG_DECL) + ACE_THROW_SPEC ((CORBA::SystemException)); + + virtual CORBA::Any * result (ACE_ENV_SINGLE_ARG_DECL) + ACE_THROW_SPEC ((CORBA::SystemException)); - virtual CORBA::Any * result (ACE_ENV_SINGLE_ARG_DECL) - ACE_THROW_SPEC ((CORBA::SystemException)); + private: + TAO_ClientRequestInfo_ImplementationRepository_Administration_list (const TAO_ClientRequestInfo_ImplementationRepository_Administration_list &); + void operator= (const TAO_ClientRequestInfo_ImplementationRepository_Administration_list &); + const CORBA::ULong & how_many_; -private: - TAO_ClientRequestInfo_ImplementationRepository_Administration_list (const TAO_ClientRequestInfo_ImplementationRepository_Administration_list &); - void operator= (const TAO_ClientRequestInfo_ImplementationRepository_Administration_list &); - - const CORBA::ULong & how_many_; - - -}; + }; + + // TAO_IDL - Generated from + // be/be_visitor_operation/interceptors_cs.cpp:378 + + TAO_ClientRequestInfo_ImplementationRepository_Administration_list::TAO_ClientRequestInfo_ImplementationRepository_Administration_list ( + TAO_GIOP_Invocation *_tao_invocation, + CORBA::Object_ptr _tao_target, + const CORBA::ULong & how_many -TAO_ClientRequestInfo_ImplementationRepository_Administration_list::TAO_ClientRequestInfo_ImplementationRepository_Administration_list ( - TAO_GIOP_Invocation *_tao_invocation, - CORBA::Object_ptr _tao_target, - const CORBA::ULong & how_many - ACE_ENV_ARG_DECL_NOT_USED - ) - : TAO_ClientRequestInfo_i (_tao_invocation, _tao_target), - how_many_ (how_many) + ACE_ENV_ARG_DECL_NOT_USED + ) + : TAO_ClientRequestInfo_i (_tao_invocation, _tao_target), + how_many_ (how_many) {} @@ -3740,16 +4067,15 @@ TAO_ClientRequestInfo_ImplementationRepository_Administration_list::arguments (A Dynamic::ParameterList *parameter_list = TAO_RequestInfo_Util::make_parameter_list (ACE_ENV_SINGLE_ARG_PARAMETER); ACE_CHECK_RETURN (0); - + Dynamic::ParameterList_var safe_parameter_list = parameter_list; - + parameter_list->length (1); CORBA::ULong len = 0; - - (*parameter_list)[len].argument <<= how_many_; + (*parameter_list)[len].argument <<= how_many_; (*parameter_list)[len].mode = CORBA::PARAM_IN; len++; - + return safe_parameter_list._retn (); } @@ -3762,11 +4088,11 @@ TAO_ClientRequestInfo_ImplementationRepository_Administration_list::exceptions ( Dynamic::ExceptionList *exception_list = TAO_RequestInfo_Util::make_exception_list (ACE_ENV_SINGLE_ARG_PARAMETER); ACE_CHECK_RETURN (0); - + return exception_list; } -CORBA::Any * +CORBA::Any * TAO_ClientRequestInfo_ImplementationRepository_Administration_list::result (ACE_ENV_SINGLE_ARG_DECL) ACE_THROW_SPEC ((CORBA::SystemException)) { @@ -3775,14 +4101,19 @@ TAO_ClientRequestInfo_ImplementationRepository_Administration_list::result (ACE_ CORBA::Any *result_any = TAO_RequestInfo_Util::make_any (tk_void_any ACE_ENV_ARG_PARAMETER); ACE_CHECK_RETURN (0); - + return result_any; } + + #endif /* TAO_HAS_INTERCEPTORS */ +// TAO_IDL - Generated from +// be/be_visitor_interface/remote_proxy_impl_cs.cpp:31 + /////////////////////////////////////////////////////////////////////// -// Base & Remote Proxy Implementation. +// Base & Remote Proxy Implementation. // ImplementationRepository::_TAO_Administration_Proxy_Impl::_TAO_Administration_Proxy_Impl (void) @@ -3793,6 +4124,9 @@ ImplementationRepository::_TAO_Administration_Remote_Proxy_Impl::_TAO_Administra // Remote Implementation of the IDL interface methods +// TAO_IDL - Generated from +// be/be_visitor_operation/remote_proxy_impl_cs.cpp:63 + void ImplementationRepository::_TAO_Administration_Remote_Proxy_Impl::activate_server ( CORBA_Object *_collocated_tao_target_, const char * server @@ -3804,8 +4138,7 @@ void ImplementationRepository::_TAO_Administration_Remote_Proxy_Impl::activate_s , ImplementationRepository::CannotActivate )) { - - static TAO_Exception_Data _tao_ImplementationRepository_Administration_activate_server_exceptiondata [] = + static TAO_Exception_Data _tao_ImplementationRepository_Administration_activate_server_exceptiondata [] = { { "IDL:ImplementationRepository/NotFound:1.0", @@ -3817,14 +4150,13 @@ void ImplementationRepository::_TAO_Administration_Remote_Proxy_Impl::activate_s } }; - - - - TAO_Stub *istub = _collocated_tao_target_->_stubobj (); +TAO_Stub *istub = _collocated_tao_target_->_stubobj (); + if (istub == 0) - ACE_THROW (CORBA::INTERNAL ()); - - + { + ACE_THROW (CORBA::INTERNAL ()); + } + TAO_GIOP_Twoway_Invocation _tao_call ( istub, "activate_server", @@ -3832,142 +4164,174 @@ void ImplementationRepository::_TAO_Administration_Remote_Proxy_Impl::activate_s 1, istub->orb_core () ); - + int _invoke_status; - + #if (TAO_HAS_INTERCEPTORS == 1) TAO_ClientRequestInterceptor_Adapter _tao_vfr ( istub->orb_core ()->client_request_interceptors (), &_tao_call, _invoke_status ); - + #endif /* TAO_HAS_INTERCEPTORS */ - + for (;;) { _invoke_status = TAO_INVOKE_EXCEPTION; - + #if TAO_HAS_INTERCEPTORS == 1 TAO_ClientRequestInfo_ImplementationRepository_Administration_activate_server _tao_ri ( - &_tao_call, - _collocated_tao_target_, - server ACE_ENV_ARG_PARAMETER - ); - ACE_CHECK; - + &_tao_call, + _collocated_tao_target_, + server + ACE_ENV_ARG_PARAMETER + ); + ACE_CHECK; + #endif /* TAO_HAS_INTERCEPTORS */ - - + CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; TAO_INTERCEPTOR (_tao_ri.response_expected (1)); - + #if TAO_HAS_INTERCEPTORS == 1 - + ACE_TRY { _tao_vfr.send_request ( - &_tao_ri - ACE_ENV_ARG_PARAMETER - ); + &_tao_ri + ACE_ENV_ARG_PARAMETER + ); ACE_TRY_CHECK; - + if (_invoke_status == TAO_INVOKE_RESTART) { _tao_call.restart_flag (1); continue; } - + #endif /* TAO_HAS_INTERCEPTORS */ - + _tao_call.start (ACE_ENV_SINGLE_ARG_PARAMETER); - TAO_INTERCEPTOR_CHECK; + TAO_INTERCEPTOR_CHECK; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag) ACE_ENV_ARG_PARAMETER ); - TAO_INTERCEPTOR_CHECK; + TAO_INTERCEPTOR_CHECK; TAO_OutputCDR &_tao_out = _tao_call.out_stream (); + if (!( - (_tao_out << server) - )) - TAO_INTERCEPTOR_THROW ( - CORBA::MARSHAL () - ); - + (_tao_out << server) + )) + { + TAO_INTERCEPTOR_THROW ( + CORBA::MARSHAL ( + + ) + ); + } + _invoke_status = _tao_call.invoke (_tao_ImplementationRepository_Administration_activate_server_exceptiondata, 2 ACE_ENV_ARG_PARAMETER); - TAO_INTERCEPTOR_CHECK; + TAO_INTERCEPTOR_CHECK; if (_invoke_status == TAO_INVOKE_EXCEPTION) { TAO_INTERCEPTOR_THROW ( - CORBA::UNKNOWN (CORBA::OMGVMCID | 1, CORBA::COMPLETED_YES) - ); - + CORBA::UNKNOWN ( + CORBA::OMGVMCID | 1, CORBA::COMPLETED_YES + ) + ); } else if (_invoke_status == TAO_INVOKE_RESTART) { TAO_INTERCEPTOR ( - _tao_ri.reply_status (_invoke_status); - _tao_vfr.receive_other ( - &_tao_ri - ACE_ENV_ARG_PARAMETER - ); - ACE_TRY_CHECK; - ) - + _tao_ri.reply_status (_invoke_status); + _tao_vfr.receive_other ( + &_tao_ri + ACE_ENV_ARG_PARAMETER + ); + ACE_TRY_CHECK; + ) + continue; } - - #if TAO_HAS_INTERCEPTORS == 1 - + _tao_ri.reply_status (_invoke_status); _tao_vfr.receive_reply ( - &_tao_ri - ACE_ENV_ARG_PARAMETER - ); + &_tao_ri + ACE_ENV_ARG_PARAMETER + ); ACE_TRY_CHECK; - - } - ACE_CATCHANY - { - _tao_ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &_tao_ri - ACE_ENV_ARG_PARAMETER - ); - ACE_TRY_CHECK; - - PortableInterceptor::ReplyStatus _tao_status = - _tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER); - ACE_TRY_CHECK; - - if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION - || _tao_status == PortableInterceptor::USER_EXCEPTION) - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK; - - PortableInterceptor::ReplyStatus _tao_status = - _tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER); - ACE_CHECK; - - if (_tao_status == PortableInterceptor::LOCATION_FORWARD - || _tao_status == PortableInterceptor::TRANSPORT_RETRY) - continue; - + } + ACE_CATCHANY + { + _tao_ri.exception (&ACE_ANY_EXCEPTION); + _tao_vfr.receive_exception ( + &_tao_ri + ACE_ENV_ARG_PARAMETER + ); + ACE_TRY_CHECK; + + PortableInterceptor::ReplyStatus _tao_status = + _tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER); + ACE_TRY_CHECK; + + if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION + || _tao_status == PortableInterceptor::USER_EXCEPTION) + { + ACE_RE_THROW; + } + } + +# if defined (ACE_HAS_EXCEPTIONS) \ + && defined (ACE_HAS_BROKEN_UNEXPECTED_EXCEPTIONS) + ACE_CATCHALL + { + CORBA::UNKNOWN ex; + + _tao_ri.exception (&ex); + _tao_vfr.receive_exception ( + &_tao_ri + ACE_ENV_ARG_PARAMETER + ); + ACE_TRY_CHECK; + + PortableInterceptor::ReplyStatus _tao_status = + _tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER); + ACE_TRY_CHECK; + + if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION) + ACE_TRY_THROW (ex); + } +# endif /* ACE_HAS_EXCEPTIONS && ACE_HAS_BROKEN_UNEXPECTED_EXCEPTIONS */ + + ACE_ENDTRY; + ACE_CHECK; + + PortableInterceptor::ReplyStatus _tao_status = + _tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER); + ACE_CHECK; + + if (_tao_status == PortableInterceptor::LOCATION_FORWARD + || _tao_status == PortableInterceptor::TRANSPORT_RETRY) + { + continue; + } + #endif /* TAO_HAS_INTERCEPTORS */ - - break; - } - + + break; + } } +// TAO_IDL - Generated from +// 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_, const char * server, @@ -3980,8 +4344,7 @@ char * ImplementationRepository::_TAO_Administration_Remote_Proxy_Impl::activate , ImplementationRepository::CannotActivate )) { - - static TAO_Exception_Data _tao_ImplementationRepository_Administration_activate_server_with_startup_exceptiondata [] = + static TAO_Exception_Data _tao_ImplementationRepository_Administration_activate_server_with_startup_exceptiondata [] = { { "IDL:ImplementationRepository/NotFound:1.0", @@ -3993,14 +4356,14 @@ char * ImplementationRepository::_TAO_Administration_Remote_Proxy_Impl::activate } }; - CORBA::String_var _tao_retval; - - +CORBA::String_var _tao_retval; TAO_Stub *istub = _collocated_tao_target_->_stubobj (); + if (istub == 0) - ACE_THROW_RETURN (CORBA::INTERNAL (),_tao_retval._retn ()); - - + { + ACE_THROW_RETURN (CORBA::INTERNAL (),_tao_retval._retn ()); + } + TAO_GIOP_Twoway_Invocation _tao_call ( istub, "activate_server_with_startup", @@ -4008,159 +4371,199 @@ char * ImplementationRepository::_TAO_Administration_Remote_Proxy_Impl::activate 2, istub->orb_core () ); - + int _invoke_status; - + #if (TAO_HAS_INTERCEPTORS == 1) TAO_ClientRequestInterceptor_Adapter _tao_vfr ( istub->orb_core ()->client_request_interceptors (), &_tao_call, _invoke_status ); - + #endif /* TAO_HAS_INTERCEPTORS */ - + for (;;) { _invoke_status = TAO_INVOKE_EXCEPTION; - + #if TAO_HAS_INTERCEPTORS == 1 TAO_ClientRequestInfo_ImplementationRepository_Administration_activate_server_with_startup _tao_ri ( - &_tao_call, - _collocated_tao_target_, - server, - check_startup ACE_ENV_ARG_PARAMETER - ); - ACE_CHECK_RETURN (_tao_retval._retn ()); - + &_tao_call, + _collocated_tao_target_, + server, + check_startup + ACE_ENV_ARG_PARAMETER + ); + ACE_CHECK_RETURN (_tao_retval._retn ()); + #endif /* TAO_HAS_INTERCEPTORS */ - - + CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; TAO_INTERCEPTOR (_tao_ri.response_expected (1)); - + #if TAO_HAS_INTERCEPTORS == 1 - + ACE_TRY { _tao_vfr.send_request ( - &_tao_ri - ACE_ENV_ARG_PARAMETER - ); + &_tao_ri + ACE_ENV_ARG_PARAMETER + ); ACE_TRY_CHECK; - + if (_invoke_status == TAO_INVOKE_RESTART) { _tao_call.restart_flag (1); continue; } - + #endif /* TAO_HAS_INTERCEPTORS */ - + _tao_call.start (ACE_ENV_SINGLE_ARG_PARAMETER); - TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval._retn ()); + TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval._retn ()); _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag) ACE_ENV_ARG_PARAMETER ); - TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval._retn ()); + TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval._retn ()); TAO_OutputCDR &_tao_out = _tao_call.out_stream (); + if (!( - (_tao_out << server) && + (_tao_out << server) && (_tao_out << check_startup) - )) - TAO_INTERCEPTOR_THROW_RETURN ( - CORBA::MARSHAL (), - 0 - ); - + )) + { + TAO_INTERCEPTOR_THROW_RETURN ( + CORBA::MARSHAL ( + + ), + 0 + ); + } + _invoke_status = _tao_call.invoke (_tao_ImplementationRepository_Administration_activate_server_with_startup_exceptiondata, 2 ACE_ENV_ARG_PARAMETER); - TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval._retn ()); + TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval._retn ()); if (_invoke_status == TAO_INVOKE_EXCEPTION) { - TAO_INTERCEPTOR_THROW ( - CORBA::UNKNOWN (CORBA::OMGVMCID | 1, CORBA::COMPLETED_YES) - ); - + TAO_INTERCEPTOR_THROW_RETURN ( + CORBA::UNKNOWN ( + CORBA::OMGVMCID | 1, CORBA::COMPLETED_YES + ), + 0 + ); } else if (_invoke_status == TAO_INVOKE_RESTART) { TAO_INTERCEPTOR ( - _tao_ri.reply_status (_invoke_status); - _tao_vfr.receive_other ( - &_tao_ri - ACE_ENV_ARG_PARAMETER - ); - ACE_TRY_CHECK; - ) - + _tao_ri.reply_status (_invoke_status); + _tao_vfr.receive_other ( + &_tao_ri + ACE_ENV_ARG_PARAMETER + ); + ACE_TRY_CHECK; + ) + continue; } - + TAO_InputCDR &_tao_in = _tao_call.inp_stream (); + if (!( - (_tao_in >> _tao_retval.inout ()) + (_tao_in >> _tao_retval.inout ()) )) { TAO_INTERCEPTOR_THROW_RETURN ( - CORBA::MARSHAL (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), - 0 - ); - + CORBA::MARSHAL ( + TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES + ), + 0 + ); } - + #if TAO_HAS_INTERCEPTORS == 1 - char * _tao_retval_info = _tao_retval._retn (); + char * _tao_retval_info = + _tao_retval._retn (); _tao_ri.result (_tao_retval_info); _tao_retval = _tao_retval_info; - + _tao_ri.reply_status (_invoke_status); _tao_vfr.receive_reply ( - &_tao_ri - ACE_ENV_ARG_PARAMETER - ); + &_tao_ri + ACE_ENV_ARG_PARAMETER + ); ACE_TRY_CHECK; - - } - ACE_CATCHANY - { - _tao_ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &_tao_ri - ACE_ENV_ARG_PARAMETER - ); - ACE_TRY_CHECK; - - PortableInterceptor::ReplyStatus _tao_status = - _tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER); - ACE_TRY_CHECK; - - if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION - || _tao_status == PortableInterceptor::USER_EXCEPTION) - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (_tao_retval._retn ()); - - PortableInterceptor::ReplyStatus _tao_status = - _tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER); - ACE_CHECK_RETURN (_tao_retval._retn ()); - - if (_tao_status == PortableInterceptor::LOCATION_FORWARD - || _tao_status == PortableInterceptor::TRANSPORT_RETRY) - continue; - + } + ACE_CATCHANY + { + _tao_ri.exception (&ACE_ANY_EXCEPTION); + _tao_vfr.receive_exception ( + &_tao_ri + ACE_ENV_ARG_PARAMETER + ); + ACE_TRY_CHECK; + + PortableInterceptor::ReplyStatus _tao_status = + _tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER); + ACE_TRY_CHECK; + + if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION + || _tao_status == PortableInterceptor::USER_EXCEPTION) + { + ACE_RE_THROW; + } + } + +# if defined (ACE_HAS_EXCEPTIONS) \ + && defined (ACE_HAS_BROKEN_UNEXPECTED_EXCEPTIONS) + ACE_CATCHALL + { + CORBA::UNKNOWN ex; + + _tao_ri.exception (&ex); + _tao_vfr.receive_exception ( + &_tao_ri + ACE_ENV_ARG_PARAMETER + ); + ACE_TRY_CHECK; + + PortableInterceptor::ReplyStatus _tao_status = + _tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER); + ACE_TRY_CHECK; + + if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION) + ACE_TRY_THROW (ex); + } +# endif /* ACE_HAS_EXCEPTIONS && ACE_HAS_BROKEN_UNEXPECTED_EXCEPTIONS */ + + ACE_ENDTRY; + ACE_CHECK_RETURN (_tao_retval._retn ()); + + PortableInterceptor::ReplyStatus _tao_status = + _tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER); + ACE_CHECK_RETURN (_tao_retval._retn ()); + + if (_tao_status == PortableInterceptor::LOCATION_FORWARD + || _tao_status == PortableInterceptor::TRANSPORT_RETRY) + { + continue; + } + #endif /* TAO_HAS_INTERCEPTORS */ - - break; - } -return _tao_retval._retn (); + + break; + } + + return _tao_retval._retn (); } +// TAO_IDL - Generated from +// be/be_visitor_operation/remote_proxy_impl_cs.cpp:63 + void ImplementationRepository::_TAO_Administration_Remote_Proxy_Impl::register_server ( CORBA_Object *_collocated_tao_target_, const char * server, @@ -4172,8 +4575,7 @@ void ImplementationRepository::_TAO_Administration_Remote_Proxy_Impl::register_s , ImplementationRepository::AlreadyRegistered )) { - - static TAO_Exception_Data _tao_ImplementationRepository_Administration_register_server_exceptiondata [] = + static TAO_Exception_Data _tao_ImplementationRepository_Administration_register_server_exceptiondata [] = { { "IDL:ImplementationRepository/AlreadyRegistered:1.0", @@ -4181,14 +4583,13 @@ void ImplementationRepository::_TAO_Administration_Remote_Proxy_Impl::register_s } }; - - - - TAO_Stub *istub = _collocated_tao_target_->_stubobj (); +TAO_Stub *istub = _collocated_tao_target_->_stubobj (); + if (istub == 0) - ACE_THROW (CORBA::INTERNAL ()); - - + { + ACE_THROW (CORBA::INTERNAL ()); + } + TAO_GIOP_Twoway_Invocation _tao_call ( istub, "register_server", @@ -4196,144 +4597,176 @@ void ImplementationRepository::_TAO_Administration_Remote_Proxy_Impl::register_s 2, istub->orb_core () ); - + int _invoke_status; - + #if (TAO_HAS_INTERCEPTORS == 1) TAO_ClientRequestInterceptor_Adapter _tao_vfr ( istub->orb_core ()->client_request_interceptors (), &_tao_call, _invoke_status ); - + #endif /* TAO_HAS_INTERCEPTORS */ - + for (;;) { _invoke_status = TAO_INVOKE_EXCEPTION; - + #if TAO_HAS_INTERCEPTORS == 1 TAO_ClientRequestInfo_ImplementationRepository_Administration_register_server _tao_ri ( - &_tao_call, - _collocated_tao_target_, - server, - options ACE_ENV_ARG_PARAMETER - ); - ACE_CHECK; - + &_tao_call, + _collocated_tao_target_, + server, + options + ACE_ENV_ARG_PARAMETER + ); + ACE_CHECK; + #endif /* TAO_HAS_INTERCEPTORS */ - - + CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; TAO_INTERCEPTOR (_tao_ri.response_expected (1)); - + #if TAO_HAS_INTERCEPTORS == 1 - + ACE_TRY { _tao_vfr.send_request ( - &_tao_ri - ACE_ENV_ARG_PARAMETER - ); + &_tao_ri + ACE_ENV_ARG_PARAMETER + ); ACE_TRY_CHECK; - + if (_invoke_status == TAO_INVOKE_RESTART) { _tao_call.restart_flag (1); continue; } - + #endif /* TAO_HAS_INTERCEPTORS */ - + _tao_call.start (ACE_ENV_SINGLE_ARG_PARAMETER); - TAO_INTERCEPTOR_CHECK; + TAO_INTERCEPTOR_CHECK; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag) ACE_ENV_ARG_PARAMETER ); - TAO_INTERCEPTOR_CHECK; + TAO_INTERCEPTOR_CHECK; TAO_OutputCDR &_tao_out = _tao_call.out_stream (); + if (!( - (_tao_out << server) && + (_tao_out << server) && (_tao_out << options) - )) - TAO_INTERCEPTOR_THROW ( - CORBA::MARSHAL () - ); - + )) + { + TAO_INTERCEPTOR_THROW ( + CORBA::MARSHAL ( + + ) + ); + } + _invoke_status = _tao_call.invoke (_tao_ImplementationRepository_Administration_register_server_exceptiondata, 1 ACE_ENV_ARG_PARAMETER); - TAO_INTERCEPTOR_CHECK; + TAO_INTERCEPTOR_CHECK; if (_invoke_status == TAO_INVOKE_EXCEPTION) { TAO_INTERCEPTOR_THROW ( - CORBA::UNKNOWN (CORBA::OMGVMCID | 1, CORBA::COMPLETED_YES) - ); - + CORBA::UNKNOWN ( + CORBA::OMGVMCID | 1, CORBA::COMPLETED_YES + ) + ); } else if (_invoke_status == TAO_INVOKE_RESTART) { TAO_INTERCEPTOR ( - _tao_ri.reply_status (_invoke_status); - _tao_vfr.receive_other ( - &_tao_ri - ACE_ENV_ARG_PARAMETER - ); - ACE_TRY_CHECK; - ) - + _tao_ri.reply_status (_invoke_status); + _tao_vfr.receive_other ( + &_tao_ri + ACE_ENV_ARG_PARAMETER + ); + ACE_TRY_CHECK; + ) + continue; } - - #if TAO_HAS_INTERCEPTORS == 1 - + _tao_ri.reply_status (_invoke_status); _tao_vfr.receive_reply ( - &_tao_ri - ACE_ENV_ARG_PARAMETER - ); + &_tao_ri + ACE_ENV_ARG_PARAMETER + ); ACE_TRY_CHECK; - - } - ACE_CATCHANY - { - _tao_ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &_tao_ri - ACE_ENV_ARG_PARAMETER - ); - ACE_TRY_CHECK; - - PortableInterceptor::ReplyStatus _tao_status = - _tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER); - ACE_TRY_CHECK; - - if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION - || _tao_status == PortableInterceptor::USER_EXCEPTION) - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK; - - PortableInterceptor::ReplyStatus _tao_status = - _tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER); - ACE_CHECK; - - if (_tao_status == PortableInterceptor::LOCATION_FORWARD - || _tao_status == PortableInterceptor::TRANSPORT_RETRY) - continue; - + } + ACE_CATCHANY + { + _tao_ri.exception (&ACE_ANY_EXCEPTION); + _tao_vfr.receive_exception ( + &_tao_ri + ACE_ENV_ARG_PARAMETER + ); + ACE_TRY_CHECK; + + PortableInterceptor::ReplyStatus _tao_status = + _tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER); + ACE_TRY_CHECK; + + if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION + || _tao_status == PortableInterceptor::USER_EXCEPTION) + { + ACE_RE_THROW; + } + } + +# if defined (ACE_HAS_EXCEPTIONS) \ + && defined (ACE_HAS_BROKEN_UNEXPECTED_EXCEPTIONS) + ACE_CATCHALL + { + CORBA::UNKNOWN ex; + + _tao_ri.exception (&ex); + _tao_vfr.receive_exception ( + &_tao_ri + ACE_ENV_ARG_PARAMETER + ); + ACE_TRY_CHECK; + + PortableInterceptor::ReplyStatus _tao_status = + _tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER); + ACE_TRY_CHECK; + + if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION) + ACE_TRY_THROW (ex); + } +# endif /* ACE_HAS_EXCEPTIONS && ACE_HAS_BROKEN_UNEXPECTED_EXCEPTIONS */ + + ACE_ENDTRY; + ACE_CHECK; + + PortableInterceptor::ReplyStatus _tao_status = + _tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER); + ACE_CHECK; + + if (_tao_status == PortableInterceptor::LOCATION_FORWARD + || _tao_status == PortableInterceptor::TRANSPORT_RETRY) + { + continue; + } + #endif /* TAO_HAS_INTERCEPTORS */ - - break; - } - + + break; + } } +// TAO_IDL - Generated from +// be/be_visitor_operation/remote_proxy_impl_cs.cpp:63 + void ImplementationRepository::_TAO_Administration_Remote_Proxy_Impl::reregister_server ( CORBA_Object *_collocated_tao_target_, const char * server, @@ -4344,15 +4777,13 @@ void ImplementationRepository::_TAO_Administration_Remote_Proxy_Impl::reregister CORBA::SystemException )) { - - - - TAO_Stub *istub = _collocated_tao_target_->_stubobj (); + if (istub == 0) - ACE_THROW (CORBA::INTERNAL ()); - - + { + ACE_THROW (CORBA::INTERNAL ()); + } + TAO_GIOP_Twoway_Invocation _tao_call ( istub, "reregister_server", @@ -4360,144 +4791,176 @@ void ImplementationRepository::_TAO_Administration_Remote_Proxy_Impl::reregister 2, istub->orb_core () ); - + int _invoke_status; - + #if (TAO_HAS_INTERCEPTORS == 1) TAO_ClientRequestInterceptor_Adapter _tao_vfr ( istub->orb_core ()->client_request_interceptors (), &_tao_call, _invoke_status ); - + #endif /* TAO_HAS_INTERCEPTORS */ - + for (;;) { _invoke_status = TAO_INVOKE_EXCEPTION; - + #if TAO_HAS_INTERCEPTORS == 1 TAO_ClientRequestInfo_ImplementationRepository_Administration_reregister_server _tao_ri ( - &_tao_call, - _collocated_tao_target_, - server, - options ACE_ENV_ARG_PARAMETER - ); - ACE_CHECK; - + &_tao_call, + _collocated_tao_target_, + server, + options + ACE_ENV_ARG_PARAMETER + ); + ACE_CHECK; + #endif /* TAO_HAS_INTERCEPTORS */ - - + CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; TAO_INTERCEPTOR (_tao_ri.response_expected (1)); - + #if TAO_HAS_INTERCEPTORS == 1 - + ACE_TRY { _tao_vfr.send_request ( - &_tao_ri - ACE_ENV_ARG_PARAMETER - ); + &_tao_ri + ACE_ENV_ARG_PARAMETER + ); ACE_TRY_CHECK; - + if (_invoke_status == TAO_INVOKE_RESTART) { _tao_call.restart_flag (1); continue; } - + #endif /* TAO_HAS_INTERCEPTORS */ - + _tao_call.start (ACE_ENV_SINGLE_ARG_PARAMETER); - TAO_INTERCEPTOR_CHECK; + TAO_INTERCEPTOR_CHECK; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag) ACE_ENV_ARG_PARAMETER ); - TAO_INTERCEPTOR_CHECK; + TAO_INTERCEPTOR_CHECK; TAO_OutputCDR &_tao_out = _tao_call.out_stream (); + if (!( - (_tao_out << server) && + (_tao_out << server) && (_tao_out << options) - )) - TAO_INTERCEPTOR_THROW ( - CORBA::MARSHAL () - ); - + )) + { + TAO_INTERCEPTOR_THROW ( + CORBA::MARSHAL ( + + ) + ); + } + _invoke_status = _tao_call.invoke (0, 0 ACE_ENV_ARG_PARAMETER); - TAO_INTERCEPTOR_CHECK; + TAO_INTERCEPTOR_CHECK; if (_invoke_status == TAO_INVOKE_EXCEPTION) { TAO_INTERCEPTOR_THROW ( - CORBA::UNKNOWN (CORBA::OMGVMCID | 1, CORBA::COMPLETED_YES) - ); - + CORBA::UNKNOWN ( + CORBA::OMGVMCID | 1, CORBA::COMPLETED_YES + ) + ); } else if (_invoke_status == TAO_INVOKE_RESTART) { TAO_INTERCEPTOR ( - _tao_ri.reply_status (_invoke_status); - _tao_vfr.receive_other ( - &_tao_ri - ACE_ENV_ARG_PARAMETER - ); - ACE_TRY_CHECK; - ) - + _tao_ri.reply_status (_invoke_status); + _tao_vfr.receive_other ( + &_tao_ri + ACE_ENV_ARG_PARAMETER + ); + ACE_TRY_CHECK; + ) + continue; } - - #if TAO_HAS_INTERCEPTORS == 1 - + _tao_ri.reply_status (_invoke_status); _tao_vfr.receive_reply ( - &_tao_ri - ACE_ENV_ARG_PARAMETER - ); + &_tao_ri + ACE_ENV_ARG_PARAMETER + ); ACE_TRY_CHECK; - - } - ACE_CATCHANY - { - _tao_ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &_tao_ri - ACE_ENV_ARG_PARAMETER - ); - ACE_TRY_CHECK; - - PortableInterceptor::ReplyStatus _tao_status = - _tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER); - ACE_TRY_CHECK; - - if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION - || _tao_status == PortableInterceptor::USER_EXCEPTION) - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK; - - PortableInterceptor::ReplyStatus _tao_status = - _tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER); - ACE_CHECK; - - if (_tao_status == PortableInterceptor::LOCATION_FORWARD - || _tao_status == PortableInterceptor::TRANSPORT_RETRY) - continue; - + } + ACE_CATCHANY + { + _tao_ri.exception (&ACE_ANY_EXCEPTION); + _tao_vfr.receive_exception ( + &_tao_ri + ACE_ENV_ARG_PARAMETER + ); + ACE_TRY_CHECK; + + PortableInterceptor::ReplyStatus _tao_status = + _tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER); + ACE_TRY_CHECK; + + if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION + || _tao_status == PortableInterceptor::USER_EXCEPTION) + { + ACE_RE_THROW; + } + } + +# if defined (ACE_HAS_EXCEPTIONS) \ + && defined (ACE_HAS_BROKEN_UNEXPECTED_EXCEPTIONS) + ACE_CATCHALL + { + CORBA::UNKNOWN ex; + + _tao_ri.exception (&ex); + _tao_vfr.receive_exception ( + &_tao_ri + ACE_ENV_ARG_PARAMETER + ); + ACE_TRY_CHECK; + + PortableInterceptor::ReplyStatus _tao_status = + _tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER); + ACE_TRY_CHECK; + + if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION) + ACE_TRY_THROW (ex); + } +# endif /* ACE_HAS_EXCEPTIONS && ACE_HAS_BROKEN_UNEXPECTED_EXCEPTIONS */ + + ACE_ENDTRY; + ACE_CHECK; + + PortableInterceptor::ReplyStatus _tao_status = + _tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER); + ACE_CHECK; + + if (_tao_status == PortableInterceptor::LOCATION_FORWARD + || _tao_status == PortableInterceptor::TRANSPORT_RETRY) + { + continue; + } + #endif /* TAO_HAS_INTERCEPTORS */ - - break; - } - + + break; + } } +// TAO_IDL - Generated from +// be/be_visitor_operation/remote_proxy_impl_cs.cpp:63 + void ImplementationRepository::_TAO_Administration_Remote_Proxy_Impl::remove_server ( CORBA_Object *_collocated_tao_target_, const char * server @@ -4508,8 +4971,7 @@ void ImplementationRepository::_TAO_Administration_Remote_Proxy_Impl::remove_ser , ImplementationRepository::NotFound )) { - - static TAO_Exception_Data _tao_ImplementationRepository_Administration_remove_server_exceptiondata [] = + static TAO_Exception_Data _tao_ImplementationRepository_Administration_remove_server_exceptiondata [] = { { "IDL:ImplementationRepository/NotFound:1.0", @@ -4517,14 +4979,13 @@ void ImplementationRepository::_TAO_Administration_Remote_Proxy_Impl::remove_ser } }; - - - - TAO_Stub *istub = _collocated_tao_target_->_stubobj (); +TAO_Stub *istub = _collocated_tao_target_->_stubobj (); + if (istub == 0) - ACE_THROW (CORBA::INTERNAL ()); - - + { + ACE_THROW (CORBA::INTERNAL ()); + } + TAO_GIOP_Twoway_Invocation _tao_call ( istub, "remove_server", @@ -4532,142 +4993,174 @@ void ImplementationRepository::_TAO_Administration_Remote_Proxy_Impl::remove_ser 1, istub->orb_core () ); - + int _invoke_status; - + #if (TAO_HAS_INTERCEPTORS == 1) TAO_ClientRequestInterceptor_Adapter _tao_vfr ( istub->orb_core ()->client_request_interceptors (), &_tao_call, _invoke_status ); - + #endif /* TAO_HAS_INTERCEPTORS */ - + for (;;) { _invoke_status = TAO_INVOKE_EXCEPTION; - + #if TAO_HAS_INTERCEPTORS == 1 TAO_ClientRequestInfo_ImplementationRepository_Administration_remove_server _tao_ri ( - &_tao_call, - _collocated_tao_target_, - server ACE_ENV_ARG_PARAMETER - ); - ACE_CHECK; - + &_tao_call, + _collocated_tao_target_, + server + ACE_ENV_ARG_PARAMETER + ); + ACE_CHECK; + #endif /* TAO_HAS_INTERCEPTORS */ - - + CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; TAO_INTERCEPTOR (_tao_ri.response_expected (1)); - + #if TAO_HAS_INTERCEPTORS == 1 - + ACE_TRY { _tao_vfr.send_request ( - &_tao_ri - ACE_ENV_ARG_PARAMETER - ); + &_tao_ri + ACE_ENV_ARG_PARAMETER + ); ACE_TRY_CHECK; - + if (_invoke_status == TAO_INVOKE_RESTART) { _tao_call.restart_flag (1); continue; } - + #endif /* TAO_HAS_INTERCEPTORS */ - + _tao_call.start (ACE_ENV_SINGLE_ARG_PARAMETER); - TAO_INTERCEPTOR_CHECK; + TAO_INTERCEPTOR_CHECK; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag) ACE_ENV_ARG_PARAMETER ); - TAO_INTERCEPTOR_CHECK; + TAO_INTERCEPTOR_CHECK; TAO_OutputCDR &_tao_out = _tao_call.out_stream (); + if (!( - (_tao_out << server) - )) - TAO_INTERCEPTOR_THROW ( - CORBA::MARSHAL () - ); - + (_tao_out << server) + )) + { + TAO_INTERCEPTOR_THROW ( + CORBA::MARSHAL ( + + ) + ); + } + _invoke_status = _tao_call.invoke (_tao_ImplementationRepository_Administration_remove_server_exceptiondata, 1 ACE_ENV_ARG_PARAMETER); - TAO_INTERCEPTOR_CHECK; + TAO_INTERCEPTOR_CHECK; if (_invoke_status == TAO_INVOKE_EXCEPTION) { TAO_INTERCEPTOR_THROW ( - CORBA::UNKNOWN (CORBA::OMGVMCID | 1, CORBA::COMPLETED_YES) - ); - + CORBA::UNKNOWN ( + CORBA::OMGVMCID | 1, CORBA::COMPLETED_YES + ) + ); } else if (_invoke_status == TAO_INVOKE_RESTART) { TAO_INTERCEPTOR ( - _tao_ri.reply_status (_invoke_status); - _tao_vfr.receive_other ( - &_tao_ri - ACE_ENV_ARG_PARAMETER - ); - ACE_TRY_CHECK; - ) - + _tao_ri.reply_status (_invoke_status); + _tao_vfr.receive_other ( + &_tao_ri + ACE_ENV_ARG_PARAMETER + ); + ACE_TRY_CHECK; + ) + continue; } - - #if TAO_HAS_INTERCEPTORS == 1 - + _tao_ri.reply_status (_invoke_status); _tao_vfr.receive_reply ( - &_tao_ri - ACE_ENV_ARG_PARAMETER - ); + &_tao_ri + ACE_ENV_ARG_PARAMETER + ); ACE_TRY_CHECK; - - } - ACE_CATCHANY - { - _tao_ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &_tao_ri - ACE_ENV_ARG_PARAMETER - ); - ACE_TRY_CHECK; - - PortableInterceptor::ReplyStatus _tao_status = - _tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER); - ACE_TRY_CHECK; - - if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION - || _tao_status == PortableInterceptor::USER_EXCEPTION) - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK; - - PortableInterceptor::ReplyStatus _tao_status = - _tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER); - ACE_CHECK; - - if (_tao_status == PortableInterceptor::LOCATION_FORWARD - || _tao_status == PortableInterceptor::TRANSPORT_RETRY) - continue; - + } + ACE_CATCHANY + { + _tao_ri.exception (&ACE_ANY_EXCEPTION); + _tao_vfr.receive_exception ( + &_tao_ri + ACE_ENV_ARG_PARAMETER + ); + ACE_TRY_CHECK; + + PortableInterceptor::ReplyStatus _tao_status = + _tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER); + ACE_TRY_CHECK; + + if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION + || _tao_status == PortableInterceptor::USER_EXCEPTION) + { + ACE_RE_THROW; + } + } + +# if defined (ACE_HAS_EXCEPTIONS) \ + && defined (ACE_HAS_BROKEN_UNEXPECTED_EXCEPTIONS) + ACE_CATCHALL + { + CORBA::UNKNOWN ex; + + _tao_ri.exception (&ex); + _tao_vfr.receive_exception ( + &_tao_ri + ACE_ENV_ARG_PARAMETER + ); + ACE_TRY_CHECK; + + PortableInterceptor::ReplyStatus _tao_status = + _tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER); + ACE_TRY_CHECK; + + if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION) + ACE_TRY_THROW (ex); + } +# endif /* ACE_HAS_EXCEPTIONS && ACE_HAS_BROKEN_UNEXPECTED_EXCEPTIONS */ + + ACE_ENDTRY; + ACE_CHECK; + + PortableInterceptor::ReplyStatus _tao_status = + _tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER); + ACE_CHECK; + + if (_tao_status == PortableInterceptor::LOCATION_FORWARD + || _tao_status == PortableInterceptor::TRANSPORT_RETRY) + { + continue; + } + #endif /* TAO_HAS_INTERCEPTORS */ - - break; - } - + + break; + } } +// TAO_IDL - Generated from +// be/be_visitor_operation/remote_proxy_impl_cs.cpp:63 + void ImplementationRepository::_TAO_Administration_Remote_Proxy_Impl::shutdown_server ( CORBA_Object *_collocated_tao_target_, const char * server @@ -4678,8 +5171,7 @@ void ImplementationRepository::_TAO_Administration_Remote_Proxy_Impl::shutdown_s , ImplementationRepository::NotFound )) { - - static TAO_Exception_Data _tao_ImplementationRepository_Administration_shutdown_server_exceptiondata [] = + static TAO_Exception_Data _tao_ImplementationRepository_Administration_shutdown_server_exceptiondata [] = { { "IDL:ImplementationRepository/NotFound:1.0", @@ -4687,14 +5179,13 @@ void ImplementationRepository::_TAO_Administration_Remote_Proxy_Impl::shutdown_s } }; - - - - TAO_Stub *istub = _collocated_tao_target_->_stubobj (); +TAO_Stub *istub = _collocated_tao_target_->_stubobj (); + if (istub == 0) - ACE_THROW (CORBA::INTERNAL ()); - - + { + ACE_THROW (CORBA::INTERNAL ()); + } + TAO_GIOP_Twoway_Invocation _tao_call ( istub, "shutdown_server", @@ -4702,143 +5193,174 @@ void ImplementationRepository::_TAO_Administration_Remote_Proxy_Impl::shutdown_s 1, istub->orb_core () ); - + int _invoke_status; - + #if (TAO_HAS_INTERCEPTORS == 1) TAO_ClientRequestInterceptor_Adapter _tao_vfr ( istub->orb_core ()->client_request_interceptors (), &_tao_call, _invoke_status ); - + #endif /* TAO_HAS_INTERCEPTORS */ - + for (;;) { _invoke_status = TAO_INVOKE_EXCEPTION; - + #if TAO_HAS_INTERCEPTORS == 1 TAO_ClientRequestInfo_ImplementationRepository_Administration_shutdown_server _tao_ri ( - &_tao_call, - _collocated_tao_target_, - server ACE_ENV_ARG_PARAMETER - ); - ACE_CHECK; - + &_tao_call, + _collocated_tao_target_, + server + ACE_ENV_ARG_PARAMETER + ); + ACE_CHECK; + #endif /* TAO_HAS_INTERCEPTORS */ - - + CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; TAO_INTERCEPTOR (_tao_ri.response_expected (1)); - + #if TAO_HAS_INTERCEPTORS == 1 - + ACE_TRY { _tao_vfr.send_request ( - &_tao_ri - ACE_ENV_ARG_PARAMETER - ); + &_tao_ri + ACE_ENV_ARG_PARAMETER + ); ACE_TRY_CHECK; - + if (_invoke_status == TAO_INVOKE_RESTART) { _tao_call.restart_flag (1); continue; } - + #endif /* TAO_HAS_INTERCEPTORS */ - + _tao_call.start (ACE_ENV_SINGLE_ARG_PARAMETER); - TAO_INTERCEPTOR_CHECK; + TAO_INTERCEPTOR_CHECK; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag) ACE_ENV_ARG_PARAMETER ); - TAO_INTERCEPTOR_CHECK; + TAO_INTERCEPTOR_CHECK; TAO_OutputCDR &_tao_out = _tao_call.out_stream (); + if (!( - (_tao_out << server) - )) - TAO_INTERCEPTOR_THROW ( - CORBA::MARSHAL () - ); - + (_tao_out << server) + )) + { + TAO_INTERCEPTOR_THROW ( + CORBA::MARSHAL ( + + ) + ); + } + _invoke_status = _tao_call.invoke (_tao_ImplementationRepository_Administration_shutdown_server_exceptiondata, 1 ACE_ENV_ARG_PARAMETER); - TAO_INTERCEPTOR_CHECK; + TAO_INTERCEPTOR_CHECK; if (_invoke_status == TAO_INVOKE_EXCEPTION) { - TAO_INTERCEPTOR_THROW_RETURN ( - CORBA::UNKNOWN (CORBA::OMGVMCID | 1, CORBA::COMPLETED_YES), - _tao_retval - ); - + TAO_INTERCEPTOR_THROW ( + CORBA::UNKNOWN ( + CORBA::OMGVMCID | 1, CORBA::COMPLETED_YES + ) + ); } else if (_invoke_status == TAO_INVOKE_RESTART) { TAO_INTERCEPTOR ( - _tao_ri.reply_status (_invoke_status); - _tao_vfr.receive_other ( - &_tao_ri - ACE_ENV_ARG_PARAMETER - ); - ACE_TRY_CHECK; - ) - + _tao_ri.reply_status (_invoke_status); + _tao_vfr.receive_other ( + &_tao_ri + ACE_ENV_ARG_PARAMETER + ); + ACE_TRY_CHECK; + ) + continue; } - - #if TAO_HAS_INTERCEPTORS == 1 - + _tao_ri.reply_status (_invoke_status); _tao_vfr.receive_reply ( - &_tao_ri - ACE_ENV_ARG_PARAMETER - ); + &_tao_ri + ACE_ENV_ARG_PARAMETER + ); ACE_TRY_CHECK; - - } - ACE_CATCHANY - { - _tao_ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &_tao_ri - ACE_ENV_ARG_PARAMETER - ); - ACE_TRY_CHECK; - - PortableInterceptor::ReplyStatus _tao_status = - _tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER); - ACE_TRY_CHECK; - - if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION - || _tao_status == PortableInterceptor::USER_EXCEPTION) - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK; - - PortableInterceptor::ReplyStatus _tao_status = - _tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER); - ACE_CHECK; - - if (_tao_status == PortableInterceptor::LOCATION_FORWARD - || _tao_status == PortableInterceptor::TRANSPORT_RETRY) - continue; - + } + ACE_CATCHANY + { + _tao_ri.exception (&ACE_ANY_EXCEPTION); + _tao_vfr.receive_exception ( + &_tao_ri + ACE_ENV_ARG_PARAMETER + ); + ACE_TRY_CHECK; + + PortableInterceptor::ReplyStatus _tao_status = + _tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER); + ACE_TRY_CHECK; + + if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION + || _tao_status == PortableInterceptor::USER_EXCEPTION) + { + ACE_RE_THROW; + } + } + +# if defined (ACE_HAS_EXCEPTIONS) \ + && defined (ACE_HAS_BROKEN_UNEXPECTED_EXCEPTIONS) + ACE_CATCHALL + { + CORBA::UNKNOWN ex; + + _tao_ri.exception (&ex); + _tao_vfr.receive_exception ( + &_tao_ri + ACE_ENV_ARG_PARAMETER + ); + ACE_TRY_CHECK; + + PortableInterceptor::ReplyStatus _tao_status = + _tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER); + ACE_TRY_CHECK; + + if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION) + ACE_TRY_THROW (ex); + } +# endif /* ACE_HAS_EXCEPTIONS && ACE_HAS_BROKEN_UNEXPECTED_EXCEPTIONS */ + + ACE_ENDTRY; + ACE_CHECK; + + PortableInterceptor::ReplyStatus _tao_status = + _tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER); + ACE_CHECK; + + if (_tao_status == PortableInterceptor::LOCATION_FORWARD + || _tao_status == PortableInterceptor::TRANSPORT_RETRY) + { + continue; + } + #endif /* TAO_HAS_INTERCEPTORS */ - - break; - } - + + break; + } } +// TAO_IDL - Generated from +// 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_, const char * server, @@ -4851,8 +5373,7 @@ char * ImplementationRepository::_TAO_Administration_Remote_Proxy_Impl::server_i , ImplementationRepository::NotFound )) { - - static TAO_Exception_Data _tao_ImplementationRepository_Administration_server_is_running_exceptiondata [] = + static TAO_Exception_Data _tao_ImplementationRepository_Administration_server_is_running_exceptiondata [] = { { "IDL:ImplementationRepository/NotFound:1.0", @@ -4860,14 +5381,14 @@ char * ImplementationRepository::_TAO_Administration_Remote_Proxy_Impl::server_i } }; - CORBA::String_var _tao_retval; - - +CORBA::String_var _tao_retval; TAO_Stub *istub = _collocated_tao_target_->_stubobj (); + if (istub == 0) - ACE_THROW_RETURN (CORBA::INTERNAL (),_tao_retval._retn ()); - - + { + ACE_THROW_RETURN (CORBA::INTERNAL (),_tao_retval._retn ()); + } + TAO_GIOP_Twoway_Invocation _tao_call ( istub, "server_is_running", @@ -4875,162 +5396,201 @@ char * ImplementationRepository::_TAO_Administration_Remote_Proxy_Impl::server_i 3, istub->orb_core () ); - + int _invoke_status; - + #if (TAO_HAS_INTERCEPTORS == 1) TAO_ClientRequestInterceptor_Adapter _tao_vfr ( istub->orb_core ()->client_request_interceptors (), &_tao_call, _invoke_status ); - + #endif /* TAO_HAS_INTERCEPTORS */ - + for (;;) { _invoke_status = TAO_INVOKE_EXCEPTION; - + #if TAO_HAS_INTERCEPTORS == 1 TAO_ClientRequestInfo_ImplementationRepository_Administration_server_is_running _tao_ri ( - &_tao_call, - _collocated_tao_target_, - server, - addr, - server_object ACE_ENV_ARG_PARAMETER - ); - ACE_CHECK_RETURN (_tao_retval._retn ()); - + &_tao_call, + _collocated_tao_target_, + server, + addr, + server_object + ACE_ENV_ARG_PARAMETER + ); + ACE_CHECK_RETURN (_tao_retval._retn ()); + #endif /* TAO_HAS_INTERCEPTORS */ - - + CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; TAO_INTERCEPTOR (_tao_ri.response_expected (1)); - + #if TAO_HAS_INTERCEPTORS == 1 - + ACE_TRY { _tao_vfr.send_request ( - &_tao_ri - ACE_ENV_ARG_PARAMETER - ); + &_tao_ri + ACE_ENV_ARG_PARAMETER + ); ACE_TRY_CHECK; - + if (_invoke_status == TAO_INVOKE_RESTART) { _tao_call.restart_flag (1); continue; } - + #endif /* TAO_HAS_INTERCEPTORS */ - + _tao_call.start (ACE_ENV_SINGLE_ARG_PARAMETER); - TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval._retn ()); + TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval._retn ()); _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag) ACE_ENV_ARG_PARAMETER ); - TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval._retn ()); + TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval._retn ()); TAO_OutputCDR &_tao_out = _tao_call.out_stream (); + if (!( - (_tao_out << server) && + (_tao_out << server) && (_tao_out << addr) && (_tao_out << server_object) - )) - TAO_INTERCEPTOR_THROW_RETURN ( - CORBA::MARSHAL (), - 0 - ); - + )) + { + TAO_INTERCEPTOR_THROW_RETURN ( + CORBA::MARSHAL ( + + ), + 0 + ); + } + _invoke_status = _tao_call.invoke (_tao_ImplementationRepository_Administration_server_is_running_exceptiondata, 1 ACE_ENV_ARG_PARAMETER); - TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval._retn ()); + TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval._retn ()); if (_invoke_status == TAO_INVOKE_EXCEPTION) { TAO_INTERCEPTOR_THROW_RETURN ( - CORBA::UNKNOWN (CORBA::OMGVMCID | 1, CORBA::COMPLETED_YES), - 0 - ); - + CORBA::UNKNOWN ( + CORBA::OMGVMCID | 1, CORBA::COMPLETED_YES + ), + 0 + ); } else if (_invoke_status == TAO_INVOKE_RESTART) { TAO_INTERCEPTOR ( - _tao_ri.reply_status (_invoke_status); - _tao_vfr.receive_other ( - &_tao_ri - ACE_ENV_ARG_PARAMETER - ); - ACE_TRY_CHECK; - ) - + _tao_ri.reply_status (_invoke_status); + _tao_vfr.receive_other ( + &_tao_ri + ACE_ENV_ARG_PARAMETER + ); + ACE_TRY_CHECK; + ) + continue; } - + TAO_InputCDR &_tao_in = _tao_call.inp_stream (); + if (!( - (_tao_in >> _tao_retval.inout ()) + (_tao_in >> _tao_retval.inout ()) )) { TAO_INTERCEPTOR_THROW_RETURN ( - CORBA::MARSHAL (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), - 0 - ); - + CORBA::MARSHAL ( + TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES + ), + 0 + ); } - + #if TAO_HAS_INTERCEPTORS == 1 - char * _tao_retval_info = _tao_retval._retn (); + char * _tao_retval_info = + _tao_retval._retn (); _tao_ri.result (_tao_retval_info); _tao_retval = _tao_retval_info; - + _tao_ri.reply_status (_invoke_status); _tao_vfr.receive_reply ( - &_tao_ri - ACE_ENV_ARG_PARAMETER - ); + &_tao_ri + ACE_ENV_ARG_PARAMETER + ); ACE_TRY_CHECK; - - } - ACE_CATCHANY - { - _tao_ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &_tao_ri - ACE_ENV_ARG_PARAMETER - ); - ACE_TRY_CHECK; - - PortableInterceptor::ReplyStatus _tao_status = - _tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER); - ACE_TRY_CHECK; - - if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION - || _tao_status == PortableInterceptor::USER_EXCEPTION) - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (_tao_retval._retn ()); - - PortableInterceptor::ReplyStatus _tao_status = - _tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER); - ACE_CHECK_RETURN (_tao_retval._retn ()); - - if (_tao_status == PortableInterceptor::LOCATION_FORWARD - || _tao_status == PortableInterceptor::TRANSPORT_RETRY) - continue; - + } + ACE_CATCHANY + { + _tao_ri.exception (&ACE_ANY_EXCEPTION); + _tao_vfr.receive_exception ( + &_tao_ri + ACE_ENV_ARG_PARAMETER + ); + ACE_TRY_CHECK; + + PortableInterceptor::ReplyStatus _tao_status = + _tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER); + ACE_TRY_CHECK; + + if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION + || _tao_status == PortableInterceptor::USER_EXCEPTION) + { + ACE_RE_THROW; + } + } + +# if defined (ACE_HAS_EXCEPTIONS) \ + && defined (ACE_HAS_BROKEN_UNEXPECTED_EXCEPTIONS) + ACE_CATCHALL + { + CORBA::UNKNOWN ex; + + _tao_ri.exception (&ex); + _tao_vfr.receive_exception ( + &_tao_ri + ACE_ENV_ARG_PARAMETER + ); + ACE_TRY_CHECK; + + PortableInterceptor::ReplyStatus _tao_status = + _tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER); + ACE_TRY_CHECK; + + if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION) + ACE_TRY_THROW (ex); + } +# endif /* ACE_HAS_EXCEPTIONS && ACE_HAS_BROKEN_UNEXPECTED_EXCEPTIONS */ + + ACE_ENDTRY; + ACE_CHECK_RETURN (_tao_retval._retn ()); + + PortableInterceptor::ReplyStatus _tao_status = + _tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER); + ACE_CHECK_RETURN (_tao_retval._retn ()); + + if (_tao_status == PortableInterceptor::LOCATION_FORWARD + || _tao_status == PortableInterceptor::TRANSPORT_RETRY) + { + continue; + } + #endif /* TAO_HAS_INTERCEPTORS */ - - break; - } -return _tao_retval._retn (); + + break; + } + + return _tao_retval._retn (); } +// TAO_IDL - Generated from +// 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_, const char * server @@ -5041,8 +5601,7 @@ void ImplementationRepository::_TAO_Administration_Remote_Proxy_Impl::server_is_ , ImplementationRepository::NotFound )) { - - static TAO_Exception_Data _tao_ImplementationRepository_Administration_server_is_shutting_down_exceptiondata [] = + static TAO_Exception_Data _tao_ImplementationRepository_Administration_server_is_shutting_down_exceptiondata [] = { { "IDL:ImplementationRepository/NotFound:1.0", @@ -5050,14 +5609,13 @@ void ImplementationRepository::_TAO_Administration_Remote_Proxy_Impl::server_is_ } }; - - - - TAO_Stub *istub = _collocated_tao_target_->_stubobj (); +TAO_Stub *istub = _collocated_tao_target_->_stubobj (); + if (istub == 0) - ACE_THROW (CORBA::INTERNAL ()); - - + { + ACE_THROW (CORBA::INTERNAL ()); + } + TAO_GIOP_Twoway_Invocation _tao_call ( istub, "server_is_shutting_down", @@ -5065,142 +5623,174 @@ void ImplementationRepository::_TAO_Administration_Remote_Proxy_Impl::server_is_ 1, istub->orb_core () ); - + int _invoke_status; - + #if (TAO_HAS_INTERCEPTORS == 1) TAO_ClientRequestInterceptor_Adapter _tao_vfr ( istub->orb_core ()->client_request_interceptors (), &_tao_call, _invoke_status ); - + #endif /* TAO_HAS_INTERCEPTORS */ - + for (;;) { _invoke_status = TAO_INVOKE_EXCEPTION; - + #if TAO_HAS_INTERCEPTORS == 1 TAO_ClientRequestInfo_ImplementationRepository_Administration_server_is_shutting_down _tao_ri ( - &_tao_call, - _collocated_tao_target_, - server ACE_ENV_ARG_PARAMETER - ); - ACE_CHECK; - + &_tao_call, + _collocated_tao_target_, + server + ACE_ENV_ARG_PARAMETER + ); + ACE_CHECK; + #endif /* TAO_HAS_INTERCEPTORS */ - - + CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; TAO_INTERCEPTOR (_tao_ri.response_expected (1)); - + #if TAO_HAS_INTERCEPTORS == 1 - + ACE_TRY { _tao_vfr.send_request ( - &_tao_ri - ACE_ENV_ARG_PARAMETER - ); + &_tao_ri + ACE_ENV_ARG_PARAMETER + ); ACE_TRY_CHECK; - + if (_invoke_status == TAO_INVOKE_RESTART) { _tao_call.restart_flag (1); continue; } - + #endif /* TAO_HAS_INTERCEPTORS */ - + _tao_call.start (ACE_ENV_SINGLE_ARG_PARAMETER); - TAO_INTERCEPTOR_CHECK; + TAO_INTERCEPTOR_CHECK; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag) ACE_ENV_ARG_PARAMETER ); - TAO_INTERCEPTOR_CHECK; + TAO_INTERCEPTOR_CHECK; TAO_OutputCDR &_tao_out = _tao_call.out_stream (); + if (!( - (_tao_out << server) - )) - TAO_INTERCEPTOR_THROW ( - CORBA::MARSHAL () - ); - + (_tao_out << server) + )) + { + TAO_INTERCEPTOR_THROW ( + CORBA::MARSHAL ( + + ) + ); + } + _invoke_status = _tao_call.invoke (_tao_ImplementationRepository_Administration_server_is_shutting_down_exceptiondata, 1 ACE_ENV_ARG_PARAMETER); - TAO_INTERCEPTOR_CHECK; + TAO_INTERCEPTOR_CHECK; if (_invoke_status == TAO_INVOKE_EXCEPTION) { TAO_INTERCEPTOR_THROW ( - CORBA::UNKNOWN (CORBA::OMGVMCID | 1, CORBA::COMPLETED_YES) - ); - + CORBA::UNKNOWN ( + CORBA::OMGVMCID | 1, CORBA::COMPLETED_YES + ) + ); } else if (_invoke_status == TAO_INVOKE_RESTART) { TAO_INTERCEPTOR ( - _tao_ri.reply_status (_invoke_status); - _tao_vfr.receive_other ( - &_tao_ri - ACE_ENV_ARG_PARAMETER - ); - ACE_TRY_CHECK; - ) - + _tao_ri.reply_status (_invoke_status); + _tao_vfr.receive_other ( + &_tao_ri + ACE_ENV_ARG_PARAMETER + ); + ACE_TRY_CHECK; + ) + continue; } - - #if TAO_HAS_INTERCEPTORS == 1 - + _tao_ri.reply_status (_invoke_status); _tao_vfr.receive_reply ( - &_tao_ri - ACE_ENV_ARG_PARAMETER - ); + &_tao_ri + ACE_ENV_ARG_PARAMETER + ); ACE_TRY_CHECK; - - } - ACE_CATCHANY - { - _tao_ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &_tao_ri - ACE_ENV_ARG_PARAMETER - ); - ACE_TRY_CHECK; - - PortableInterceptor::ReplyStatus _tao_status = - _tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER); - ACE_TRY_CHECK; - - if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION - || _tao_status == PortableInterceptor::USER_EXCEPTION) - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK; - - PortableInterceptor::ReplyStatus _tao_status = - _tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER); - ACE_CHECK; - - if (_tao_status == PortableInterceptor::LOCATION_FORWARD - || _tao_status == PortableInterceptor::TRANSPORT_RETRY) - continue; - + } + ACE_CATCHANY + { + _tao_ri.exception (&ACE_ANY_EXCEPTION); + _tao_vfr.receive_exception ( + &_tao_ri + ACE_ENV_ARG_PARAMETER + ); + ACE_TRY_CHECK; + + PortableInterceptor::ReplyStatus _tao_status = + _tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER); + ACE_TRY_CHECK; + + if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION + || _tao_status == PortableInterceptor::USER_EXCEPTION) + { + ACE_RE_THROW; + } + } + +# if defined (ACE_HAS_EXCEPTIONS) \ + && defined (ACE_HAS_BROKEN_UNEXPECTED_EXCEPTIONS) + ACE_CATCHALL + { + CORBA::UNKNOWN ex; + + _tao_ri.exception (&ex); + _tao_vfr.receive_exception ( + &_tao_ri + ACE_ENV_ARG_PARAMETER + ); + ACE_TRY_CHECK; + + PortableInterceptor::ReplyStatus _tao_status = + _tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER); + ACE_TRY_CHECK; + + if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION) + ACE_TRY_THROW (ex); + } +# endif /* ACE_HAS_EXCEPTIONS && ACE_HAS_BROKEN_UNEXPECTED_EXCEPTIONS */ + + ACE_ENDTRY; + ACE_CHECK; + + PortableInterceptor::ReplyStatus _tao_status = + _tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER); + ACE_CHECK; + + if (_tao_status == PortableInterceptor::LOCATION_FORWARD + || _tao_status == PortableInterceptor::TRANSPORT_RETRY) + { + continue; + } + #endif /* TAO_HAS_INTERCEPTORS */ - - break; - } - + + break; + } } +// TAO_IDL - Generated from +// be/be_visitor_operation/remote_proxy_impl_cs.cpp:63 + void ImplementationRepository::_TAO_Administration_Remote_Proxy_Impl::find ( CORBA_Object *_collocated_tao_target_, const char * server, @@ -5212,8 +5802,7 @@ void ImplementationRepository::_TAO_Administration_Remote_Proxy_Impl::find ( , ImplementationRepository::NotFound )) { - - static TAO_Exception_Data _tao_ImplementationRepository_Administration_find_exceptiondata [] = + static TAO_Exception_Data _tao_ImplementationRepository_Administration_find_exceptiondata [] = { { "IDL:ImplementationRepository/NotFound:1.0", @@ -5221,19 +5810,17 @@ void ImplementationRepository::_TAO_Administration_Remote_Proxy_Impl::find ( } }; - - - - TAO_Stub *istub = _collocated_tao_target_->_stubobj (); +TAO_Stub *istub = _collocated_tao_target_->_stubobj (); + if (istub == 0) - ACE_THROW (CORBA::INTERNAL ()); - - - ACE_NEW ( + { + ACE_THROW (CORBA::INTERNAL ()); + } + ACE_NEW ( info.ptr (), ImplementationRepository::ServerInformation ); - + TAO_GIOP_Twoway_Invocation _tao_call ( istub, "find", @@ -5241,152 +5828,187 @@ void ImplementationRepository::_TAO_Administration_Remote_Proxy_Impl::find ( 1, istub->orb_core () ); - + int _invoke_status; - + #if (TAO_HAS_INTERCEPTORS == 1) TAO_ClientRequestInterceptor_Adapter _tao_vfr ( istub->orb_core ()->client_request_interceptors (), &_tao_call, _invoke_status ); - + #endif /* TAO_HAS_INTERCEPTORS */ - + for (;;) { _invoke_status = TAO_INVOKE_EXCEPTION; - + #if TAO_HAS_INTERCEPTORS == 1 TAO_ClientRequestInfo_ImplementationRepository_Administration_find _tao_ri ( - &_tao_call, - _collocated_tao_target_, - server ACE_ENV_ARG_PARAMETER - ); - ACE_CHECK; - + &_tao_call, + _collocated_tao_target_, + server + ACE_ENV_ARG_PARAMETER + ); + ACE_CHECK; + #endif /* TAO_HAS_INTERCEPTORS */ - - + CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; TAO_INTERCEPTOR (_tao_ri.response_expected (1)); - + #if TAO_HAS_INTERCEPTORS == 1 - + ACE_TRY { _tao_vfr.send_request ( - &_tao_ri - ACE_ENV_ARG_PARAMETER - ); + &_tao_ri + ACE_ENV_ARG_PARAMETER + ); ACE_TRY_CHECK; - + if (_invoke_status == TAO_INVOKE_RESTART) { _tao_call.restart_flag (1); continue; } - + #endif /* TAO_HAS_INTERCEPTORS */ - + _tao_call.start (ACE_ENV_SINGLE_ARG_PARAMETER); - TAO_INTERCEPTOR_CHECK; + TAO_INTERCEPTOR_CHECK; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag) ACE_ENV_ARG_PARAMETER ); - TAO_INTERCEPTOR_CHECK; + TAO_INTERCEPTOR_CHECK; TAO_OutputCDR &_tao_out = _tao_call.out_stream (); + if (!( - (_tao_out << server) - )) - TAO_INTERCEPTOR_THROW ( - CORBA::MARSHAL () - ); - + (_tao_out << server) + )) + { + TAO_INTERCEPTOR_THROW ( + CORBA::MARSHAL ( + + ) + ); + } + _invoke_status = _tao_call.invoke (_tao_ImplementationRepository_Administration_find_exceptiondata, 1 ACE_ENV_ARG_PARAMETER); - TAO_INTERCEPTOR_CHECK; + TAO_INTERCEPTOR_CHECK; if (_invoke_status == TAO_INVOKE_EXCEPTION) { TAO_INTERCEPTOR_THROW ( - CORBA::UNKNOWN (CORBA::OMGVMCID | 1, CORBA::COMPLETED_YES) - ); - + CORBA::UNKNOWN ( + CORBA::OMGVMCID | 1, CORBA::COMPLETED_YES + ) + ); } else if (_invoke_status == TAO_INVOKE_RESTART) { TAO_INTERCEPTOR ( - _tao_ri.reply_status (_invoke_status); - _tao_vfr.receive_other ( - &_tao_ri - ACE_ENV_ARG_PARAMETER - ); - ACE_TRY_CHECK; - ) - + _tao_ri.reply_status (_invoke_status); + _tao_vfr.receive_other ( + &_tao_ri + ACE_ENV_ARG_PARAMETER + ); + ACE_TRY_CHECK; + ) + continue; } - + TAO_InputCDR &_tao_in = _tao_call.inp_stream (); - if (!( - (_tao_in >> *info.ptr ()) + + if (!((_tao_in >> *info.ptr ()) )) { TAO_INTERCEPTOR_THROW ( - CORBA::MARSHAL (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES) - ); - + CORBA::MARSHAL ( + TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES + ) + ); } - + #if TAO_HAS_INTERCEPTORS == 1 - + _tao_ri.reply_status (_invoke_status); _tao_vfr.receive_reply ( - &_tao_ri - ACE_ENV_ARG_PARAMETER - ); + &_tao_ri + ACE_ENV_ARG_PARAMETER + ); ACE_TRY_CHECK; - - } - ACE_CATCHANY - { - _tao_ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &_tao_ri - ACE_ENV_ARG_PARAMETER - ); - ACE_TRY_CHECK; - - PortableInterceptor::ReplyStatus _tao_status = - _tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER); - ACE_TRY_CHECK; - - if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION - || _tao_status == PortableInterceptor::USER_EXCEPTION) - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK; - - PortableInterceptor::ReplyStatus _tao_status = - _tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER); - ACE_CHECK; - - if (_tao_status == PortableInterceptor::LOCATION_FORWARD - || _tao_status == PortableInterceptor::TRANSPORT_RETRY) - continue; - + } + ACE_CATCHANY + { + _tao_ri.exception (&ACE_ANY_EXCEPTION); + _tao_vfr.receive_exception ( + &_tao_ri + ACE_ENV_ARG_PARAMETER + ); + ACE_TRY_CHECK; + + PortableInterceptor::ReplyStatus _tao_status = + _tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER); + ACE_TRY_CHECK; + + if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION + || _tao_status == PortableInterceptor::USER_EXCEPTION) + { + ACE_RE_THROW; + } + } + +# if defined (ACE_HAS_EXCEPTIONS) \ + && defined (ACE_HAS_BROKEN_UNEXPECTED_EXCEPTIONS) + ACE_CATCHALL + { + CORBA::UNKNOWN ex; + + _tao_ri.exception (&ex); + _tao_vfr.receive_exception ( + &_tao_ri + ACE_ENV_ARG_PARAMETER + ); + ACE_TRY_CHECK; + + PortableInterceptor::ReplyStatus _tao_status = + _tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER); + ACE_TRY_CHECK; + + if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION) + ACE_TRY_THROW (ex); + } +# endif /* ACE_HAS_EXCEPTIONS && ACE_HAS_BROKEN_UNEXPECTED_EXCEPTIONS */ + + ACE_ENDTRY; + ACE_CHECK; + + PortableInterceptor::ReplyStatus _tao_status = + _tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER); + ACE_CHECK; + + if (_tao_status == PortableInterceptor::LOCATION_FORWARD + || _tao_status == PortableInterceptor::TRANSPORT_RETRY) + { + continue; + } + #endif /* TAO_HAS_INTERCEPTORS */ - - break; - } - + + break; + } } +// TAO_IDL - Generated from +// be/be_visitor_operation/remote_proxy_impl_cs.cpp:63 + void ImplementationRepository::_TAO_Administration_Remote_Proxy_Impl::list ( CORBA_Object *_collocated_tao_target_, CORBA::ULong how_many, @@ -5398,20 +6020,17 @@ void ImplementationRepository::_TAO_Administration_Remote_Proxy_Impl::list ( CORBA::SystemException )) { - - - - TAO_Stub *istub = _collocated_tao_target_->_stubobj (); + if (istub == 0) - ACE_THROW (CORBA::INTERNAL ()); - - - ACE_NEW ( + { + ACE_THROW (CORBA::INTERNAL ()); + } + ACE_NEW ( server_list.ptr (), ImplementationRepository::ServerInformationList ); - + TAO_GIOP_Twoway_Invocation _tao_call ( istub, "list", @@ -5419,159 +6038,192 @@ void ImplementationRepository::_TAO_Administration_Remote_Proxy_Impl::list ( 1, istub->orb_core () ); - + int _invoke_status; - + #if (TAO_HAS_INTERCEPTORS == 1) TAO_ClientRequestInterceptor_Adapter _tao_vfr ( istub->orb_core ()->client_request_interceptors (), &_tao_call, _invoke_status ); - + #endif /* TAO_HAS_INTERCEPTORS */ - + for (;;) { _invoke_status = TAO_INVOKE_EXCEPTION; - + #if TAO_HAS_INTERCEPTORS == 1 TAO_ClientRequestInfo_ImplementationRepository_Administration_list _tao_ri ( - &_tao_call, - _collocated_tao_target_, - how_many - ACE_ENV_ARG_PARAMETER - ); - ACE_CHECK; + &_tao_call, + _collocated_tao_target_, + how_many + ACE_ENV_ARG_PARAMETER + ); + ACE_CHECK; + #endif /* TAO_HAS_INTERCEPTORS */ - - + CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; TAO_INTERCEPTOR (_tao_ri.response_expected (1)); - + #if TAO_HAS_INTERCEPTORS == 1 - + ACE_TRY { _tao_vfr.send_request ( - &_tao_ri - ACE_ENV_ARG_PARAMETER - ); + &_tao_ri + ACE_ENV_ARG_PARAMETER + ); ACE_TRY_CHECK; - + if (_invoke_status == TAO_INVOKE_RESTART) { _tao_call.restart_flag (1); continue; } - + #endif /* TAO_HAS_INTERCEPTORS */ - + _tao_call.start (ACE_ENV_SINGLE_ARG_PARAMETER); - TAO_INTERCEPTOR_CHECK; + TAO_INTERCEPTOR_CHECK; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag) ACE_ENV_ARG_PARAMETER ); - TAO_INTERCEPTOR_CHECK; + TAO_INTERCEPTOR_CHECK; TAO_OutputCDR &_tao_out = _tao_call.out_stream (); + if (!( - (_tao_out << how_many) - )) - TAO_INTERCEPTOR_THROW ( - CORBA::MARSHAL () - ); - + (_tao_out << how_many) + )) + { + TAO_INTERCEPTOR_THROW ( + CORBA::MARSHAL ( + + ) + ); + } + _invoke_status = _tao_call.invoke (0, 0 ACE_ENV_ARG_PARAMETER); - TAO_INTERCEPTOR_CHECK; + TAO_INTERCEPTOR_CHECK; if (_invoke_status == TAO_INVOKE_EXCEPTION) { TAO_INTERCEPTOR_THROW ( - CORBA::UNKNOWN (CORBA::OMGVMCID | 1, CORBA::COMPLETED_YES) - ); - + CORBA::UNKNOWN ( + CORBA::OMGVMCID | 1, CORBA::COMPLETED_YES + ) + ); } else if (_invoke_status == TAO_INVOKE_RESTART) { TAO_INTERCEPTOR ( - _tao_ri.reply_status (_invoke_status); - _tao_vfr.receive_other ( - &_tao_ri - ACE_ENV_ARG_PARAMETER - ); - ACE_TRY_CHECK; - ) - + _tao_ri.reply_status (_invoke_status); + _tao_vfr.receive_other ( + &_tao_ri + ACE_ENV_ARG_PARAMETER + ); + ACE_TRY_CHECK; + ) + continue; } - + TAO_InputCDR &_tao_in = _tao_call.inp_stream (); - if (!( - (_tao_in >> *server_list.ptr ()) && + + if (!((_tao_in >> *server_list.ptr ()) && (_tao_in >> server_iterator.ptr ()) )) { TAO_INTERCEPTOR_THROW ( - CORBA::MARSHAL (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES) - ); - + CORBA::MARSHAL ( + TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES + ) + ); } - + #if TAO_HAS_INTERCEPTORS == 1 - + _tao_ri.reply_status (_invoke_status); _tao_vfr.receive_reply ( - &_tao_ri - ACE_ENV_ARG_PARAMETER - ); + &_tao_ri + ACE_ENV_ARG_PARAMETER + ); ACE_TRY_CHECK; - - } - ACE_CATCHANY - { - _tao_ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &_tao_ri - ACE_ENV_ARG_PARAMETER - ); - ACE_TRY_CHECK; - - PortableInterceptor::ReplyStatus _tao_status = - _tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER); - ACE_TRY_CHECK; - - if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION - || _tao_status == PortableInterceptor::USER_EXCEPTION) - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK; - - PortableInterceptor::ReplyStatus _tao_status = - _tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER); - ACE_CHECK; - - if (_tao_status == PortableInterceptor::LOCATION_FORWARD - || _tao_status == PortableInterceptor::TRANSPORT_RETRY) - continue; - + } + ACE_CATCHANY + { + _tao_ri.exception (&ACE_ANY_EXCEPTION); + _tao_vfr.receive_exception ( + &_tao_ri + ACE_ENV_ARG_PARAMETER + ); + ACE_TRY_CHECK; + + PortableInterceptor::ReplyStatus _tao_status = + _tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER); + ACE_TRY_CHECK; + + if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION + || _tao_status == PortableInterceptor::USER_EXCEPTION) + { + ACE_RE_THROW; + } + } + +# if defined (ACE_HAS_EXCEPTIONS) \ + && defined (ACE_HAS_BROKEN_UNEXPECTED_EXCEPTIONS) + ACE_CATCHALL + { + CORBA::UNKNOWN ex; + + _tao_ri.exception (&ex); + _tao_vfr.receive_exception ( + &_tao_ri + ACE_ENV_ARG_PARAMETER + ); + ACE_TRY_CHECK; + + PortableInterceptor::ReplyStatus _tao_status = + _tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER); + ACE_TRY_CHECK; + + if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION) + ACE_TRY_THROW (ex); + } +# endif /* ACE_HAS_EXCEPTIONS && ACE_HAS_BROKEN_UNEXPECTED_EXCEPTIONS */ + + ACE_ENDTRY; + ACE_CHECK; + + PortableInterceptor::ReplyStatus _tao_status = + _tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER); + ACE_CHECK; + + if (_tao_status == PortableInterceptor::LOCATION_FORWARD + || _tao_status == PortableInterceptor::TRANSPORT_RETRY) + { + continue; + } + #endif /* TAO_HAS_INTERCEPTORS */ - - break; - } - + + break; + } } - // -// End Base & Remote Proxy Implemeentation. +// End Base & Remote Proxy Implemeentation. /////////////////////////////////////////////////////////////////////// +// TAO_IDL - Generated from +// be/be_visitor_interface/remote_proxy_broker_cs.cpp:31 /////////////////////////////////////////////////////////////////////// // Remote & Base Proxy Broker Implementation @@ -5607,30 +6259,25 @@ ImplementationRepository::_TAO_Administration_Remote_Proxy_Broker::~_TAO_Adminis ImplementationRepository::_TAO_Administration_Proxy_Impl& ImplementationRepository::_TAO_Administration_Remote_Proxy_Broker::select_proxy ( - ::ImplementationRepository::Administration * - ACE_ENV_ARG_DECL_NOT_USED -) + ::ImplementationRepository::Administration * + ACE_ENV_ARG_DECL_NOT_USED + ) { return this->remote_proxy_impl_; } - // // End Remote & Base Proxy Broker Implementation /////////////////////////////////////////////////////////////////////// - -// TAO_IDL - Generated from -// be/be_visitor_interface/interface_cs.cpp:198 +// TAO_IDL - Generated from +// be/be_visitor_interface/interface_cs.cpp:225 ImplementationRepository::Administration::Administration (int collocated) { this->ImplementationRepository_Administration_setup_collocation (collocated); } -ImplementationRepository::Administration::~Administration (void) -{} - void ImplementationRepository::Administration::ImplementationRepository_Administration_setup_collocation (int collocated) { @@ -5642,44 +6289,67 @@ ImplementationRepository::Administration::ImplementationRepository_Administratio ::ImplementationRepository::_TAO_Administration_Remote_Proxy_Broker::the_TAO_Administration_Remote_Proxy_Broker (); } -void ImplementationRepository::Administration::_tao_any_destructor (void *_tao_void_pointer) +ImplementationRepository::Administration::~Administration (void) +{} + +void +ImplementationRepository::Administration::_tao_any_destructor (void *_tao_void_pointer) { - Administration *tmp = ACE_static_cast (Administration*, _tao_void_pointer); + Administration *tmp = ACE_static_cast (Administration *, _tao_void_pointer); CORBA::release (tmp); } -ImplementationRepository::Administration_ptr ImplementationRepository::Administration::_narrow ( +ImplementationRepository::Administration_ptr +ImplementationRepository::Administration::_narrow ( CORBA::Object_ptr obj ACE_ENV_ARG_DECL ) { if (CORBA::is_nil (obj)) - return Administration::_nil (); + { + return Administration::_nil (); + } + if (! obj->_is_local ()) { - CORBA::Boolean is_a = obj->_is_a ("IDL:ImplementationRepository/Administration:1.0" ACE_ENV_ARG_PARAMETER); + CORBA::Boolean is_a = + obj->_is_a ( + "IDL:ImplementationRepository/Administration:1.0" + ACE_ENV_ARG_PARAMETER + ); ACE_CHECK_RETURN (Administration::_nil ()); + if (is_a == 0) - return Administration::_nil (); + { + return Administration::_nil (); + } } + return Administration::_unchecked_narrow (obj ACE_ENV_ARG_PARAMETER); } -ImplementationRepository::Administration_ptr +ImplementationRepository::Administration_ptr ImplementationRepository::Administration::_unchecked_narrow ( CORBA::Object_ptr obj ACE_ENV_ARG_DECL_NOT_USED ) { if (CORBA::is_nil (obj)) - return Administration::_nil (); + { + return Administration::_nil (); + } + if (! obj->_is_local ()) { TAO_Stub* stub = obj->_stubobj (); - if (stub) - stub->_incr_refcnt (); + + if (stub != 0) + { + stub->_incr_refcnt (); + } + Administration_ptr default_proxy = Administration::_nil (); - + if ( !CORBA::is_nil (stub->servant_orb_var ().ptr ()) && stub->servant_orb_var ()->orb_core ()->optimize_collocation_objects () && @@ -5697,7 +6367,7 @@ ImplementationRepository::Administration::_unchecked_narrow ( Administration::_nil () ); } - + if (CORBA::is_nil (default_proxy)) { ACE_NEW_RETURN ( @@ -5710,56 +6380,89 @@ ImplementationRepository::Administration::_unchecked_narrow ( Administration::_nil () ); } - + return default_proxy; } - else + else return - ACE_reinterpret_cast - ( + ACE_reinterpret_cast ( Administration_ptr, - obj->_tao_QueryInterface - ( - ACE_reinterpret_cast - ( - ptr_arith_t, - &Administration::_tao_class_id - ) - ) + obj->_tao_QueryInterface ( + ACE_reinterpret_cast ( + ptr_arith_t, + &Administration::_tao_class_id + ) + ) ); } ImplementationRepository::Administration_ptr ImplementationRepository::Administration::_duplicate (Administration_ptr obj) { - if (!CORBA::is_nil (obj)) - obj->_add_ref (); + if (! CORBA::is_nil (obj)) + { + obj->_add_ref (); + } + return obj; } -CORBA::Boolean ImplementationRepository::Administration::_is_a (const CORBA::Char *value ACE_ENV_ARG_DECL) +CORBA::Boolean +ImplementationRepository::Administration::_is_a ( + const char *value + ACE_ENV_ARG_DECL + ) { if ( - (!ACE_OS::strcmp ((char *)value, "IDL:ImplementationRepository/Administration:1.0")) || - (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/Object:1.0"))) - return 1; // success using local knowledge + !ACE_OS::strcmp ( + (char *)value, + "IDL:ImplementationRepository/Administration:1.0" + ) || + !ACE_OS::strcmp ( + (char *)value, + "IDL:omg.org/CORBA/Object:1.0" + ) + ) + { + return 1; // success using local knowledge + } else - return this->CORBA_Object::_is_a (value ACE_ENV_ARG_PARAMETER); + { + return this->CORBA_Object::_is_a ( + value + ACE_ENV_ARG_PARAMETER + ); + } } void *ImplementationRepository::Administration::_tao_QueryInterface (ptr_arith_t type) { void *retv = 0; - if (type == ACE_reinterpret_cast - (ptr_arith_t, - &ACE_NESTED_CLASS (::ImplementationRepository, Administration)::_tao_class_id)) - retv = ACE_reinterpret_cast (void*, this); - else if (type == ACE_reinterpret_cast (ptr_arith_t, &CORBA::Object::_tao_class_id)) - retv = ACE_reinterpret_cast (void *, - ACE_static_cast (CORBA::Object_ptr, this)); - - if (retv) - this->_add_ref (); + + if (type == ACE_reinterpret_cast ( + ptr_arith_t, + &ACE_NESTED_CLASS (::ImplementationRepository, Administration)::_tao_class_id) + ) + { + retv = ACE_reinterpret_cast (void*, this); + } + else if (type == ACE_reinterpret_cast ( + ptr_arith_t, + &CORBA::Object::_tao_class_id) + ) + { + retv = + ACE_reinterpret_cast ( + void *, + ACE_static_cast (CORBA::Object_ptr, this) + ); + } + + if (retv != 0) + { + this->_add_ref (); + } + return retv; } @@ -5768,6 +6471,9 @@ const char* ImplementationRepository::Administration::_interface_repository_id ( return "IDL:ImplementationRepository/Administration:1.0"; } +// TAO_IDL - Generated from +// be/be_visitor_operation/operation_cs.cpp:80 + void ImplementationRepository::Administration::activate_server ( const char * server ACE_ENV_ARG_DECL @@ -5778,16 +6484,20 @@ void ImplementationRepository::Administration::activate_server ( , ImplementationRepository::CannotActivate )) { - _TAO_Administration_Proxy_Impl &proxy = + _TAO_Administration_Proxy_Impl &proxy = this->the_TAO_Administration_Proxy_Broker_->select_proxy (this ACE_ENV_ARG_PARAMETER); ACE_CHECK; - + proxy.activate_server ( this, - server ACE_ENV_ARG_PARAMETER + server + ACE_ENV_ARG_PARAMETER ); } +// TAO_IDL - Generated from +// be/be_visitor_operation/operation_cs.cpp:80 + char * ImplementationRepository::Administration::activate_server_with_startup ( const char * server, CORBA::Long check_startup @@ -5799,17 +6509,21 @@ char * ImplementationRepository::Administration::activate_server_with_startup ( , ImplementationRepository::CannotActivate )) { - _TAO_Administration_Proxy_Impl &proxy = + _TAO_Administration_Proxy_Impl &proxy = this->the_TAO_Administration_Proxy_Broker_->select_proxy (this ACE_ENV_ARG_PARAMETER); ACE_CHECK_RETURN (0); - + return proxy.activate_server_with_startup ( this, server, - check_startup ACE_ENV_ARG_PARAMETER + check_startup + ACE_ENV_ARG_PARAMETER ); } +// TAO_IDL - Generated from +// be/be_visitor_operation/operation_cs.cpp:80 + void ImplementationRepository::Administration::register_server ( const char * server, const ImplementationRepository::StartupOptions & options @@ -5820,17 +6534,21 @@ void ImplementationRepository::Administration::register_server ( , ImplementationRepository::AlreadyRegistered )) { - _TAO_Administration_Proxy_Impl &proxy = + _TAO_Administration_Proxy_Impl &proxy = this->the_TAO_Administration_Proxy_Broker_->select_proxy (this ACE_ENV_ARG_PARAMETER); ACE_CHECK; - + proxy.register_server ( this, server, - options ACE_ENV_ARG_PARAMETER + options + ACE_ENV_ARG_PARAMETER ); } +// TAO_IDL - Generated from +// be/be_visitor_operation/operation_cs.cpp:80 + void ImplementationRepository::Administration::reregister_server ( const char * server, const ImplementationRepository::StartupOptions & options @@ -5840,17 +6558,21 @@ void ImplementationRepository::Administration::reregister_server ( CORBA::SystemException )) { - _TAO_Administration_Proxy_Impl &proxy = + _TAO_Administration_Proxy_Impl &proxy = this->the_TAO_Administration_Proxy_Broker_->select_proxy (this ACE_ENV_ARG_PARAMETER); ACE_CHECK; - + proxy.reregister_server ( this, server, - options ACE_ENV_ARG_PARAMETER + options + ACE_ENV_ARG_PARAMETER ); } +// TAO_IDL - Generated from +// be/be_visitor_operation/operation_cs.cpp:80 + void ImplementationRepository::Administration::remove_server ( const char * server ACE_ENV_ARG_DECL @@ -5860,16 +6582,20 @@ void ImplementationRepository::Administration::remove_server ( , ImplementationRepository::NotFound )) { - _TAO_Administration_Proxy_Impl &proxy = + _TAO_Administration_Proxy_Impl &proxy = this->the_TAO_Administration_Proxy_Broker_->select_proxy (this ACE_ENV_ARG_PARAMETER); ACE_CHECK; - + proxy.remove_server ( this, - server ACE_ENV_ARG_PARAMETER + server + ACE_ENV_ARG_PARAMETER ); } +// TAO_IDL - Generated from +// be/be_visitor_operation/operation_cs.cpp:80 + void ImplementationRepository::Administration::shutdown_server ( const char * server ACE_ENV_ARG_DECL @@ -5879,16 +6605,20 @@ void ImplementationRepository::Administration::shutdown_server ( , ImplementationRepository::NotFound )) { - _TAO_Administration_Proxy_Impl &proxy = + _TAO_Administration_Proxy_Impl &proxy = this->the_TAO_Administration_Proxy_Broker_->select_proxy (this ACE_ENV_ARG_PARAMETER); ACE_CHECK; - + proxy.shutdown_server ( this, - server ACE_ENV_ARG_PARAMETER + server + ACE_ENV_ARG_PARAMETER ); } +// TAO_IDL - Generated from +// be/be_visitor_operation/operation_cs.cpp:80 + char * ImplementationRepository::Administration::server_is_running ( const char * server, const char * addr, @@ -5900,18 +6630,22 @@ char * ImplementationRepository::Administration::server_is_running ( , ImplementationRepository::NotFound )) { - _TAO_Administration_Proxy_Impl &proxy = + _TAO_Administration_Proxy_Impl &proxy = this->the_TAO_Administration_Proxy_Broker_->select_proxy (this ACE_ENV_ARG_PARAMETER); ACE_CHECK_RETURN (0); - + return proxy.server_is_running ( this, server, addr, - server_object ACE_ENV_ARG_PARAMETER + server_object + ACE_ENV_ARG_PARAMETER ); } +// TAO_IDL - Generated from +// be/be_visitor_operation/operation_cs.cpp:80 + void ImplementationRepository::Administration::server_is_shutting_down ( const char * server ACE_ENV_ARG_DECL @@ -5921,16 +6655,20 @@ void ImplementationRepository::Administration::server_is_shutting_down ( , ImplementationRepository::NotFound )) { - _TAO_Administration_Proxy_Impl &proxy = + _TAO_Administration_Proxy_Impl &proxy = this->the_TAO_Administration_Proxy_Broker_->select_proxy (this ACE_ENV_ARG_PARAMETER); ACE_CHECK; - + proxy.server_is_shutting_down ( this, - server ACE_ENV_ARG_PARAMETER + server + ACE_ENV_ARG_PARAMETER ); } +// TAO_IDL - Generated from +// be/be_visitor_operation/operation_cs.cpp:80 + void ImplementationRepository::Administration::find ( const char * server, ImplementationRepository::ServerInformation_out info @@ -5941,17 +6679,21 @@ void ImplementationRepository::Administration::find ( , ImplementationRepository::NotFound )) { - _TAO_Administration_Proxy_Impl &proxy = + _TAO_Administration_Proxy_Impl &proxy = this->the_TAO_Administration_Proxy_Broker_->select_proxy (this ACE_ENV_ARG_PARAMETER); ACE_CHECK; - + proxy.find ( this, server, - info ACE_ENV_ARG_PARAMETER + info + ACE_ENV_ARG_PARAMETER ); } +// TAO_IDL - Generated from +// be/be_visitor_operation/operation_cs.cpp:80 + void ImplementationRepository::Administration::list ( CORBA::ULong how_many, ImplementationRepository::ServerInformationList_out server_list, @@ -5962,38 +6704,42 @@ void ImplementationRepository::Administration::list ( CORBA::SystemException )) { - _TAO_Administration_Proxy_Impl &proxy = + _TAO_Administration_Proxy_Impl &proxy = this->the_TAO_Administration_Proxy_Broker_->select_proxy (this ACE_ENV_ARG_PARAMETER); ACE_CHECK; - + proxy.list ( this, how_many, server_list, - server_iterator ACE_ENV_ARG_PARAMETER + server_iterator + ACE_ENV_ARG_PARAMETER ); } +// TAO_IDL - Generated from +// be/be_visitor_typecode/typecode_defn.cpp:284 + static const CORBA::Long _oc_ImplementationRepository_Administration[] = { - TAO_ENCAP_BYTE_ORDER, // byte order + TAO_ENCAP_BYTE_ORDER, // byte order 48, - ACE_NTOHL (0x49444c3a), - ACE_NTOHL (0x496d706c), - ACE_NTOHL (0x656d656e), - ACE_NTOHL (0x74617469), - ACE_NTOHL (0x6f6e5265), - ACE_NTOHL (0x706f7369), - ACE_NTOHL (0x746f7279), - ACE_NTOHL (0x2f41646d), - ACE_NTOHL (0x696e6973), - ACE_NTOHL (0x74726174), - ACE_NTOHL (0x696f6e3a), + ACE_NTOHL (0x49444c3a), + ACE_NTOHL (0x496d706c), + ACE_NTOHL (0x656d656e), + ACE_NTOHL (0x74617469), + ACE_NTOHL (0x6f6e5265), + ACE_NTOHL (0x706f7369), + ACE_NTOHL (0x746f7279), + ACE_NTOHL (0x2f41646d), + ACE_NTOHL (0x696e6973), + ACE_NTOHL (0x74726174), + ACE_NTOHL (0x696f6e3a), ACE_NTOHL (0x312e3000), // repository ID = IDL:ImplementationRepository/Administration:1.0 15, - ACE_NTOHL (0x41646d69), - ACE_NTOHL (0x6e697374), - ACE_NTOHL (0x72617469), + ACE_NTOHL (0x41646d69), + ACE_NTOHL (0x6e697374), + ACE_NTOHL (0x72617469), ACE_NTOHL (0x6f6e0000), // name = Administration }; @@ -6007,12 +6753,15 @@ static CORBA::TypeCode _tc_TAO_tc_ImplementationRepository_Administration ( TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr) TAO_NAMESPACE_BEGIN (ImplementationRepository) -TAO_NAMESPACE_DEFINE (::CORBA::TypeCode_ptr, _tc_Administration, &_tc_TAO_tc_ImplementationRepository_Administration) +TAO_NAMESPACE_DEFINE ( + ::CORBA::TypeCode_ptr, + _tc_Administration, + &_tc_TAO_tc_ImplementationRepository_Administration + ) TAO_NAMESPACE_END - // TAO_IDL - Generated from -// be/be_visitor_interface/interface_cs.cpp:67 +// be/be_visitor_interface/interface_cs.cpp:61 int ImplementationRepository::ServerInformationIterator::_tao_class_id = 0; @@ -6059,13 +6808,14 @@ tao_ImplementationRepository_ServerInformationIterator_upcast ( return *tmp; } +// TAO_IDL - Generated from +// be/be_interface.cpp:721 + // ************************************************************* // ImplementationRepository::ServerInformationIterator_var -// TAO_IDL - Generated from -// be/be_interface.cpp:654 // ************************************************************* -ImplementationRepository::ServerInformationIterator_var::ServerInformationIterator_var (void) // default constructor +ImplementationRepository::ServerInformationIterator_var::ServerInformationIterator_var (void) : ptr_ (ServerInformationIterator::_nil ()) {} @@ -6075,12 +6825,12 @@ ImplementationRepository::ServerInformationIterator_var::ptr (void) const return this->ptr_; } -ImplementationRepository::ServerInformationIterator_var::ServerInformationIterator_var (const ::ImplementationRepository::ServerInformationIterator_var &p) // copy constructor +ImplementationRepository::ServerInformationIterator_var::ServerInformationIterator_var (const ::ImplementationRepository::ServerInformationIterator_var &p) : TAO_Base_var (), ptr_ (ServerInformationIterator::_duplicate (p.ptr ())) {} -ImplementationRepository::ServerInformationIterator_var::~ServerInformationIterator_var (void) // destructor +ImplementationRepository::ServerInformationIterator_var::~ServerInformationIterator_var (void) { CORBA::release (this->ptr_); } @@ -6109,7 +6859,7 @@ ImplementationRepository::ServerInformationIterator_var::operator const ::Implem return this->ptr_; } -ImplementationRepository::ServerInformationIterator_var::operator ::ImplementationRepository::ServerInformationIterator_ptr &() // cast +ImplementationRepository::ServerInformationIterator_var::operator ::ImplementationRepository::ServerInformationIterator_ptr &() // cast { return this->ptr_; } @@ -6184,10 +6934,11 @@ ImplementationRepository::ServerInformationIterator_var::tao_upcast (void *src) return *tmp; } +// TAO_IDL - Generated from +// be/be_interface.cpp:1030 + // ************************************************************* // ImplementationRepository::ServerInformationIterator_out -// TAO_IDL - Generated from -// be/be_interface.cpp:932 // ************************************************************* ImplementationRepository::ServerInformationIterator_out::ServerInformationIterator_out (ServerInformationIterator_ptr &p) @@ -6196,14 +6947,14 @@ ImplementationRepository::ServerInformationIterator_out::ServerInformationIterat this->ptr_ = ::ImplementationRepository::ServerInformationIterator::_nil (); } -ImplementationRepository::ServerInformationIterator_out::ServerInformationIterator_out (ServerInformationIterator_var &p) // constructor from _var +ImplementationRepository::ServerInformationIterator_out::ServerInformationIterator_out (ServerInformationIterator_var &p) : ptr_ (p.out ()) { CORBA::release (this->ptr_); this->ptr_ = ::ImplementationRepository::ServerInformationIterator::_nil (); } -ImplementationRepository::ServerInformationIterator_out::ServerInformationIterator_out (const ::ImplementationRepository::ServerInformationIterator_out &p) // copy constructor +ImplementationRepository::ServerInformationIterator_out::ServerInformationIterator_out (const ::ImplementationRepository::ServerInformationIterator_out &p) : ptr_ (ACE_const_cast (ServerInformationIterator_out &, p).ptr_) {} @@ -6234,7 +6985,7 @@ ImplementationRepository::ServerInformationIterator_out::operator ::Implementati } ::ImplementationRepository::ServerInformationIterator_ptr & -ImplementationRepository::ServerInformationIterator_out::ptr (void) // ptr +ImplementationRepository::ServerInformationIterator_out::ptr (void) { return this->ptr_; } @@ -6245,43 +6996,53 @@ ImplementationRepository::ServerInformationIterator_out::operator-> (void) return this->ptr_; } +// TAO_IDL - Generated from +// be/be_visitor_interface/interceptors_cs.cpp:56 #if (TAO_HAS_INTERCEPTORS == 1) + +// TAO_IDL - Generated from +// be/be_visitor_operation/interceptors_cs.cpp:76 + class TAO_ClientRequestInfo_ImplementationRepository_ServerInformationIterator_next_n : public TAO_ClientRequestInfo_i { public: TAO_ClientRequestInfo_ImplementationRepository_ServerInformationIterator_next_n ( TAO_GIOP_Invocation *_tao_invocation, CORBA::Object_ptr _tao_target, - const CORBA::ULong & how_many ACE_ENV_ARG_DECL_WITH_DEFAULTS - ); - - virtual Dynamic::ParameterList * arguments (ACE_ENV_SINGLE_ARG_DECL) - ACE_THROW_SPEC ((CORBA::SystemException)); - - virtual Dynamic::ExceptionList * exceptions (ACE_ENV_SINGLE_ARG_DECL) - ACE_THROW_SPEC ((CORBA::SystemException)); - - virtual CORBA::Any * result (ACE_ENV_SINGLE_ARG_DECL) - ACE_THROW_SPEC ((CORBA::SystemException)); - - void result (CORBA::Boolean result); - -private: - TAO_ClientRequestInfo_ImplementationRepository_ServerInformationIterator_next_n (const TAO_ClientRequestInfo_ImplementationRepository_ServerInformationIterator_next_n &); - void operator= (const TAO_ClientRequestInfo_ImplementationRepository_ServerInformationIterator_next_n &); - - const CORBA::ULong & how_many_; - CORBA::Boolean _result; -}; - -TAO_ClientRequestInfo_ImplementationRepository_ServerInformationIterator_next_n::TAO_ClientRequestInfo_ImplementationRepository_ServerInformationIterator_next_n ( - TAO_GIOP_Invocation *_tao_invocation, - CORBA::Object_ptr _tao_target, - const CORBA::ULong & how_many ACE_ENV_ARG_DECL_NOT_USED - ) - : TAO_ClientRequestInfo_i (_tao_invocation, _tao_target), - how_many_ (how_many) + const CORBA::ULong & how_many + ACE_ENV_ARG_DECL_WITH_DEFAULTS); + + virtual Dynamic::ParameterList * arguments (ACE_ENV_SINGLE_ARG_DECL) + ACE_THROW_SPEC ((CORBA::SystemException)); + + virtual Dynamic::ExceptionList * exceptions (ACE_ENV_SINGLE_ARG_DECL) + ACE_THROW_SPEC ((CORBA::SystemException)); + + virtual CORBA::Any * result (ACE_ENV_SINGLE_ARG_DECL) + ACE_THROW_SPEC ((CORBA::SystemException)); + + void result (::CORBA::Boolean result); + + private: + TAO_ClientRequestInfo_ImplementationRepository_ServerInformationIterator_next_n (const TAO_ClientRequestInfo_ImplementationRepository_ServerInformationIterator_next_n &); + void operator= (const TAO_ClientRequestInfo_ImplementationRepository_ServerInformationIterator_next_n &); + const CORBA::ULong & how_many_; + + ::CORBA::Boolean _result; + }; + + // TAO_IDL - Generated from + // be/be_visitor_operation/interceptors_cs.cpp:378 + + TAO_ClientRequestInfo_ImplementationRepository_ServerInformationIterator_next_n::TAO_ClientRequestInfo_ImplementationRepository_ServerInformationIterator_next_n ( + TAO_GIOP_Invocation *_tao_invocation, + CORBA::Object_ptr _tao_target, + const CORBA::ULong & how_many + ACE_ENV_ARG_DECL_NOT_USED + ) + : TAO_ClientRequestInfo_i (_tao_invocation, _tao_target), + how_many_ (how_many) {} Dynamic::ParameterList * @@ -6292,16 +7053,15 @@ TAO_ClientRequestInfo_ImplementationRepository_ServerInformationIterator_next_n: Dynamic::ParameterList *parameter_list = TAO_RequestInfo_Util::make_parameter_list (ACE_ENV_SINGLE_ARG_PARAMETER); ACE_CHECK_RETURN (0); - + Dynamic::ParameterList_var safe_parameter_list = parameter_list; - + parameter_list->length (1); CORBA::ULong len = 0; - - (*parameter_list)[len].argument <<= how_many_; + (*parameter_list)[len].argument <<= how_many_; (*parameter_list)[len].mode = CORBA::PARAM_IN; len++; - + return safe_parameter_list._retn (); } @@ -6313,11 +7073,11 @@ TAO_ClientRequestInfo_ImplementationRepository_ServerInformationIterator_next_n: Dynamic::ExceptionList *exception_list = TAO_RequestInfo_Util::make_exception_list (ACE_ENV_SINGLE_ARG_PARAMETER); ACE_CHECK_RETURN (0); - + return exception_list; } -CORBA::Any * +CORBA::Any * TAO_ClientRequestInfo_ImplementationRepository_ServerInformationIterator_next_n::result (ACE_ENV_SINGLE_ARG_DECL) ACE_THROW_SPEC ((CORBA::SystemException)) { @@ -6326,49 +7086,54 @@ TAO_ClientRequestInfo_ImplementationRepository_ServerInformationIterator_next_n: CORBA::Any *result_any = TAO_RequestInfo_Util::make_any (tk_void_any ACE_ENV_ARG_PARAMETER); ACE_CHECK_RETURN (0); - + CORBA::Any_var safe_result_any = result_any; - + (*result_any) <<= CORBA::Any::from_boolean (this->_result); return safe_result_any._retn (); } -void +void TAO_ClientRequestInfo_ImplementationRepository_ServerInformationIterator_next_n::result (CORBA::Boolean result) { - // update the result + // Update the result. this->_result = result; } +// TAO_IDL - Generated from +// be/be_visitor_operation/interceptors_cs.cpp:76 + class TAO_ClientRequestInfo_ImplementationRepository_ServerInformationIterator_destroy : public TAO_ClientRequestInfo_i { public: TAO_ClientRequestInfo_ImplementationRepository_ServerInformationIterator_destroy ( TAO_GIOP_Invocation *_tao_invocation, - CORBA::Object_ptr _tao_target ACE_ENV_ARG_DECL_WITH_DEFAULTS - ); - - virtual Dynamic::ParameterList * arguments (ACE_ENV_SINGLE_ARG_DECL) - ACE_THROW_SPEC ((CORBA::SystemException)); - - virtual Dynamic::ExceptionList * exceptions (ACE_ENV_SINGLE_ARG_DECL) - ACE_THROW_SPEC ((CORBA::SystemException)); - - virtual CORBA::Any * result (ACE_ENV_SINGLE_ARG_DECL) - ACE_THROW_SPEC ((CORBA::SystemException)); - -private: - TAO_ClientRequestInfo_ImplementationRepository_ServerInformationIterator_destroy (const TAO_ClientRequestInfo_ImplementationRepository_ServerInformationIterator_destroy &); - void operator= (const TAO_ClientRequestInfo_ImplementationRepository_ServerInformationIterator_destroy &); - - -}; - -TAO_ClientRequestInfo_ImplementationRepository_ServerInformationIterator_destroy::TAO_ClientRequestInfo_ImplementationRepository_ServerInformationIterator_destroy ( - TAO_GIOP_Invocation *_tao_invocation, - CORBA::Object_ptr _tao_target ACE_ENV_ARG_DECL_NOT_USED - ) - : TAO_ClientRequestInfo_i (_tao_invocation, _tao_target) + CORBA::Object_ptr _tao_target + ACE_ENV_ARG_DECL_WITH_DEFAULTS); + + virtual Dynamic::ParameterList * arguments (ACE_ENV_SINGLE_ARG_DECL) + ACE_THROW_SPEC ((CORBA::SystemException)); + + virtual Dynamic::ExceptionList * exceptions (ACE_ENV_SINGLE_ARG_DECL) + ACE_THROW_SPEC ((CORBA::SystemException)); + + virtual CORBA::Any * result (ACE_ENV_SINGLE_ARG_DECL) + ACE_THROW_SPEC ((CORBA::SystemException)); + + private: + TAO_ClientRequestInfo_ImplementationRepository_ServerInformationIterator_destroy (const TAO_ClientRequestInfo_ImplementationRepository_ServerInformationIterator_destroy &); + void operator= (const TAO_ClientRequestInfo_ImplementationRepository_ServerInformationIterator_destroy &); + }; + + // TAO_IDL - Generated from + // be/be_visitor_operation/interceptors_cs.cpp:378 + + TAO_ClientRequestInfo_ImplementationRepository_ServerInformationIterator_destroy::TAO_ClientRequestInfo_ImplementationRepository_ServerInformationIterator_destroy ( + TAO_GIOP_Invocation *_tao_invocation, + CORBA::Object_ptr _tao_target + ACE_ENV_ARG_DECL_NOT_USED + ) + : TAO_ClientRequestInfo_i (_tao_invocation, _tao_target) {} Dynamic::ParameterList * @@ -6379,9 +7144,8 @@ TAO_ClientRequestInfo_ImplementationRepository_ServerInformationIterator_destroy Dynamic::ParameterList *parameter_list = TAO_RequestInfo_Util::make_parameter_list (ACE_ENV_SINGLE_ARG_PARAMETER); ACE_CHECK_RETURN (0); - + return parameter_list; - } Dynamic::ExceptionList * @@ -6392,11 +7156,11 @@ TAO_ClientRequestInfo_ImplementationRepository_ServerInformationIterator_destroy Dynamic::ExceptionList *exception_list = TAO_RequestInfo_Util::make_exception_list (ACE_ENV_SINGLE_ARG_PARAMETER); ACE_CHECK_RETURN (0); - + return exception_list; } -CORBA::Any * +CORBA::Any * TAO_ClientRequestInfo_ImplementationRepository_ServerInformationIterator_destroy::result (ACE_ENV_SINGLE_ARG_DECL) ACE_THROW_SPEC ((CORBA::SystemException)) { @@ -6405,14 +7169,19 @@ TAO_ClientRequestInfo_ImplementationRepository_ServerInformationIterator_destroy CORBA::Any *result_any = TAO_RequestInfo_Util::make_any (tk_void_any ACE_ENV_ARG_PARAMETER); ACE_CHECK_RETURN (0); - + return result_any; } + + #endif /* TAO_HAS_INTERCEPTORS */ +// TAO_IDL - Generated from +// be/be_visitor_interface/remote_proxy_impl_cs.cpp:31 + /////////////////////////////////////////////////////////////////////// -// Base & Remote Proxy Implementation. +// Base & Remote Proxy Implementation. // ImplementationRepository::_TAO_ServerInformationIterator_Proxy_Impl::_TAO_ServerInformationIterator_Proxy_Impl (void) @@ -6423,6 +7192,9 @@ ImplementationRepository::_TAO_ServerInformationIterator_Remote_Proxy_Impl::_TAO // Remote Implementation of the IDL interface methods +// TAO_IDL - Generated from +// 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::ULong how_many, @@ -6433,21 +7205,20 @@ CORBA::Boolean ImplementationRepository::_TAO_ServerInformationIterator_Remote_P CORBA::SystemException )) { - CORBA::Boolean _tao_retval = 0; - - TAO_Stub *istub = _collocated_tao_target_->_stubobj (); + if (istub == 0) - ACE_THROW_RETURN (CORBA::INTERNAL (),_tao_retval); - - + { + ACE_THROW_RETURN (CORBA::INTERNAL (),_tao_retval); + } + ACE_NEW_RETURN ( server_list.ptr (), ImplementationRepository::ServerInformationList, 0 ); - + TAO_GIOP_Twoway_Invocation _tao_call ( istub, "next_n", @@ -6455,158 +7226,197 @@ CORBA::Boolean ImplementationRepository::_TAO_ServerInformationIterator_Remote_P 1, istub->orb_core () ); - + int _invoke_status; - + #if (TAO_HAS_INTERCEPTORS == 1) TAO_ClientRequestInterceptor_Adapter _tao_vfr ( istub->orb_core ()->client_request_interceptors (), &_tao_call, _invoke_status ); - + #endif /* TAO_HAS_INTERCEPTORS */ - + for (;;) { _invoke_status = TAO_INVOKE_EXCEPTION; - + #if TAO_HAS_INTERCEPTORS == 1 TAO_ClientRequestInfo_ImplementationRepository_ServerInformationIterator_next_n _tao_ri ( - &_tao_call, - _collocated_tao_target_, - how_many ACE_ENV_ARG_PARAMETER - ); - ACE_CHECK_RETURN (_tao_retval); - + &_tao_call, + _collocated_tao_target_, + how_many + ACE_ENV_ARG_PARAMETER + ); + ACE_CHECK_RETURN (_tao_retval); + #endif /* TAO_HAS_INTERCEPTORS */ - - + CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; TAO_INTERCEPTOR (_tao_ri.response_expected (1)); - + #if TAO_HAS_INTERCEPTORS == 1 - + ACE_TRY { _tao_vfr.send_request ( - &_tao_ri - ACE_ENV_ARG_PARAMETER - ); + &_tao_ri + ACE_ENV_ARG_PARAMETER + ); ACE_TRY_CHECK; - + if (_invoke_status == TAO_INVOKE_RESTART) { _tao_call.restart_flag (1); continue; } - + #endif /* TAO_HAS_INTERCEPTORS */ - + _tao_call.start (ACE_ENV_SINGLE_ARG_PARAMETER); - TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval); + TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval); _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag) ACE_ENV_ARG_PARAMETER ); - TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval); + TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval); TAO_OutputCDR &_tao_out = _tao_call.out_stream (); + if (!( - (_tao_out << how_many) - )) - TAO_INTERCEPTOR_THROW_RETURN ( - CORBA::MARSHAL (), - _tao_retval - ); - + (_tao_out << how_many) + )) + { + TAO_INTERCEPTOR_THROW_RETURN ( + CORBA::MARSHAL ( + + ), + _tao_retval + ); + } + _invoke_status = _tao_call.invoke (0, 0 ACE_ENV_ARG_PARAMETER); - TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval); + TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval); if (_invoke_status == TAO_INVOKE_EXCEPTION) { TAO_INTERCEPTOR_THROW_RETURN ( - CORBA::UNKNOWN (CORBA::OMGVMCID | 1, CORBA::COMPLETED_YES), - _tao_retval - ); - + CORBA::UNKNOWN ( + CORBA::OMGVMCID | 1, CORBA::COMPLETED_YES + ), + _tao_retval + ); } else if (_invoke_status == TAO_INVOKE_RESTART) { TAO_INTERCEPTOR ( - _tao_ri.reply_status (_invoke_status); - _tao_vfr.receive_other ( - &_tao_ri - ACE_ENV_ARG_PARAMETER - ); - ACE_TRY_CHECK; - ) - + _tao_ri.reply_status (_invoke_status); + _tao_vfr.receive_other ( + &_tao_ri + ACE_ENV_ARG_PARAMETER + ); + ACE_TRY_CHECK; + ) + continue; } - + TAO_InputCDR &_tao_in = _tao_call.inp_stream (); + if (!( - (_tao_in >> CORBA::Any::to_boolean (_tao_retval)) && - (_tao_in >> *server_list.ptr ()) + (_tao_in >> CORBA::Any::to_boolean (_tao_retval)) && + (_tao_in >> *server_list.ptr ()) )) { TAO_INTERCEPTOR_THROW_RETURN ( - CORBA::MARSHAL (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), - _tao_retval - ); - + CORBA::MARSHAL ( + TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES + ), + _tao_retval + ); } - + #if TAO_HAS_INTERCEPTORS == 1 - CORBA::Boolean _tao_retval_info = _tao_retval; + CORBA::Boolean _tao_retval_info = + _tao_retval; _tao_ri.result (_tao_retval_info); - + _tao_ri.reply_status (_invoke_status); _tao_vfr.receive_reply ( - &_tao_ri - ACE_ENV_ARG_PARAMETER - ); + &_tao_ri + ACE_ENV_ARG_PARAMETER + ); ACE_TRY_CHECK; - - } - ACE_CATCHANY - { - _tao_ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &_tao_ri - ACE_ENV_ARG_PARAMETER - ); - ACE_TRY_CHECK; - - PortableInterceptor::ReplyStatus _tao_status = - _tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER); - ACE_TRY_CHECK; - - if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION - || _tao_status == PortableInterceptor::USER_EXCEPTION) - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (_tao_retval); - - PortableInterceptor::ReplyStatus _tao_status = - _tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER); - ACE_CHECK_RETURN (_tao_retval); - - if (_tao_status == PortableInterceptor::LOCATION_FORWARD - || _tao_status == PortableInterceptor::TRANSPORT_RETRY) - continue; - + } + ACE_CATCHANY + { + _tao_ri.exception (&ACE_ANY_EXCEPTION); + _tao_vfr.receive_exception ( + &_tao_ri + ACE_ENV_ARG_PARAMETER + ); + ACE_TRY_CHECK; + + PortableInterceptor::ReplyStatus _tao_status = + _tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER); + ACE_TRY_CHECK; + + if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION + || _tao_status == PortableInterceptor::USER_EXCEPTION) + { + ACE_RE_THROW; + } + } + +# if defined (ACE_HAS_EXCEPTIONS) \ + && defined (ACE_HAS_BROKEN_UNEXPECTED_EXCEPTIONS) + ACE_CATCHALL + { + CORBA::UNKNOWN ex; + + _tao_ri.exception (&ex); + _tao_vfr.receive_exception ( + &_tao_ri + ACE_ENV_ARG_PARAMETER + ); + ACE_TRY_CHECK; + + PortableInterceptor::ReplyStatus _tao_status = + _tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER); + ACE_TRY_CHECK; + + if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION) + ACE_TRY_THROW (ex); + } +# endif /* ACE_HAS_EXCEPTIONS && ACE_HAS_BROKEN_UNEXPECTED_EXCEPTIONS */ + + ACE_ENDTRY; + ACE_CHECK_RETURN (_tao_retval); + + PortableInterceptor::ReplyStatus _tao_status = + _tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER); + ACE_CHECK_RETURN (_tao_retval); + + if (_tao_status == PortableInterceptor::LOCATION_FORWARD + || _tao_status == PortableInterceptor::TRANSPORT_RETRY) + { + continue; + } + #endif /* TAO_HAS_INTERCEPTORS */ - - break; - } -return _tao_retval; + + break; + } + + return _tao_retval; } +// TAO_IDL - Generated from +// be/be_visitor_operation/remote_proxy_impl_cs.cpp:63 + void ImplementationRepository::_TAO_ServerInformationIterator_Remote_Proxy_Impl::destroy ( CORBA_Object *_collocated_tao_target_ ACE_ENV_ARG_DECL @@ -6615,15 +7425,13 @@ void ImplementationRepository::_TAO_ServerInformationIterator_Remote_Proxy_Impl: CORBA::SystemException )) { - - - - TAO_Stub *istub = _collocated_tao_target_->_stubobj (); + if (istub == 0) - ACE_THROW (CORBA::INTERNAL ()); - - + { + ACE_THROW (CORBA::INTERNAL ()); + } + TAO_GIOP_Twoway_Invocation _tao_call ( istub, "destroy", @@ -6631,138 +7439,164 @@ void ImplementationRepository::_TAO_ServerInformationIterator_Remote_Proxy_Impl: 0, istub->orb_core () ); - + int _invoke_status; - + #if (TAO_HAS_INTERCEPTORS == 1) TAO_ClientRequestInterceptor_Adapter _tao_vfr ( istub->orb_core ()->client_request_interceptors (), &_tao_call, _invoke_status ); - + #endif /* TAO_HAS_INTERCEPTORS */ - + for (;;) { _invoke_status = TAO_INVOKE_EXCEPTION; - + #if TAO_HAS_INTERCEPTORS == 1 TAO_ClientRequestInfo_ImplementationRepository_ServerInformationIterator_destroy _tao_ri ( - &_tao_call, - _collocated_tao_target_ ACE_ENV_ARG_PARAMETER - ); - ACE_CHECK; - + &_tao_call, + _collocated_tao_target_ + ACE_ENV_ARG_PARAMETER + ); + ACE_CHECK; + #endif /* TAO_HAS_INTERCEPTORS */ - - + CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; TAO_INTERCEPTOR (_tao_ri.response_expected (1)); - + #if TAO_HAS_INTERCEPTORS == 1 - + ACE_TRY { _tao_vfr.send_request ( - &_tao_ri - ACE_ENV_ARG_PARAMETER - ); + &_tao_ri + ACE_ENV_ARG_PARAMETER + ); ACE_TRY_CHECK; - + if (_invoke_status == TAO_INVOKE_RESTART) { _tao_call.restart_flag (1); continue; } - + #endif /* TAO_HAS_INTERCEPTORS */ - + _tao_call.start (ACE_ENV_SINGLE_ARG_PARAMETER); - TAO_INTERCEPTOR_CHECK; + TAO_INTERCEPTOR_CHECK; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag) ACE_ENV_ARG_PARAMETER ); - TAO_INTERCEPTOR_CHECK; + TAO_INTERCEPTOR_CHECK; + _invoke_status = _tao_call.invoke (0, 0 ACE_ENV_ARG_PARAMETER); - TAO_INTERCEPTOR_CHECK; + TAO_INTERCEPTOR_CHECK; if (_invoke_status == TAO_INVOKE_EXCEPTION) { TAO_INTERCEPTOR_THROW ( - CORBA::UNKNOWN (CORBA::OMGVMCID | 1, CORBA::COMPLETED_YES) - ); - + CORBA::UNKNOWN ( + CORBA::OMGVMCID | 1, CORBA::COMPLETED_YES + ) + ); } else if (_invoke_status == TAO_INVOKE_RESTART) { TAO_INTERCEPTOR ( - _tao_ri.reply_status (_invoke_status); - _tao_vfr.receive_other ( - &_tao_ri - ACE_ENV_ARG_PARAMETER - ); - ACE_TRY_CHECK; - ) - + _tao_ri.reply_status (_invoke_status); + _tao_vfr.receive_other ( + &_tao_ri + ACE_ENV_ARG_PARAMETER + ); + ACE_TRY_CHECK; + ) + continue; } - - #if TAO_HAS_INTERCEPTORS == 1 - + _tao_ri.reply_status (_invoke_status); _tao_vfr.receive_reply ( - &_tao_ri - ACE_ENV_ARG_PARAMETER - ); + &_tao_ri + ACE_ENV_ARG_PARAMETER + ); ACE_TRY_CHECK; - - } - ACE_CATCHANY - { - _tao_ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &_tao_ri - ACE_ENV_ARG_PARAMETER - ); - ACE_TRY_CHECK; - - PortableInterceptor::ReplyStatus _tao_status = - _tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER); - ACE_TRY_CHECK; - - if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION - || _tao_status == PortableInterceptor::USER_EXCEPTION) - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK; - - PortableInterceptor::ReplyStatus _tao_status = - _tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER); - ACE_CHECK; - - if (_tao_status == PortableInterceptor::LOCATION_FORWARD - || _tao_status == PortableInterceptor::TRANSPORT_RETRY) - continue; - + } + ACE_CATCHANY + { + _tao_ri.exception (&ACE_ANY_EXCEPTION); + _tao_vfr.receive_exception ( + &_tao_ri + ACE_ENV_ARG_PARAMETER + ); + ACE_TRY_CHECK; + + PortableInterceptor::ReplyStatus _tao_status = + _tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER); + ACE_TRY_CHECK; + + if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION + || _tao_status == PortableInterceptor::USER_EXCEPTION) + { + ACE_RE_THROW; + } + } + +# if defined (ACE_HAS_EXCEPTIONS) \ + && defined (ACE_HAS_BROKEN_UNEXPECTED_EXCEPTIONS) + ACE_CATCHALL + { + CORBA::UNKNOWN ex; + + _tao_ri.exception (&ex); + _tao_vfr.receive_exception ( + &_tao_ri + ACE_ENV_ARG_PARAMETER + ); + ACE_TRY_CHECK; + + PortableInterceptor::ReplyStatus _tao_status = + _tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER); + ACE_TRY_CHECK; + + if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION) + ACE_TRY_THROW (ex); + } +# endif /* ACE_HAS_EXCEPTIONS && ACE_HAS_BROKEN_UNEXPECTED_EXCEPTIONS */ + + ACE_ENDTRY; + ACE_CHECK; + + PortableInterceptor::ReplyStatus _tao_status = + _tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER); + ACE_CHECK; + + if (_tao_status == PortableInterceptor::LOCATION_FORWARD + || _tao_status == PortableInterceptor::TRANSPORT_RETRY) + { + continue; + } + #endif /* TAO_HAS_INTERCEPTORS */ - - break; - } - + + break; + } } - // -// End Base & Remote Proxy Implemeentation. +// End Base & Remote Proxy Implemeentation. /////////////////////////////////////////////////////////////////////// +// TAO_IDL - Generated from +// be/be_visitor_interface/remote_proxy_broker_cs.cpp:31 /////////////////////////////////////////////////////////////////////// // Remote & Base Proxy Broker Implementation @@ -6798,30 +7632,25 @@ ImplementationRepository::_TAO_ServerInformationIterator_Remote_Proxy_Broker::~_ ImplementationRepository::_TAO_ServerInformationIterator_Proxy_Impl& ImplementationRepository::_TAO_ServerInformationIterator_Remote_Proxy_Broker::select_proxy ( - ::ImplementationRepository::ServerInformationIterator * - ACE_ENV_ARG_DECL_NOT_USED -) + ::ImplementationRepository::ServerInformationIterator * + ACE_ENV_ARG_DECL_NOT_USED + ) { return this->remote_proxy_impl_; } - // // End Remote & Base Proxy Broker Implementation /////////////////////////////////////////////////////////////////////// - -// TAO_IDL - Generated from -// be/be_visitor_interface/interface_cs.cpp:198 +// TAO_IDL - Generated from +// be/be_visitor_interface/interface_cs.cpp:225 ImplementationRepository::ServerInformationIterator::ServerInformationIterator (int collocated) { this->ImplementationRepository_ServerInformationIterator_setup_collocation (collocated); } -ImplementationRepository::ServerInformationIterator::~ServerInformationIterator (void) -{} - void ImplementationRepository::ServerInformationIterator::ImplementationRepository_ServerInformationIterator_setup_collocation (int collocated) { @@ -6833,44 +7662,67 @@ ImplementationRepository::ServerInformationIterator::ImplementationRepository_Se ::ImplementationRepository::_TAO_ServerInformationIterator_Remote_Proxy_Broker::the_TAO_ServerInformationIterator_Remote_Proxy_Broker (); } -void ImplementationRepository::ServerInformationIterator::_tao_any_destructor (void *_tao_void_pointer) +ImplementationRepository::ServerInformationIterator::~ServerInformationIterator (void) +{} + +void +ImplementationRepository::ServerInformationIterator::_tao_any_destructor (void *_tao_void_pointer) { - ServerInformationIterator *tmp = ACE_static_cast (ServerInformationIterator*, _tao_void_pointer); + ServerInformationIterator *tmp = ACE_static_cast (ServerInformationIterator *, _tao_void_pointer); CORBA::release (tmp); } -ImplementationRepository::ServerInformationIterator_ptr ImplementationRepository::ServerInformationIterator::_narrow ( +ImplementationRepository::ServerInformationIterator_ptr +ImplementationRepository::ServerInformationIterator::_narrow ( CORBA::Object_ptr obj ACE_ENV_ARG_DECL ) { if (CORBA::is_nil (obj)) - return ServerInformationIterator::_nil (); + { + return ServerInformationIterator::_nil (); + } + if (! obj->_is_local ()) { - CORBA::Boolean is_a = obj->_is_a ("IDL:ImplementationRepository/ServerInformationIterator:1.0" ACE_ENV_ARG_PARAMETER); + CORBA::Boolean is_a = + obj->_is_a ( + "IDL:ImplementationRepository/ServerInformationIterator:1.0" + ACE_ENV_ARG_PARAMETER + ); ACE_CHECK_RETURN (ServerInformationIterator::_nil ()); + if (is_a == 0) - return ServerInformationIterator::_nil (); + { + return ServerInformationIterator::_nil (); + } } + return ServerInformationIterator::_unchecked_narrow (obj ACE_ENV_ARG_PARAMETER); } -ImplementationRepository::ServerInformationIterator_ptr +ImplementationRepository::ServerInformationIterator_ptr ImplementationRepository::ServerInformationIterator::_unchecked_narrow ( CORBA::Object_ptr obj ACE_ENV_ARG_DECL_NOT_USED ) { if (CORBA::is_nil (obj)) - return ServerInformationIterator::_nil (); + { + return ServerInformationIterator::_nil (); + } + if (! obj->_is_local ()) { TAO_Stub* stub = obj->_stubobj (); - if (stub) - stub->_incr_refcnt (); + + if (stub != 0) + { + stub->_incr_refcnt (); + } + ServerInformationIterator_ptr default_proxy = ServerInformationIterator::_nil (); - + if ( !CORBA::is_nil (stub->servant_orb_var ().ptr ()) && stub->servant_orb_var ()->orb_core ()->optimize_collocation_objects () && @@ -6888,7 +7740,7 @@ ImplementationRepository::ServerInformationIterator::_unchecked_narrow ( ServerInformationIterator::_nil () ); } - + if (CORBA::is_nil (default_proxy)) { ACE_NEW_RETURN ( @@ -6901,56 +7753,89 @@ ImplementationRepository::ServerInformationIterator::_unchecked_narrow ( ServerInformationIterator::_nil () ); } - + return default_proxy; } - else + else return - ACE_reinterpret_cast - ( + ACE_reinterpret_cast ( ServerInformationIterator_ptr, - obj->_tao_QueryInterface - ( - ACE_reinterpret_cast - ( - ptr_arith_t, - &ServerInformationIterator::_tao_class_id - ) - ) + obj->_tao_QueryInterface ( + ACE_reinterpret_cast ( + ptr_arith_t, + &ServerInformationIterator::_tao_class_id + ) + ) ); } ImplementationRepository::ServerInformationIterator_ptr ImplementationRepository::ServerInformationIterator::_duplicate (ServerInformationIterator_ptr obj) { - if (!CORBA::is_nil (obj)) - obj->_add_ref (); + if (! CORBA::is_nil (obj)) + { + obj->_add_ref (); + } + return obj; } -CORBA::Boolean ImplementationRepository::ServerInformationIterator::_is_a (const CORBA::Char *value ACE_ENV_ARG_DECL) +CORBA::Boolean +ImplementationRepository::ServerInformationIterator::_is_a ( + const char *value + ACE_ENV_ARG_DECL + ) { if ( - (!ACE_OS::strcmp ((char *)value, "IDL:ImplementationRepository/ServerInformationIterator:1.0")) || - (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/Object:1.0"))) - return 1; // success using local knowledge + !ACE_OS::strcmp ( + (char *)value, + "IDL:ImplementationRepository/ServerInformationIterator:1.0" + ) || + !ACE_OS::strcmp ( + (char *)value, + "IDL:omg.org/CORBA/Object:1.0" + ) + ) + { + return 1; // success using local knowledge + } else - return this->CORBA_Object::_is_a (value ACE_ENV_ARG_PARAMETER); + { + return this->CORBA_Object::_is_a ( + value + ACE_ENV_ARG_PARAMETER + ); + } } void *ImplementationRepository::ServerInformationIterator::_tao_QueryInterface (ptr_arith_t type) { void *retv = 0; - if (type == ACE_reinterpret_cast - (ptr_arith_t, - &ACE_NESTED_CLASS (::ImplementationRepository, ServerInformationIterator)::_tao_class_id)) - retv = ACE_reinterpret_cast (void*, this); - else if (type == ACE_reinterpret_cast (ptr_arith_t, &CORBA::Object::_tao_class_id)) - retv = ACE_reinterpret_cast (void *, - ACE_static_cast (CORBA::Object_ptr, this)); - - if (retv) - this->_add_ref (); + + if (type == ACE_reinterpret_cast ( + ptr_arith_t, + &ACE_NESTED_CLASS (::ImplementationRepository, ServerInformationIterator)::_tao_class_id) + ) + { + retv = ACE_reinterpret_cast (void*, this); + } + else if (type == ACE_reinterpret_cast ( + ptr_arith_t, + &CORBA::Object::_tao_class_id) + ) + { + retv = + ACE_reinterpret_cast ( + void *, + ACE_static_cast (CORBA::Object_ptr, this) + ); + } + + if (retv != 0) + { + this->_add_ref (); + } + return retv; } @@ -6959,6 +7844,9 @@ const char* ImplementationRepository::ServerInformationIterator::_interface_repo return "IDL:ImplementationRepository/ServerInformationIterator:1.0"; } +// TAO_IDL - Generated from +// be/be_visitor_operation/operation_cs.cpp:80 + CORBA::Boolean ImplementationRepository::ServerInformationIterator::next_n ( CORBA::ULong how_many, ImplementationRepository::ServerInformationList_out server_list @@ -6968,60 +7856,67 @@ CORBA::Boolean ImplementationRepository::ServerInformationIterator::next_n ( CORBA::SystemException )) { - _TAO_ServerInformationIterator_Proxy_Impl &proxy = + _TAO_ServerInformationIterator_Proxy_Impl &proxy = this->the_TAO_ServerInformationIterator_Proxy_Broker_->select_proxy (this ACE_ENV_ARG_PARAMETER); ACE_CHECK_RETURN (0); - + return proxy.next_n ( this, how_many, - server_list ACE_ENV_ARG_PARAMETER + server_list + ACE_ENV_ARG_PARAMETER ); } -void ImplementationRepository::ServerInformationIterator::destroy ( +// TAO_IDL - Generated from +// be/be_visitor_operation/operation_cs.cpp:80 +void ImplementationRepository::ServerInformationIterator::destroy ( ACE_ENV_SINGLE_ARG_DECL ) ACE_THROW_SPEC (( CORBA::SystemException )) { - _TAO_ServerInformationIterator_Proxy_Impl &proxy = + _TAO_ServerInformationIterator_Proxy_Impl &proxy = this->the_TAO_ServerInformationIterator_Proxy_Broker_->select_proxy (this ACE_ENV_ARG_PARAMETER); ACE_CHECK; - + proxy.destroy ( - this ACE_ENV_ARG_PARAMETER + this + ACE_ENV_ARG_PARAMETER ); } +// TAO_IDL - Generated from +// be/be_visitor_typecode/typecode_defn.cpp:284 + static const CORBA::Long _oc_ImplementationRepository_ServerInformationIterator[] = { - TAO_ENCAP_BYTE_ORDER, // byte order + TAO_ENCAP_BYTE_ORDER, // byte order 59, - ACE_NTOHL (0x49444c3a), - ACE_NTOHL (0x496d706c), - ACE_NTOHL (0x656d656e), - ACE_NTOHL (0x74617469), - ACE_NTOHL (0x6f6e5265), - ACE_NTOHL (0x706f7369), - ACE_NTOHL (0x746f7279), - ACE_NTOHL (0x2f536572), - ACE_NTOHL (0x76657249), - ACE_NTOHL (0x6e666f72), - ACE_NTOHL (0x6d617469), - ACE_NTOHL (0x6f6e4974), - ACE_NTOHL (0x65726174), - ACE_NTOHL (0x6f723a31), + ACE_NTOHL (0x49444c3a), + ACE_NTOHL (0x496d706c), + ACE_NTOHL (0x656d656e), + ACE_NTOHL (0x74617469), + ACE_NTOHL (0x6f6e5265), + ACE_NTOHL (0x706f7369), + ACE_NTOHL (0x746f7279), + ACE_NTOHL (0x2f536572), + ACE_NTOHL (0x76657249), + ACE_NTOHL (0x6e666f72), + ACE_NTOHL (0x6d617469), + ACE_NTOHL (0x6f6e4974), + ACE_NTOHL (0x65726174), + ACE_NTOHL (0x6f723a31), ACE_NTOHL (0x2e300000), // repository ID = IDL:ImplementationRepository/ServerInformationIterator:1.0 26, - ACE_NTOHL (0x53657276), - ACE_NTOHL (0x6572496e), - ACE_NTOHL (0x666f726d), - ACE_NTOHL (0x6174696f), - ACE_NTOHL (0x6e497465), - ACE_NTOHL (0x7261746f), + ACE_NTOHL (0x53657276), + ACE_NTOHL (0x6572496e), + ACE_NTOHL (0x666f726d), + ACE_NTOHL (0x6174696f), + ACE_NTOHL (0x6e497465), + ACE_NTOHL (0x7261746f), ACE_NTOHL (0x72000000), // name = ServerInformationIterator }; @@ -7035,44 +7930,41 @@ static CORBA::TypeCode _tc_TAO_tc_ImplementationRepository_ServerInformationIter TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr) TAO_NAMESPACE_BEGIN (ImplementationRepository) -TAO_NAMESPACE_DEFINE (::CORBA::TypeCode_ptr, _tc_ServerInformationIterator, &_tc_TAO_tc_ImplementationRepository_ServerInformationIterator) +TAO_NAMESPACE_DEFINE ( + ::CORBA::TypeCode_ptr, + _tc_ServerInformationIterator, + &_tc_TAO_tc_ImplementationRepository_ServerInformationIterator + ) TAO_NAMESPACE_END - // TAO_IDL - Generated from -// be/be_visitor_interface/any_op_cs.cpp:60 +// be/be_visitor_interface/any_op_cs.cpp:52 -void operator<<= ( +// Copying version. +void +operator<<= ( CORBA::Any &_tao_any, ImplementationRepository::ServerObject_ptr _tao_elem ) { - TAO_OutputCDR stream; - - if (stream << _tao_elem) - { - _tao_any._tao_replace ( - ImplementationRepository::_tc_ServerObject, - TAO_ENCAP_BYTE_ORDER, - stream.begin (), - 1, - ImplementationRepository::ServerObject::_duplicate (_tao_elem), - ImplementationRepository::ServerObject::_tao_any_destructor - ); - } + ImplementationRepository::ServerObject_ptr _tao_objptr = + ImplementationRepository::ServerObject::_duplicate (_tao_elem); + _tao_any <<= &_tao_objptr; } -void operator<<= ( +// Non-copying version. +void +operator<<= ( CORBA::Any &_tao_any, ImplementationRepository::ServerObject_ptr *_tao_elem ) { TAO_OutputCDR stream; - + if (stream << *_tao_elem) { _tao_any._tao_replace ( - ImplementationRepository::_tc_ServerObject, + ImplementationRepository::_tc_ServerObject, TAO_ENCAP_BYTE_ORDER, stream.begin (), 1, @@ -7082,7 +7974,8 @@ void operator<<= ( } } -CORBA::Boolean operator>>= ( +CORBA::Boolean +operator>>= ( const CORBA::Any &_tao_any, ImplementationRepository::ServerObject_ptr &_tao_elem ) @@ -7091,24 +7984,24 @@ CORBA::Boolean operator>>= ( { _tao_elem = ImplementationRepository::ServerObject::_nil (); CORBA::TypeCode_var type = _tao_any.type (); - - CORBA::Boolean result = + + CORBA::Boolean _tao_result = type->equivalent ( ImplementationRepository::_tc_ServerObject ACE_ENV_ARG_PARAMETER ); ACE_TRY_CHECK; - - if (!result) + + if (!_tao_result) { return 0; // not equivalent } - + TAO_InputCDR stream ( _tao_any._tao_get_cdr (), _tao_any._tao_byte_order () ); - + if (stream >> _tao_elem) { ((CORBA::Any *)&_tao_any)->_tao_replace ( @@ -7117,15 +8010,17 @@ CORBA::Boolean operator>>= ( _tao_elem, ImplementationRepository::ServerObject::_tao_any_destructor ); - + return 1; } } ACE_CATCHANY { + _tao_elem = ImplementationRepository::ServerObject::_nil (); + return 0; } ACE_ENDTRY; - + _tao_elem = ImplementationRepository::ServerObject::_nil (); return 0; } @@ -7134,12 +8029,11 @@ CORBA::Boolean operator>>= ( defined (ACE_HAS_GNU_REPO) template class TAO_Object_Manager<ImplementationRepository::ServerObject,ImplementationRepository::ServerObject_var>; #elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) -# pragma instantiate TAO_Object_Manager<ImplementationRepository::ServerObject,ImplementationRepository::ServerObject_var> +# pragma instantiate TAO_Object_Manager<ImplementationRepository::ServerObject,ImplementationRepository::ServerObject_var> #endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ - -// TAO_IDL - Generated from -// be/be_visitor_exception/any_op_cs.cpp:60 +// TAO_IDL - Generated from +// be/be_visitor_exception/any_op_cs.cpp:54 // Copying insertion. void operator<<= ( @@ -7148,7 +8042,7 @@ void operator<<= ( ) { TAO_OutputCDR stream; - + if (stream << _tao_elem) { _tao_any._tao_replace ( @@ -7166,7 +8060,7 @@ void operator<<= ( ) { TAO_OutputCDR stream; - + if (stream << *_tao_elem) { _tao_any._tao_replace ( @@ -7201,19 +8095,19 @@ CORBA::Boolean operator>>= ( ACE_TRY_NEW_ENV { CORBA::TypeCode_var type = _tao_any.type (); - - CORBA::Boolean result = + + CORBA::Boolean _tao_result = type->equivalent ( ImplementationRepository::_tc_AlreadyRegistered ACE_ENV_ARG_PARAMETER ); ACE_TRY_CHECK; - - if (result == 0) + + if (_tao_result == 0) { return 0; // not equivalent } - + if (_tao_any.any_owns_data ()) { _tao_elem = (ImplementationRepository::AlreadyRegistered *)_tao_any.value (); @@ -7227,19 +8121,19 @@ CORBA::Boolean operator>>= ( ImplementationRepository::AlreadyRegistered, 0 ); - + TAO_InputCDR stream ( _tao_any._tao_get_cdr (), _tao_any._tao_byte_order () ); - + CORBA::String_var interface_repository_id; - + if (!(stream >> interface_repository_id.out ())) { return 0; } - + if (ACE_OS::strcmp ( interface_repository_id.in (), "IDL:ImplementationRepository/AlreadyRegistered:1.0") @@ -7247,7 +8141,7 @@ CORBA::Boolean operator>>= ( { return 0; } - + if (stream >> *tmp) { ((CORBA::Any *)&_tao_any)->_tao_replace ( @@ -7256,7 +8150,7 @@ CORBA::Boolean operator>>= ( tmp, ImplementationRepository::AlreadyRegistered::_tao_any_destructor ); - + _tao_elem = tmp; return 1; } @@ -7270,13 +8164,12 @@ CORBA::Boolean operator>>= ( { } ACE_ENDTRY; - + return 0; } - -// TAO_IDL - Generated from -// be/be_visitor_exception/any_op_cs.cpp:60 +// TAO_IDL - Generated from +// be/be_visitor_exception/any_op_cs.cpp:54 // Copying insertion. void operator<<= ( @@ -7285,7 +8178,7 @@ void operator<<= ( ) { TAO_OutputCDR stream; - + if (stream << _tao_elem) { _tao_any._tao_replace ( @@ -7303,7 +8196,7 @@ void operator<<= ( ) { TAO_OutputCDR stream; - + if (stream << *_tao_elem) { _tao_any._tao_replace ( @@ -7338,19 +8231,19 @@ CORBA::Boolean operator>>= ( ACE_TRY_NEW_ENV { CORBA::TypeCode_var type = _tao_any.type (); - - CORBA::Boolean result = + + CORBA::Boolean _tao_result = type->equivalent ( ImplementationRepository::_tc_CannotActivate ACE_ENV_ARG_PARAMETER ); ACE_TRY_CHECK; - - if (result == 0) + + if (_tao_result == 0) { return 0; // not equivalent } - + if (_tao_any.any_owns_data ()) { _tao_elem = (ImplementationRepository::CannotActivate *)_tao_any.value (); @@ -7364,19 +8257,19 @@ CORBA::Boolean operator>>= ( ImplementationRepository::CannotActivate, 0 ); - + TAO_InputCDR stream ( _tao_any._tao_get_cdr (), _tao_any._tao_byte_order () ); - + CORBA::String_var interface_repository_id; - + if (!(stream >> interface_repository_id.out ())) { return 0; } - + if (ACE_OS::strcmp ( interface_repository_id.in (), "IDL:ImplementationRepository/CannotActivate:1.0") @@ -7384,7 +8277,7 @@ CORBA::Boolean operator>>= ( { return 0; } - + if (stream >> *tmp) { ((CORBA::Any *)&_tao_any)->_tao_replace ( @@ -7393,7 +8286,7 @@ CORBA::Boolean operator>>= ( tmp, ImplementationRepository::CannotActivate::_tao_any_destructor ); - + _tao_elem = tmp; return 1; } @@ -7407,13 +8300,12 @@ CORBA::Boolean operator>>= ( { } ACE_ENDTRY; - + return 0; } - -// TAO_IDL - Generated from -// be/be_visitor_exception/any_op_cs.cpp:60 +// TAO_IDL - Generated from +// be/be_visitor_exception/any_op_cs.cpp:54 // Copying insertion. void operator<<= ( @@ -7422,7 +8314,7 @@ void operator<<= ( ) { TAO_OutputCDR stream; - + if (stream << _tao_elem) { _tao_any._tao_replace ( @@ -7440,7 +8332,7 @@ void operator<<= ( ) { TAO_OutputCDR stream; - + if (stream << *_tao_elem) { _tao_any._tao_replace ( @@ -7475,19 +8367,19 @@ CORBA::Boolean operator>>= ( ACE_TRY_NEW_ENV { CORBA::TypeCode_var type = _tao_any.type (); - - CORBA::Boolean result = + + CORBA::Boolean _tao_result = type->equivalent ( ImplementationRepository::_tc_NotFound ACE_ENV_ARG_PARAMETER ); ACE_TRY_CHECK; - - if (result == 0) + + if (_tao_result == 0) { return 0; // not equivalent } - + if (_tao_any.any_owns_data ()) { _tao_elem = (ImplementationRepository::NotFound *)_tao_any.value (); @@ -7501,19 +8393,19 @@ CORBA::Boolean operator>>= ( ImplementationRepository::NotFound, 0 ); - + TAO_InputCDR stream ( _tao_any._tao_get_cdr (), _tao_any._tao_byte_order () ); - + CORBA::String_var interface_repository_id; - + if (!(stream >> interface_repository_id.out ())) { return 0; } - + if (ACE_OS::strcmp ( interface_repository_id.in (), "IDL:ImplementationRepository/NotFound:1.0") @@ -7521,7 +8413,7 @@ CORBA::Boolean operator>>= ( { return 0; } - + if (stream >> *tmp) { ((CORBA::Any *)&_tao_any)->_tao_replace ( @@ -7530,7 +8422,7 @@ CORBA::Boolean operator>>= ( tmp, ImplementationRepository::NotFound::_tao_any_destructor ); - + _tao_elem = tmp; return 1; } @@ -7544,13 +8436,12 @@ CORBA::Boolean operator>>= ( { } ACE_ENDTRY; - + return 0; } - -// TAO_IDL - Generated from -// be/be_visitor_structure/any_op_cs.cpp:58 +// TAO_IDL - Generated from +// be/be_visitor_structure/any_op_cs.cpp:54 // Copying insertion. void operator<<= ( @@ -7559,7 +8450,7 @@ void operator<<= ( ) { TAO_OutputCDR stream; - + if (stream << _tao_elem) { _tao_any._tao_replace ( @@ -7577,7 +8468,7 @@ void operator<<= ( ) { TAO_OutputCDR stream; - + if (stream << *_tao_elem) { _tao_any._tao_replace ( @@ -7610,30 +8501,30 @@ CORBA::Boolean operator>>= ( ) { _tao_elem = 0; - + ACE_TRY_NEW_ENV { CORBA::TypeCode_var type = _tao_any.type (); - - CORBA::Boolean result = + + CORBA::Boolean _tao_result = type->equivalent ( ImplementationRepository::_tc_EnvironmentVariable ACE_ENV_ARG_PARAMETER ); ACE_TRY_CHECK; - - if (result == 0) + + if (_tao_result == 0) { return 0; // not equivalent } - + if (_tao_any.any_owns_data ()) { _tao_elem = ACE_static_cast ( const ImplementationRepository::EnvironmentVariable*, _tao_any.value () ); - + return 1; } else @@ -7644,12 +8535,12 @@ CORBA::Boolean operator>>= ( ImplementationRepository::EnvironmentVariable, 0 ); - + TAO_InputCDR stream ( _tao_any._tao_get_cdr (), _tao_any._tao_byte_order () ); - + if (stream >> *tmp) { ((CORBA::Any *)&_tao_any)->_tao_replace ( @@ -7658,7 +8549,7 @@ CORBA::Boolean operator>>= ( ACE_static_cast (void *, tmp), ImplementationRepository::EnvironmentVariable::_tao_any_destructor ); - + _tao_elem = tmp; return 1; } @@ -7672,13 +8563,12 @@ CORBA::Boolean operator>>= ( { } ACE_ENDTRY; - + return 0; } - -// TAO_IDL - Generated from -// be/be_visitor_sequence/any_op_cs.cpp:61 +// TAO_IDL - Generated from +// be/be_visitor_sequence/any_op_cs.cpp:54 // Copying insertion. void operator<<= ( @@ -7687,7 +8577,7 @@ void operator<<= ( ) { TAO_OutputCDR stream; - + if (stream << _tao_elem) { _tao_any._tao_replace ( @@ -7705,7 +8595,7 @@ void operator<<= ( ) { TAO_OutputCDR stream; - + if (stream << *_tao_elem) { _tao_any._tao_replace ( @@ -7738,30 +8628,30 @@ CORBA::Boolean operator>>= ( ) { _tao_elem = 0; - + ACE_TRY_NEW_ENV { CORBA::TypeCode_var type = _tao_any.type (); - - CORBA::Boolean result = + + CORBA::Boolean _tao_result = type->equivalent ( ImplementationRepository::_tc_EnvironmentList ACE_ENV_ARG_PARAMETER ); ACE_TRY_CHECK; - - if (!result) + + if (!_tao_result) { return 0; // not equivalent } - + if (_tao_any.any_owns_data ()) { _tao_elem = ACE_static_cast( const ImplementationRepository::EnvironmentList*, _tao_any.value () ); - + return 1; } else @@ -7772,12 +8662,12 @@ CORBA::Boolean operator>>= ( ImplementationRepository::EnvironmentList, 0 ); - + TAO_InputCDR stream ( _tao_any._tao_get_cdr (), _tao_any._tao_byte_order () ); - + if (stream >> *tmp) { ((CORBA::Any *)&_tao_any)->_tao_replace ( @@ -7786,7 +8676,7 @@ CORBA::Boolean operator>>= ( ACE_static_cast (void *, tmp), ImplementationRepository::EnvironmentList::_tao_any_destructor ); - + _tao_elem = tmp; return 1; } @@ -7800,10 +8690,13 @@ CORBA::Boolean operator>>= ( { } ACE_ENDTRY; - + return 0; } +// TAO_IDL - Generated from +// be/be_visitor_enum/any_op_cs.cpp:52 + void operator<<= (CORBA::Any &_tao_any, ImplementationRepository::ActivationMode _tao_elem) { TAO_OutputCDR stream; @@ -7820,13 +8713,13 @@ CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, ImplementationRepository ACE_TRY_NEW_ENV { CORBA::TypeCode_var type = _tao_any.type (); - - CORBA::Boolean result = type->equivalent (ImplementationRepository::_tc_ActivationMode ACE_ENV_ARG_PARAMETER); + + CORBA::Boolean _tao_result = type->equivalent (ImplementationRepository::_tc_ActivationMode ACE_ENV_ARG_PARAMETER); ACE_TRY_CHECK; - - if (!result) + + if (!_tao_result) return 0; // not equivalent - + TAO_InputCDR stream ( _tao_any._tao_get_cdr (), _tao_any._tao_byte_order () @@ -7844,9 +8737,8 @@ CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, ImplementationRepository return 0; } - -// TAO_IDL - Generated from -// be/be_visitor_structure/any_op_cs.cpp:58 +// TAO_IDL - Generated from +// be/be_visitor_structure/any_op_cs.cpp:54 // Copying insertion. void operator<<= ( @@ -7855,7 +8747,7 @@ void operator<<= ( ) { TAO_OutputCDR stream; - + if (stream << _tao_elem) { _tao_any._tao_replace ( @@ -7873,7 +8765,7 @@ void operator<<= ( ) { TAO_OutputCDR stream; - + if (stream << *_tao_elem) { _tao_any._tao_replace ( @@ -7906,30 +8798,30 @@ CORBA::Boolean operator>>= ( ) { _tao_elem = 0; - + ACE_TRY_NEW_ENV { CORBA::TypeCode_var type = _tao_any.type (); - - CORBA::Boolean result = + + CORBA::Boolean _tao_result = type->equivalent ( ImplementationRepository::_tc_StartupOptions ACE_ENV_ARG_PARAMETER ); ACE_TRY_CHECK; - - if (result == 0) + + if (_tao_result == 0) { return 0; // not equivalent } - + if (_tao_any.any_owns_data ()) { _tao_elem = ACE_static_cast ( const ImplementationRepository::StartupOptions*, _tao_any.value () ); - + return 1; } else @@ -7940,12 +8832,12 @@ CORBA::Boolean operator>>= ( ImplementationRepository::StartupOptions, 0 ); - + TAO_InputCDR stream ( _tao_any._tao_get_cdr (), _tao_any._tao_byte_order () ); - + if (stream >> *tmp) { ((CORBA::Any *)&_tao_any)->_tao_replace ( @@ -7954,7 +8846,7 @@ CORBA::Boolean operator>>= ( ACE_static_cast (void *, tmp), ImplementationRepository::StartupOptions::_tao_any_destructor ); - + _tao_elem = tmp; return 1; } @@ -7968,13 +8860,12 @@ CORBA::Boolean operator>>= ( { } ACE_ENDTRY; - + return 0; } - -// TAO_IDL - Generated from -// be/be_visitor_structure/any_op_cs.cpp:58 +// TAO_IDL - Generated from +// be/be_visitor_structure/any_op_cs.cpp:54 // Copying insertion. void operator<<= ( @@ -7983,7 +8874,7 @@ void operator<<= ( ) { TAO_OutputCDR stream; - + if (stream << _tao_elem) { _tao_any._tao_replace ( @@ -8001,7 +8892,7 @@ void operator<<= ( ) { TAO_OutputCDR stream; - + if (stream << *_tao_elem) { _tao_any._tao_replace ( @@ -8034,30 +8925,30 @@ CORBA::Boolean operator>>= ( ) { _tao_elem = 0; - + ACE_TRY_NEW_ENV { CORBA::TypeCode_var type = _tao_any.type (); - - CORBA::Boolean result = + + CORBA::Boolean _tao_result = type->equivalent ( ImplementationRepository::_tc_ServerInformation ACE_ENV_ARG_PARAMETER ); ACE_TRY_CHECK; - - if (result == 0) + + if (_tao_result == 0) { return 0; // not equivalent } - + if (_tao_any.any_owns_data ()) { _tao_elem = ACE_static_cast ( const ImplementationRepository::ServerInformation*, _tao_any.value () ); - + return 1; } else @@ -8068,12 +8959,12 @@ CORBA::Boolean operator>>= ( ImplementationRepository::ServerInformation, 0 ); - + TAO_InputCDR stream ( _tao_any._tao_get_cdr (), _tao_any._tao_byte_order () ); - + if (stream >> *tmp) { ((CORBA::Any *)&_tao_any)->_tao_replace ( @@ -8082,7 +8973,7 @@ CORBA::Boolean operator>>= ( ACE_static_cast (void *, tmp), ImplementationRepository::ServerInformation::_tao_any_destructor ); - + _tao_elem = tmp; return 1; } @@ -8096,13 +8987,12 @@ CORBA::Boolean operator>>= ( { } ACE_ENDTRY; - + return 0; } - -// TAO_IDL - Generated from -// be/be_visitor_sequence/any_op_cs.cpp:61 +// TAO_IDL - Generated from +// be/be_visitor_sequence/any_op_cs.cpp:54 // Copying insertion. void operator<<= ( @@ -8111,7 +9001,7 @@ void operator<<= ( ) { TAO_OutputCDR stream; - + if (stream << _tao_elem) { _tao_any._tao_replace ( @@ -8129,7 +9019,7 @@ void operator<<= ( ) { TAO_OutputCDR stream; - + if (stream << *_tao_elem) { _tao_any._tao_replace ( @@ -8162,30 +9052,30 @@ CORBA::Boolean operator>>= ( ) { _tao_elem = 0; - + ACE_TRY_NEW_ENV { CORBA::TypeCode_var type = _tao_any.type (); - - CORBA::Boolean result = + + CORBA::Boolean _tao_result = type->equivalent ( ImplementationRepository::_tc_ServerInformationList ACE_ENV_ARG_PARAMETER ); ACE_TRY_CHECK; - - if (!result) + + if (!_tao_result) { return 0; // not equivalent } - + if (_tao_any.any_owns_data ()) { _tao_elem = ACE_static_cast( const ImplementationRepository::ServerInformationList*, _tao_any.value () ); - + return 1; } else @@ -8196,12 +9086,12 @@ CORBA::Boolean operator>>= ( ImplementationRepository::ServerInformationList, 0 ); - + TAO_InputCDR stream ( _tao_any._tao_get_cdr (), _tao_any._tao_byte_order () ); - + if (stream >> *tmp) { ((CORBA::Any *)&_tao_any)->_tao_replace ( @@ -8210,7 +9100,7 @@ CORBA::Boolean operator>>= ( ACE_static_cast (void *, tmp), ImplementationRepository::ServerInformationList::_tao_any_destructor ); - + _tao_elem = tmp; return 1; } @@ -8224,45 +9114,38 @@ CORBA::Boolean operator>>= ( { } ACE_ENDTRY; - + return 0; } - // TAO_IDL - Generated from -// be/be_visitor_interface/any_op_cs.cpp:60 +// be/be_visitor_interface/any_op_cs.cpp:52 -void operator<<= ( +// Copying version. +void +operator<<= ( CORBA::Any &_tao_any, ImplementationRepository::Administration_ptr _tao_elem ) { - TAO_OutputCDR stream; - - if (stream << _tao_elem) - { - _tao_any._tao_replace ( - ImplementationRepository::_tc_Administration, - TAO_ENCAP_BYTE_ORDER, - stream.begin (), - 1, - ImplementationRepository::Administration::_duplicate (_tao_elem), - ImplementationRepository::Administration::_tao_any_destructor - ); - } + ImplementationRepository::Administration_ptr _tao_objptr = + ImplementationRepository::Administration::_duplicate (_tao_elem); + _tao_any <<= &_tao_objptr; } -void operator<<= ( +// Non-copying version. +void +operator<<= ( CORBA::Any &_tao_any, ImplementationRepository::Administration_ptr *_tao_elem ) { TAO_OutputCDR stream; - + if (stream << *_tao_elem) { _tao_any._tao_replace ( - ImplementationRepository::_tc_Administration, + ImplementationRepository::_tc_Administration, TAO_ENCAP_BYTE_ORDER, stream.begin (), 1, @@ -8272,7 +9155,8 @@ void operator<<= ( } } -CORBA::Boolean operator>>= ( +CORBA::Boolean +operator>>= ( const CORBA::Any &_tao_any, ImplementationRepository::Administration_ptr &_tao_elem ) @@ -8281,24 +9165,24 @@ CORBA::Boolean operator>>= ( { _tao_elem = ImplementationRepository::Administration::_nil (); CORBA::TypeCode_var type = _tao_any.type (); - - CORBA::Boolean result = + + CORBA::Boolean _tao_result = type->equivalent ( ImplementationRepository::_tc_Administration ACE_ENV_ARG_PARAMETER ); ACE_TRY_CHECK; - - if (!result) + + if (!_tao_result) { return 0; // not equivalent } - + TAO_InputCDR stream ( _tao_any._tao_get_cdr (), _tao_any._tao_byte_order () ); - + if (stream >> _tao_elem) { ((CORBA::Any *)&_tao_any)->_tao_replace ( @@ -8307,15 +9191,17 @@ CORBA::Boolean operator>>= ( _tao_elem, ImplementationRepository::Administration::_tao_any_destructor ); - + return 1; } } ACE_CATCHANY { + _tao_elem = ImplementationRepository::Administration::_nil (); + return 0; } ACE_ENDTRY; - + _tao_elem = ImplementationRepository::Administration::_nil (); return 0; } @@ -8324,44 +9210,37 @@ CORBA::Boolean operator>>= ( defined (ACE_HAS_GNU_REPO) template class TAO_Object_Manager<ImplementationRepository::Administration,ImplementationRepository::Administration_var>; #elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) -# pragma instantiate TAO_Object_Manager<ImplementationRepository::Administration,ImplementationRepository::Administration_var> +# pragma instantiate TAO_Object_Manager<ImplementationRepository::Administration,ImplementationRepository::Administration_var> #endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ - // TAO_IDL - Generated from -// be/be_visitor_interface/any_op_cs.cpp:60 +// be/be_visitor_interface/any_op_cs.cpp:52 -void operator<<= ( +// Copying version. +void +operator<<= ( CORBA::Any &_tao_any, ImplementationRepository::ServerInformationIterator_ptr _tao_elem ) { - TAO_OutputCDR stream; - - if (stream << _tao_elem) - { - _tao_any._tao_replace ( - ImplementationRepository::_tc_ServerInformationIterator, - TAO_ENCAP_BYTE_ORDER, - stream.begin (), - 1, - ImplementationRepository::ServerInformationIterator::_duplicate (_tao_elem), - ImplementationRepository::ServerInformationIterator::_tao_any_destructor - ); - } + ImplementationRepository::ServerInformationIterator_ptr _tao_objptr = + ImplementationRepository::ServerInformationIterator::_duplicate (_tao_elem); + _tao_any <<= &_tao_objptr; } -void operator<<= ( +// Non-copying version. +void +operator<<= ( CORBA::Any &_tao_any, ImplementationRepository::ServerInformationIterator_ptr *_tao_elem ) { TAO_OutputCDR stream; - + if (stream << *_tao_elem) { _tao_any._tao_replace ( - ImplementationRepository::_tc_ServerInformationIterator, + ImplementationRepository::_tc_ServerInformationIterator, TAO_ENCAP_BYTE_ORDER, stream.begin (), 1, @@ -8371,7 +9250,8 @@ void operator<<= ( } } -CORBA::Boolean operator>>= ( +CORBA::Boolean +operator>>= ( const CORBA::Any &_tao_any, ImplementationRepository::ServerInformationIterator_ptr &_tao_elem ) @@ -8380,24 +9260,24 @@ CORBA::Boolean operator>>= ( { _tao_elem = ImplementationRepository::ServerInformationIterator::_nil (); CORBA::TypeCode_var type = _tao_any.type (); - - CORBA::Boolean result = + + CORBA::Boolean _tao_result = type->equivalent ( ImplementationRepository::_tc_ServerInformationIterator ACE_ENV_ARG_PARAMETER ); ACE_TRY_CHECK; - - if (!result) + + if (!_tao_result) { return 0; // not equivalent } - + TAO_InputCDR stream ( _tao_any._tao_get_cdr (), _tao_any._tao_byte_order () ); - + if (stream >> _tao_elem) { ((CORBA::Any *)&_tao_any)->_tao_replace ( @@ -8406,15 +9286,17 @@ CORBA::Boolean operator>>= ( _tao_elem, ImplementationRepository::ServerInformationIterator::_tao_any_destructor ); - + return 1; } } ACE_CATCHANY { + _tao_elem = ImplementationRepository::ServerInformationIterator::_nil (); + return 0; } ACE_ENDTRY; - + _tao_elem = ImplementationRepository::ServerInformationIterator::_nil (); return 0; } @@ -8423,9 +9305,12 @@ CORBA::Boolean operator>>= ( defined (ACE_HAS_GNU_REPO) template class TAO_Object_Manager<ImplementationRepository::ServerInformationIterator,ImplementationRepository::ServerInformationIterator_var>; #elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) -# pragma instantiate TAO_Object_Manager<ImplementationRepository::ServerInformationIterator,ImplementationRepository::ServerInformationIterator_var> +# pragma instantiate TAO_Object_Manager<ImplementationRepository::ServerInformationIterator,ImplementationRepository::ServerInformationIterator_var> #endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ +// TAO_IDL - Generated from +// be/be_visitor_interface/cdr_op_cs.cpp:63 + CORBA::Boolean operator<< ( TAO_OutputCDR &strm, const ImplementationRepository::ServerObject_ptr _tao_objref @@ -8443,9 +9328,13 @@ CORBA::Boolean operator>> ( ACE_TRY_NEW_ENV { CORBA::Object_var obj; + if ((strm >> obj.inout ()) == 0) - return 0; - // narrow to the right type + { + return 0; + } + + // Narrow to the right type. _tao_objref = ImplementationRepository::ServerObject::_unchecked_narrow ( obj.in () @@ -8462,22 +9351,30 @@ CORBA::Boolean operator>> ( return 0; } +// TAO_IDL - Generated from +// be/be_visitor_sequence/cdr_op_cs.cpp:103 + CORBA::Boolean operator<< ( TAO_OutputCDR &strm, const ImplementationRepository::EnvironmentList &_tao_sequence ) { - if (strm << _tao_sequence.length ()) - { - // encode all elements - CORBA::Boolean _tao_marshal_flag = 1; - for (CORBA::ULong i = 0; i < _tao_sequence.length () && _tao_marshal_flag; i++) + CORBA::ULong _tao_seq_len = _tao_sequence.length (); + + if (strm << _tao_seq_len) { - _tao_marshal_flag = (strm << _tao_sequence[i]); + // Encode all elements. + CORBA::Boolean _tao_marshal_flag = 1; + + for (CORBA::ULong i = 0; i < _tao_seq_len && _tao_marshal_flag; ++i) + { + _tao_marshal_flag = (strm << _tao_sequence[i]); + } + + return _tao_marshal_flag; } - return _tao_marshal_flag; - } - return 0; // error + + return 0; } CORBA::Boolean operator>> ( @@ -8486,45 +9383,64 @@ CORBA::Boolean operator>> ( ) { CORBA::ULong _tao_seq_len; + if (strm >> _tao_seq_len) - { - // Add a check to the length of the sequence - // to make sure it does not exceed the length - // of the stream. (See bug 1159.) - if (_tao_seq_len > strm.length()) - return 0; - // set the length of the sequence - _tao_sequence.length (_tao_seq_len); - // If length is 0 we return true. - if (0 >= _tao_seq_len) - return 1; - // retrieve all the elements - CORBA::Boolean _tao_marshal_flag = 1; - for (CORBA::ULong i = 0; i < _tao_sequence.length () && _tao_marshal_flag; i++) { - _tao_marshal_flag = (strm >> _tao_sequence[i]); + // Add a check to the length of the sequence + // to make sure it does not exceed the length + // of the stream. (See bug 58.) + if (_tao_seq_len > strm.length ()) + { + return 0; + } + + // Set the length of the sequence. + _tao_sequence.length (_tao_seq_len); + + // If length is 0 we return true. + if (0 >= _tao_seq_len) + { + return 1; + } + + // Retrieve all the elements. + CORBA::Boolean _tao_marshal_flag = 1; + + for (CORBA::ULong i = 0; i < _tao_seq_len && _tao_marshal_flag; ++i) + { + _tao_marshal_flag = (strm >> _tao_sequence[i]); + } + + return _tao_marshal_flag; } - return _tao_marshal_flag; - } - return 0; // error + + return 0; } +// TAO_IDL - Generated from +// be/be_visitor_sequence/cdr_op_cs.cpp:103 + CORBA::Boolean operator<< ( TAO_OutputCDR &strm, const ImplementationRepository::ServerInformationList &_tao_sequence ) { - if (strm << _tao_sequence.length ()) - { - // encode all elements - CORBA::Boolean _tao_marshal_flag = 1; - for (CORBA::ULong i = 0; i < _tao_sequence.length () && _tao_marshal_flag; i++) + CORBA::ULong _tao_seq_len = _tao_sequence.length (); + + if (strm << _tao_seq_len) { - _tao_marshal_flag = (strm << _tao_sequence[i]); + // Encode all elements. + CORBA::Boolean _tao_marshal_flag = 1; + + for (CORBA::ULong i = 0; i < _tao_seq_len && _tao_marshal_flag; ++i) + { + _tao_marshal_flag = (strm << _tao_sequence[i]); + } + + return _tao_marshal_flag; } - return _tao_marshal_flag; - } - return 0; // error + + return 0; } CORBA::Boolean operator>> ( @@ -8533,29 +9449,43 @@ CORBA::Boolean operator>> ( ) { CORBA::ULong _tao_seq_len; + if (strm >> _tao_seq_len) - { - // Add a check to the length of the sequence - // to make sure it does not exceed the length - // of the stream. (See bug 1159.) - if (_tao_seq_len > strm.length()) - return 0; - // set the length of the sequence - _tao_sequence.length (_tao_seq_len); - // If length is 0 we return true. - if (0 >= _tao_seq_len) - return 1; - // retrieve all the elements - CORBA::Boolean _tao_marshal_flag = 1; - for (CORBA::ULong i = 0; i < _tao_sequence.length () && _tao_marshal_flag; i++) { - _tao_marshal_flag = (strm >> _tao_sequence[i]); + // Add a check to the length of the sequence + // to make sure it does not exceed the length + // of the stream. (See bug 58.) + if (_tao_seq_len > strm.length ()) + { + return 0; + } + + // Set the length of the sequence. + _tao_sequence.length (_tao_seq_len); + + // If length is 0 we return true. + if (0 >= _tao_seq_len) + { + return 1; + } + + // Retrieve all the elements. + CORBA::Boolean _tao_marshal_flag = 1; + + for (CORBA::ULong i = 0; i < _tao_seq_len && _tao_marshal_flag; ++i) + { + _tao_marshal_flag = (strm >> _tao_sequence[i]); + } + + return _tao_marshal_flag; } - return _tao_marshal_flag; - } - return 0; // error + + return 0; } +// TAO_IDL - Generated from +// be/be_visitor_interface/cdr_op_cs.cpp:63 + CORBA::Boolean operator<< ( TAO_OutputCDR &strm, const ImplementationRepository::Administration_ptr _tao_objref @@ -8573,9 +9503,13 @@ CORBA::Boolean operator>> ( ACE_TRY_NEW_ENV { CORBA::Object_var obj; + if ((strm >> obj.inout ()) == 0) - return 0; - // narrow to the right type + { + return 0; + } + + // Narrow to the right type. _tao_objref = ImplementationRepository::Administration::_unchecked_narrow ( obj.in () @@ -8592,6 +9526,9 @@ CORBA::Boolean operator>> ( return 0; } +// TAO_IDL - Generated from +// be/be_visitor_interface/cdr_op_cs.cpp:63 + CORBA::Boolean operator<< ( TAO_OutputCDR &strm, const ImplementationRepository::ServerInformationIterator_ptr _tao_objref @@ -8609,9 +9546,13 @@ CORBA::Boolean operator>> ( ACE_TRY_NEW_ENV { CORBA::Object_var obj; + if ((strm >> obj.inout ()) == 0) - return 0; - // narrow to the right type + { + return 0; + } + + // Narrow to the right type. _tao_objref = ImplementationRepository::ServerInformationIterator::_unchecked_narrow ( obj.in () @@ -8627,3 +9568,4 @@ CORBA::Boolean operator>> ( ACE_ENDTRY; return 0; } + diff --git a/TAO/tao/PortableServer/ImplRepoC.h b/TAO/tao/PortableServer/ImplRepoC.h index 9554be86027..beabde8d97a 100644 --- a/TAO/tao/PortableServer/ImplRepoC.h +++ b/TAO/tao/PortableServer/ImplRepoC.h @@ -19,16 +19,21 @@ // Information about TAO is available at: // http://www.cs.wustl.edu/~schmidt/TAO.html -#ifndef _TAO_IDL_IMPLREPOC_H_ -#define _TAO_IDL_IMPLREPOC_H_ +// TAO_IDL - Generated from +// be/be_codegen.cpp:151 + +#ifndef _TAO_IDL_ORIG_IMPLREPOC_H_ +#define _TAO_IDL_ORIG_IMPLREPOC_H_ #include "ace/pre.h" + #include "tao/corbafwd.h" #if !defined (ACE_LACKS_PRAGMA_ONCE) # pragma once #endif /* ACE_LACKS_PRAGMA_ONCE */ + #include "portableserver_export.h" #include "tao/Exception.h" @@ -59,42 +64,50 @@ #pragma option push -w-rvl -w-rch -w-ccc -w-inl #endif /* __BORLANDC__ */ +// TAO_IDL - Generated from +// be/be_visitor_module/module_ch.cpp:48 + TAO_NAMESPACE ImplementationRepository { - + + // TAO_IDL - Generated from + // be/be_visitor_interface/interface_ch.cpp:52 + #if !defined (_IMPLEMENTATIONREPOSITORY_SERVEROBJECT___PTR_CH_) #define _IMPLEMENTATIONREPOSITORY_SERVEROBJECT___PTR_CH_ - + class ServerObject; typedef ServerObject *ServerObject_ptr; - + #endif /* end #if !defined */ - - + #if !defined (_IMPLEMENTATIONREPOSITORY_SERVEROBJECT___VAR_CH_) #define _IMPLEMENTATIONREPOSITORY_SERVEROBJECT___VAR_CH_ - + + // TAO_IDL - Generated from + // be/be_interface.cpp:571 + class TAO_PortableServer_Export ServerObject_var : public TAO_Base_var { public: ServerObject_var (void); // default constructor - ServerObject_var (ServerObject_ptr p) : ptr_ (p) {} + ServerObject_var (ServerObject_ptr p) : ptr_ (p) {} ServerObject_var (const ServerObject_var &); // copy constructor ~ServerObject_var (void); // destructor - + ServerObject_var &operator= (ServerObject_ptr); ServerObject_var &operator= (const ServerObject_var &); ServerObject_ptr operator-> (void) const; - + operator const ServerObject_ptr &() const; operator ServerObject_ptr &(); - // in, inout, out, _retn + // in, inout, out, _retn ServerObject_ptr in (void) const; ServerObject_ptr &inout (void); ServerObject_ptr &out (void); ServerObject_ptr _retn (void); ServerObject_ptr ptr (void) const; - + // Hooks used by template sequence and object manager classes // for non-defined forward declared interfaces. static ServerObject_ptr tao_duplicate (ServerObject_ptr); @@ -105,7 +118,7 @@ TAO_NAMESPACE ImplementationRepository ACE_ENV_ARG_DECL_NOT_USED ); static CORBA::Object * tao_upcast (void *); - + private: ServerObject_ptr ptr_; // Unimplemented - prevents widening assignment. @@ -113,13 +126,14 @@ TAO_NAMESPACE ImplementationRepository ServerObject_var &operator= (const TAO_Base_var &rhs); }; - #endif /* end #if !defined */ - - + #if !defined (_IMPLEMENTATIONREPOSITORY_SERVEROBJECT___OUT_CH_) #define _IMPLEMENTATIONREPOSITORY_SERVEROBJECT___OUT_CH_ - + + // TAO_IDL - Generated from + // be/be_interface.cpp:946 + class TAO_PortableServer_Export ServerObject_out { public: @@ -132,127 +146,130 @@ TAO_NAMESPACE ImplementationRepository operator ServerObject_ptr &(); ServerObject_ptr &ptr (void); ServerObject_ptr operator-> (void); - + private: ServerObject_ptr &ptr_; }; - - + #endif /* end #if !defined */ - - // ************************************************************* - // ImplementationRepository::ServerObject + // TAO_IDL - Generated from - // be/be_visitor_interface/interface_ch.cpp:106 - // ************************************************************* - - + // be/be_visitor_interface/interface_ch.cpp:110 + #if !defined (_IMPLEMENTATIONREPOSITORY_SERVEROBJECT_CH_) #define _IMPLEMENTATIONREPOSITORY_SERVEROBJECT_CH_ - - // Forward Classes Declaration. + class _TAO_ServerObject_Proxy_Impl; class _TAO_ServerObject_Remote_Proxy_Impl; class _TAO_ServerObject_Proxy_Broker; class _TAO_ServerObject_Remote_Proxy_Broker; - + class TAO_PortableServer_Export ServerObject - : public virtual CORBA_Object + : public virtual CORBA::Object { public: - #if !defined(__GNUC__) || !defined (ACE_HAS_GNUG_PRE_2_8) typedef ServerObject_ptr _ptr_type; typedef ServerObject_var _var_type; - #endif /* ! __GNUC__ || g++ >= 2.8 */ - static int _tao_class_id; - + // The static operations. static ServerObject_ptr _duplicate (ServerObject_ptr obj); - + static ServerObject_ptr _narrow ( CORBA::Object_ptr obj ACE_ENV_ARG_DECL_WITH_DEFAULTS ); - + static ServerObject_ptr _unchecked_narrow ( CORBA::Object_ptr obj ACE_ENV_ARG_DECL_WITH_DEFAULTS ); - + static ServerObject_ptr _nil (void) { return (ServerObject_ptr)0; } - - static void _tao_any_destructor (void*); - + + static void _tao_any_destructor (void *); + + // TAO_IDL - Generated from + // be/be_visitor_operation/operation_ch.cpp:46 + virtual void ping ( - ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS ) ACE_THROW_SPEC (( CORBA::SystemException )); - + + // TAO_IDL - Generated from + // be/be_visitor_operation/operation_ch.cpp:46 + virtual void shutdown ( - ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS ) ACE_THROW_SPEC (( CORBA::SystemException )); - + + // TAO_IDL - Generated from + // be/be_visitor_interface/interface_ch.cpp:267 + virtual CORBA::Boolean _is_a ( - const CORBA::Char *type_id + const char *type_id ACE_ENV_ARG_DECL_WITH_DEFAULTS ); - + virtual void *_tao_QueryInterface (ptr_arith_t type); - - virtual const char* _interface_repository_id (void) const; + virtual const char* _interface_repository_id (void) const; private: _TAO_ServerObject_Proxy_Broker *the_TAO_ServerObject_Proxy_Broker_; - + protected: ServerObject (int collocated = 0); - + // These methods travese the inheritance tree and set the - // parents piece of the given class in the right mode + // parents piece of the given class in the right mode. virtual void ImplementationRepository_ServerObject_setup_collocation (int collocated); - + ServerObject ( - TAO_Stub *objref, + TAO_Stub *objref, CORBA::Boolean _tao_collocated = 0, TAO_Abstract_ServantBase *servant = 0 ); - + virtual ~ServerObject (void); + friend class _TAO_ServerObject_Remote_Proxy_Impl; friend class _TAO_ServerObject_ThruPOA_Proxy_Impl; friend class _TAO_ServerObject_Direct_Proxy_Impl; - - virtual ~ServerObject (void); - + private: ServerObject (const ServerObject &); void operator= (const ServerObject &); }; - + // The Proxy Implementations are used by each interface to - // perform a call. Each different implementation encapsulate - // an invocation logics. - - + // perform a call. Each different implementation encapsulates + // an invocation logic. + + /////////////////////////////////////////////////////////////////////// // Base Proxy Impl. Declaration // - + + // TAO_IDL - Generated from + // be/be_visitor_interface/base_proxy_impl_ch.cpp:35 + class TAO_PortableServer_Export _TAO_ServerObject_Proxy_Impl : public virtual TAO_Object_Proxy_Impl { public: - virtual ~_TAO_ServerObject_Proxy_Impl (void) { } + virtual ~_TAO_ServerObject_Proxy_Impl (void) {} + + // TAO_IDL - Generated from + // be/be_visitor_operation/base_proxy_impl_ch.cpp:24 + virtual void ping ( CORBA_Object *_collocated_tao_target_ ACE_ENV_ARG_DECL @@ -260,7 +277,10 @@ TAO_NAMESPACE ImplementationRepository ACE_THROW_SPEC (( CORBA::SystemException )) = 0; - + + // TAO_IDL - Generated from + // be/be_visitor_operation/base_proxy_impl_ch.cpp:24 + virtual void shutdown ( CORBA_Object *_collocated_tao_target_ ACE_ENV_ARG_DECL @@ -268,29 +288,35 @@ TAO_NAMESPACE ImplementationRepository ACE_THROW_SPEC (( CORBA::SystemException )) = 0; - - + protected: _TAO_ServerObject_Proxy_Impl (void); }; - + // // End Base Proxy Impl. Declaration /////////////////////////////////////////////////////////////////////// - - + + /////////////////////////////////////////////////////////////////////// // Remote Proxy Impl. Declaration // - + + // TAO_IDL - Generated from + // be/be_visitor_interface/remote_proxy_impl_ch.cpp:37 + class TAO_PortableServer_Export _TAO_ServerObject_Remote_Proxy_Impl : public virtual _TAO_ServerObject_Proxy_Impl, public virtual TAO_Remote_Object_Proxy_Impl { public: _TAO_ServerObject_Remote_Proxy_Impl (void); - - virtual ~_TAO_ServerObject_Remote_Proxy_Impl (void) { } + + virtual ~_TAO_ServerObject_Remote_Proxy_Impl (void) {} + + // TAO_IDL - Generated from + // be/be_visitor_operation/proxy_impl_xh.cpp:24 + virtual void ping ( CORBA_Object *_collocated_tao_target_ ACE_ENV_ARG_DECL @@ -298,7 +324,10 @@ TAO_NAMESPACE ImplementationRepository ACE_THROW_SPEC (( CORBA::SystemException )); - + + // TAO_IDL - Generated from + // be/be_visitor_operation/proxy_impl_xh.cpp:24 + virtual void shutdown ( CORBA_Object *_collocated_tao_target_ ACE_ENV_ARG_DECL @@ -306,25 +335,25 @@ TAO_NAMESPACE ImplementationRepository ACE_THROW_SPEC (( CORBA::SystemException )); - - }; - + // // End Remote Proxy Impl. Declaration /////////////////////////////////////////////////////////////////////// - + // The Proxy Brokers are used by each interface to get - // the right proxy for performing a call. In the new + // the right proxy for performing a call. In the new // collocation scheme, the proxy to be used can vary on // a call by call basis. - - + /////////////////////////////////////////////////////////////////////// - // Base Proxy Broker Declaration + // Base Proxy Broker Declaration // - - class TAO_PortableServer_Export _TAO_ServerObject_Proxy_Broker + + // TAO_IDL - Generated from + // be/be_visitor_interface/base_proxy_broker_ch.cpp:35 + + class TAO_PortableServer_Export _TAO_ServerObject_Proxy_Broker { public: virtual ~_TAO_ServerObject_Proxy_Broker (void); @@ -332,68 +361,75 @@ TAO_NAMESPACE ImplementationRepository ServerObject *object ACE_ENV_ARG_DECL_WITH_DEFAULTS ) = 0; - + protected: _TAO_ServerObject_Proxy_Broker (void); - + }; - + // - // End Base Proxy Broker Declaration + // End Base Proxy Broker Declaration /////////////////////////////////////////////////////////////////////// - - + + /////////////////////////////////////////////////////////////////////// - // Remote Proxy Broker Declaration + // Remote Proxy Broker Declaration // - + + // TAO_IDL - Generated from + // be/be_visitor_interface/remote_proxy_broker_ch.cpp:40 + class TAO_PortableServer_Export _TAO_ServerObject_Remote_Proxy_Broker : public virtual _TAO_ServerObject_Proxy_Broker { - public: + public: _TAO_ServerObject_Remote_Proxy_Broker (void); - + virtual ~_TAO_ServerObject_Remote_Proxy_Broker (void); - + virtual _TAO_ServerObject_Proxy_Impl &select_proxy ( ServerObject *object ACE_ENV_ARG_DECL ); - + private: _TAO_ServerObject_Remote_Proxy_Impl remote_proxy_impl_; - + public: // This member function is used to get an handle to the unique instance // of the Remote Proxy Broker that is available for a given // interface. static _TAO_ServerObject_Remote_Proxy_Broker *the_TAO_ServerObject_Remote_Proxy_Broker (void); }; - + // - // End Remote Proxy Broker Declaration + // End Remote Proxy Broker Declaration /////////////////////////////////////////////////////////////////////// - - + #endif /* end #if !defined */ - + + // TAO_IDL - Generated from + // be/be_visitor_typecode/typecode_decl.cpp:44 + TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_ServerObject; - - + + // TAO_IDL - Generated from + // be/be_visitor_exception/exception_ch.cpp:51 + #if !defined (_IMPLEMENTATIONREPOSITORY_ALREADYREGISTERED_CH_) #define _IMPLEMENTATIONREPOSITORY_ALREADYREGISTERED_CH_ - + class TAO_PortableServer_Export AlreadyRegistered : public CORBA::UserException { public: - + AlreadyRegistered (void); AlreadyRegistered (const AlreadyRegistered &); ~AlreadyRegistered (void); AlreadyRegistered &operator= (const AlreadyRegistered &); - static void _tao_any_destructor (void*); + static void _tao_any_destructor (void *); static AlreadyRegistered *_downcast (CORBA::Exception *); static CORBA::Exception *_alloc (void); @@ -406,37 +442,43 @@ TAO_NAMESPACE ImplementationRepository TAO_OutputCDR & ACE_ENV_ARG_DECL_NOT_USED ) const; - + virtual void _tao_decode ( TAO_InputCDR & ACE_ENV_ARG_DECL_NOT_USED ); - - + + // TAO_IDL - Generated from + // be/be_visitor_exception/exception_ch.cpp:125 + virtual CORBA::TypeCode_ptr _type (void) const; }; -TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_AlreadyRegistered; - - + // TAO_IDL - Generated from + // be/be_visitor_typecode/typecode_decl.cpp:44 + + TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_AlreadyRegistered; + #endif /* end #if !defined */ - - + + // TAO_IDL - Generated from + // be/be_visitor_exception/exception_ch.cpp:51 + #if !defined (_IMPLEMENTATIONREPOSITORY_CANNOTACTIVATE_CH_) #define _IMPLEMENTATIONREPOSITORY_CANNOTACTIVATE_CH_ - + class TAO_PortableServer_Export CannotActivate : public CORBA::UserException { public: + TAO_String_Manager reason; - CannotActivate (void); CannotActivate (const CannotActivate &); ~CannotActivate (void); CannotActivate &operator= (const CannotActivate &); - static void _tao_any_destructor (void*); + static void _tao_any_destructor (void *); static CannotActivate *_downcast (CORBA::Exception *); static CORBA::Exception *_alloc (void); @@ -449,39 +491,49 @@ TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_AlreadyRegistered; TAO_OutputCDR & ACE_ENV_ARG_DECL_NOT_USED ) const; - + virtual void _tao_decode ( TAO_InputCDR & ACE_ENV_ARG_DECL_NOT_USED ); - - CannotActivate ( + + // TAO_IDL - Generated from + // be/be_visitor_exception/exception_ctor.cpp:66 + + CannotActivate ( const char * _tao_reason ); - + + // TAO_IDL - Generated from + // be/be_visitor_exception/exception_ch.cpp:125 + virtual CORBA::TypeCode_ptr _type (void) const; }; -TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_CannotActivate; - - + // TAO_IDL - Generated from + // be/be_visitor_typecode/typecode_decl.cpp:44 + + TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_CannotActivate; + #endif /* end #if !defined */ - - + + // TAO_IDL - Generated from + // be/be_visitor_exception/exception_ch.cpp:51 + #if !defined (_IMPLEMENTATIONREPOSITORY_NOTFOUND_CH_) #define _IMPLEMENTATIONREPOSITORY_NOTFOUND_CH_ - + class TAO_PortableServer_Export NotFound : public CORBA::UserException { public: - + NotFound (void); NotFound (const NotFound &); ~NotFound (void); NotFound &operator= (const NotFound &); - static void _tao_any_destructor (void*); + static void _tao_any_destructor (void *); static NotFound *_downcast (CORBA::Exception *); static CORBA::Exception *_alloc (void); @@ -494,38 +546,42 @@ TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_CannotActivate; TAO_OutputCDR & ACE_ENV_ARG_DECL_NOT_USED ) const; - + virtual void _tao_decode ( TAO_InputCDR & ACE_ENV_ARG_DECL_NOT_USED ); - - + + // TAO_IDL - Generated from + // be/be_visitor_exception/exception_ch.cpp:125 + virtual CORBA::TypeCode_ptr _type (void) const; }; -TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_NotFound; - - + // TAO_IDL - Generated from + // be/be_visitor_typecode/typecode_decl.cpp:44 + + TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_NotFound; + #endif /* end #if !defined */ - - struct EnvironmentVariable; + + // TAO_IDL - Generated from + // be/be_visitor_structure/structure_ch.cpp:49 + class EnvironmentVariable_var; - + struct TAO_PortableServer_Export EnvironmentVariable { - -#if !defined(__GNUC__) || !defined (ACE_HAS_GNUG_PRE_2_8) typedef EnvironmentVariable_var _var_type; -#endif /* ! __GNUC__ || g++ >= 2.8 */ - static void _tao_any_destructor (void*); - + static void _tao_any_destructor (void *); TAO_String_Manager name; TAO_String_Manager value; - }; - + + // TAO_IDL - Generated from + // be/be_structure.cpp:71 + class TAO_PortableServer_Export EnvironmentVariable_var { public: @@ -533,29 +589,33 @@ TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_NotFound; EnvironmentVariable_var (EnvironmentVariable *); EnvironmentVariable_var (const EnvironmentVariable_var &); ~EnvironmentVariable_var (void); - + EnvironmentVariable_var &operator= (EnvironmentVariable *); EnvironmentVariable_var &operator= (const EnvironmentVariable_var &); EnvironmentVariable *operator-> (void); const EnvironmentVariable *operator-> (void) const; - + operator const EnvironmentVariable &() const; operator EnvironmentVariable &(); operator EnvironmentVariable &() const; + // Variable-size types only. operator EnvironmentVariable *&(); - - // in, inout, out, _retn + + // in, inout, out, _retn const EnvironmentVariable &in (void) const; EnvironmentVariable &inout (void); EnvironmentVariable *&out (void); EnvironmentVariable *_retn (void); EnvironmentVariable *ptr (void) const; - + private: EnvironmentVariable *ptr_; }; - + + // TAO_IDL - Generated from + // be/be_structure.cpp:445 + class TAO_PortableServer_Export EnvironmentVariable_out { public: @@ -567,33 +627,44 @@ TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_NotFound; operator EnvironmentVariable *&(); EnvironmentVariable *&ptr (void); EnvironmentVariable *operator-> (void); - + private: EnvironmentVariable *&ptr_; // Assignment from T_var not allowed. void operator= (const EnvironmentVariable_var &); }; - + + // TAO_IDL - Generated from + // be/be_visitor_typecode/typecode_decl.cpp:44 + TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_EnvironmentVariable; - + + // TAO_IDL - Generated from + // be/be_visitor_typedef/typedef_ch.cpp:368 + typedef char * Address; typedef CORBA::String_var Address_var; typedef CORBA::String_out Address_out; + + // TAO_IDL - Generated from + // be/be_visitor_typecode/typecode_decl.cpp:44 + TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_Address; - - + + // TAO_IDL - Generated from + // be/be_visitor_sequence/gen_unbounded_sequence_ch.cpp:65 + #if !defined (TAO_USE_SEQUENCE_TEMPLATES) - + #if !defined (__TAO_UNBOUNDED_SEQUENCE_IMPLEMENTATIONREPOSITORY_ENVIRONMENTLIST_CH_) #define __TAO_UNBOUNDED_SEQUENCE_IMPLEMENTATIONREPOSITORY_ENVIRONMENTLIST_CH_ - - class TAO_EXPORT_MACRO _TAO_Unbounded_Sequence_ImplementationRepository_EnvironmentList + + class TAO_PortableServer_Export _TAO_Unbounded_Sequence_ImplementationRepository_EnvironmentList : public TAO_Unbounded_Base_Sequence { public: - // = Initialization and termination methods. _TAO_Unbounded_Sequence_ImplementationRepository_EnvironmentList (void); - _TAO_Unbounded_Sequence_ImplementationRepository_EnvironmentList (CORBA::ULong maximum); + _TAO_Unbounded_Sequence_ImplementationRepository_EnvironmentList (CORBA::ULong maximum); _TAO_Unbounded_Sequence_ImplementationRepository_EnvironmentList ( CORBA::ULong maximum, CORBA::ULong length, @@ -607,15 +678,15 @@ TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_NotFound; const _TAO_Unbounded_Sequence_ImplementationRepository_EnvironmentList &rhs ); virtual ~_TAO_Unbounded_Sequence_ImplementationRepository_EnvironmentList (void); - + // = Accessors. EnvironmentVariable &operator[] (CORBA::ULong i); const EnvironmentVariable &operator[] (CORBA::ULong i) const; - + // = Static operations. static EnvironmentVariable *allocbuf (CORBA::ULong size); static void freebuf (EnvironmentVariable *buffer); - + // Implement the TAO_Base_Sequence methods (see Sequence.h) virtual void _allocate_buffer (CORBA::ULong length); virtual void _deallocate_buffer (void); @@ -628,59 +699,65 @@ TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_NotFound; CORBA::Boolean release ); }; - + #endif /* end #if !defined */ - - -#endif /* !TAO_USE_SEQUENCE_TEMPLATES */ - + +#endif /* !TAO_USE_SEQUENCE_TEMPLATES */ + #if !defined (_IMPLEMENTATIONREPOSITORY_ENVIRONMENTLIST_CH_) #define _IMPLEMENTATIONREPOSITORY_ENVIRONMENTLIST_CH_ - + + // TAO_IDL - Generated from + // be/be_visitor_sequence/sequence_ch.cpp:371 + class EnvironmentList; class EnvironmentList_var; - + // ************************************************************* - // EnvironmentList + // ImplementationRepository::EnvironmentList // ************************************************************* - - class TAO_PortableServer_Export EnvironmentList : public + + class TAO_PortableServer_Export EnvironmentList : public + + // TAO_IDL - Generated from + // be/be_visitor_sequence/sequence_ch.cpp:51 + #if !defined (TAO_USE_SEQUENCE_TEMPLATES) _TAO_Unbounded_Sequence_ImplementationRepository_EnvironmentList #else /* TAO_USE_SEQUENCE_TEMPLATES */ TAO_Unbounded_Sequence<EnvironmentVariable> -#endif /* !TAO_USE_SEQUENCE_TEMPLATES */ + +#endif /* !TAO_USE_SEQUENCE_TEMPLATES */ { public: - EnvironmentList (void); // default ctor - EnvironmentList (CORBA::ULong max); // uses max size + EnvironmentList (void); + EnvironmentList (CORBA::ULong max); EnvironmentList ( - CORBA::ULong max, - CORBA::ULong length, - EnvironmentVariable *buffer, + CORBA::ULong max, + CORBA::ULong length, + EnvironmentVariable *buffer, CORBA::Boolean release = 0 ); - EnvironmentList (const EnvironmentList &); // copy ctor + EnvironmentList (const EnvironmentList &); ~EnvironmentList (void); + static void _tao_any_destructor (void*); - -#if !defined(__GNUC__) || !defined (ACE_HAS_GNUG_PRE_2_8) + typedef EnvironmentList_var _var_type; -#endif /* ! __GNUC__ || g++ >= 2.8 */ - - }; - + #endif /* end #if !defined */ - - + #if !defined (_IMPLEMENTATIONREPOSITORY_ENVIRONMENTLIST___VAR_CH_) #define _IMPLEMENTATIONREPOSITORY_ENVIRONMENTLIST___VAR_CH_ - + + // TAO_IDL - Generated from + // be/be_visitor_sequence/sequence_ch.cpp:549 + // ************************************************************* // class ImplementationRepository::EnvironmentList_var // ************************************************************* - + class TAO_PortableServer_Export EnvironmentList_var { public: @@ -688,38 +765,41 @@ TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_NotFound; EnvironmentList_var (EnvironmentList *); EnvironmentList_var (const EnvironmentList_var &); ~EnvironmentList_var (void); - + EnvironmentList_var &operator= (EnvironmentList *); EnvironmentList_var &operator= (const EnvironmentList_var &); EnvironmentList *operator-> (void); const EnvironmentList *operator-> (void) const; - + operator const EnvironmentList &() const; operator EnvironmentList &(); operator EnvironmentList &() const; - operator EnvironmentList *&(); // variable-size base types only - + + // Variable-size base types only. + operator EnvironmentList *&(); + EnvironmentVariable & operator[] (CORBA::ULong index); const EnvironmentVariable & operator[] (CORBA::ULong index) const; - - // in, inout, out, _retn + + // in, inout, out, _retn const EnvironmentList &in (void) const; EnvironmentList &inout (void); EnvironmentList *&out (void); EnvironmentList *_retn (void); EnvironmentList *ptr (void) const; - + private: EnvironmentList *ptr_; }; - - + #endif /* end #if !defined */ - - + #if !defined (_IMPLEMENTATIONREPOSITORY_ENVIRONMENTLIST___OUT_CH_) #define _IMPLEMENTATIONREPOSITORY_ENVIRONMENTLIST___OUT_CH_ - + + // TAO_IDL - Generated from + // be/be_visitor_sequence/sequence_ch.cpp:753 + class TAO_PortableServer_Export EnvironmentList_out { public: @@ -732,18 +812,23 @@ TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_NotFound; EnvironmentList *&ptr (void); EnvironmentList *operator-> (void); EnvironmentVariable & operator[] (CORBA::ULong index); - + private: EnvironmentList *&ptr_; // Assignment from T_var not allowed. void operator= (const EnvironmentList_var &); }; - - + #endif /* end #if !defined */ - + + // TAO_IDL - Generated from + // be/be_visitor_typecode/typecode_decl.cpp:44 + TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_EnvironmentList; - + + // TAO_IDL - Generated from + // be/be_visitor_enum/enum_ch.cpp:57 + enum ActivationMode { NORMAL, @@ -751,30 +836,34 @@ TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_NotFound; PER_CLIENT, AUTO_START }; - + typedef ActivationMode &ActivationMode_out; + + // TAO_IDL - Generated from + // be/be_visitor_typecode/typecode_decl.cpp:44 + TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_ActivationMode; - - struct StartupOptions; + + // TAO_IDL - Generated from + // be/be_visitor_structure/structure_ch.cpp:49 + class StartupOptions_var; - + struct TAO_PortableServer_Export StartupOptions { - -#if !defined(__GNUC__) || !defined (ACE_HAS_GNUG_PRE_2_8) typedef StartupOptions_var _var_type; -#endif /* ! __GNUC__ || g++ >= 2.8 */ - static void _tao_any_destructor (void*); - + static void _tao_any_destructor (void *); TAO_String_Manager command_line; - ACE_NESTED_CLASS (ImplementationRepository, EnvironmentList) environment; + ImplementationRepository::EnvironmentList environment; TAO_String_Manager working_directory; - ACE_NESTED_CLASS (ImplementationRepository, ActivationMode) activation; + ImplementationRepository::ActivationMode activation; TAO_String_Manager location; - }; - + + // TAO_IDL - Generated from + // be/be_structure.cpp:71 + class TAO_PortableServer_Export StartupOptions_var { public: @@ -782,29 +871,33 @@ TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_NotFound; StartupOptions_var (StartupOptions *); StartupOptions_var (const StartupOptions_var &); ~StartupOptions_var (void); - + StartupOptions_var &operator= (StartupOptions *); StartupOptions_var &operator= (const StartupOptions_var &); StartupOptions *operator-> (void); const StartupOptions *operator-> (void) const; - + operator const StartupOptions &() const; operator StartupOptions &(); operator StartupOptions &() const; + // Variable-size types only. operator StartupOptions *&(); - - // in, inout, out, _retn + + // in, inout, out, _retn const StartupOptions &in (void) const; StartupOptions &inout (void); StartupOptions *&out (void); StartupOptions *_retn (void); StartupOptions *ptr (void) const; - + private: StartupOptions *ptr_; }; - + + // TAO_IDL - Generated from + // be/be_structure.cpp:445 + class TAO_PortableServer_Export StartupOptions_out { public: @@ -816,34 +909,37 @@ TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_NotFound; operator StartupOptions *&(); StartupOptions *&ptr (void); StartupOptions *operator-> (void); - + private: StartupOptions *&ptr_; // Assignment from T_var not allowed. void operator= (const StartupOptions_var &); }; - + + // TAO_IDL - Generated from + // be/be_visitor_typecode/typecode_decl.cpp:44 + TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_StartupOptions; - - struct ServerInformation; + + // TAO_IDL - Generated from + // be/be_visitor_structure/structure_ch.cpp:49 + class ServerInformation_var; - + struct TAO_PortableServer_Export ServerInformation { - -#if !defined(__GNUC__) || !defined (ACE_HAS_GNUG_PRE_2_8) typedef ServerInformation_var _var_type; -#endif /* ! __GNUC__ || g++ >= 2.8 */ - static void _tao_any_destructor (void*); - + static void _tao_any_destructor (void *); TAO_String_Manager logical_server; TAO_String_Manager server; - ACE_NESTED_CLASS (ImplementationRepository, StartupOptions) startup; + ImplementationRepository::StartupOptions startup; TAO_String_Manager location; - }; - + + // TAO_IDL - Generated from + // be/be_structure.cpp:71 + class TAO_PortableServer_Export ServerInformation_var { public: @@ -851,29 +947,33 @@ TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_NotFound; ServerInformation_var (ServerInformation *); ServerInformation_var (const ServerInformation_var &); ~ServerInformation_var (void); - + ServerInformation_var &operator= (ServerInformation *); ServerInformation_var &operator= (const ServerInformation_var &); ServerInformation *operator-> (void); const ServerInformation *operator-> (void) const; - + operator const ServerInformation &() const; operator ServerInformation &(); operator ServerInformation &() const; + // Variable-size types only. operator ServerInformation *&(); - - // in, inout, out, _retn + + // in, inout, out, _retn const ServerInformation &in (void) const; ServerInformation &inout (void); ServerInformation *&out (void); ServerInformation *_retn (void); ServerInformation *ptr (void) const; - + private: ServerInformation *ptr_; }; - + + // TAO_IDL - Generated from + // be/be_structure.cpp:445 + class TAO_PortableServer_Export ServerInformation_out { public: @@ -885,28 +985,32 @@ TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_NotFound; operator ServerInformation *&(); ServerInformation *&ptr (void); ServerInformation *operator-> (void); - + private: ServerInformation *&ptr_; // Assignment from T_var not allowed. void operator= (const ServerInformation_var &); }; - + + // TAO_IDL - Generated from + // be/be_visitor_typecode/typecode_decl.cpp:44 + TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_ServerInformation; - - + + // TAO_IDL - Generated from + // be/be_visitor_sequence/gen_unbounded_sequence_ch.cpp:65 + #if !defined (TAO_USE_SEQUENCE_TEMPLATES) - + #if !defined (__TAO_UNBOUNDED_SEQUENCE_IMPLEMENTATIONREPOSITORY_SERVERINFORMATIONLIST_CH_) #define __TAO_UNBOUNDED_SEQUENCE_IMPLEMENTATIONREPOSITORY_SERVERINFORMATIONLIST_CH_ - - class TAO_EXPORT_MACRO _TAO_Unbounded_Sequence_ImplementationRepository_ServerInformationList + + class TAO_PortableServer_Export _TAO_Unbounded_Sequence_ImplementationRepository_ServerInformationList : public TAO_Unbounded_Base_Sequence { public: - // = Initialization and termination methods. _TAO_Unbounded_Sequence_ImplementationRepository_ServerInformationList (void); - _TAO_Unbounded_Sequence_ImplementationRepository_ServerInformationList (CORBA::ULong maximum); + _TAO_Unbounded_Sequence_ImplementationRepository_ServerInformationList (CORBA::ULong maximum); _TAO_Unbounded_Sequence_ImplementationRepository_ServerInformationList ( CORBA::ULong maximum, CORBA::ULong length, @@ -920,15 +1024,15 @@ TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_NotFound; const _TAO_Unbounded_Sequence_ImplementationRepository_ServerInformationList &rhs ); virtual ~_TAO_Unbounded_Sequence_ImplementationRepository_ServerInformationList (void); - + // = Accessors. ServerInformation &operator[] (CORBA::ULong i); const ServerInformation &operator[] (CORBA::ULong i) const; - + // = Static operations. static ServerInformation *allocbuf (CORBA::ULong size); static void freebuf (ServerInformation *buffer); - + // Implement the TAO_Base_Sequence methods (see Sequence.h) virtual void _allocate_buffer (CORBA::ULong length); virtual void _deallocate_buffer (void); @@ -941,59 +1045,65 @@ TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_NotFound; CORBA::Boolean release ); }; - + #endif /* end #if !defined */ - - -#endif /* !TAO_USE_SEQUENCE_TEMPLATES */ - + +#endif /* !TAO_USE_SEQUENCE_TEMPLATES */ + #if !defined (_IMPLEMENTATIONREPOSITORY_SERVERINFORMATIONLIST_CH_) #define _IMPLEMENTATIONREPOSITORY_SERVERINFORMATIONLIST_CH_ - + + // TAO_IDL - Generated from + // be/be_visitor_sequence/sequence_ch.cpp:371 + class ServerInformationList; class ServerInformationList_var; - + // ************************************************************* - // ServerInformationList + // ImplementationRepository::ServerInformationList // ************************************************************* - - class TAO_PortableServer_Export ServerInformationList : public + + class TAO_PortableServer_Export ServerInformationList : public + + // TAO_IDL - Generated from + // be/be_visitor_sequence/sequence_ch.cpp:51 + #if !defined (TAO_USE_SEQUENCE_TEMPLATES) _TAO_Unbounded_Sequence_ImplementationRepository_ServerInformationList #else /* TAO_USE_SEQUENCE_TEMPLATES */ TAO_Unbounded_Sequence<ServerInformation> -#endif /* !TAO_USE_SEQUENCE_TEMPLATES */ + +#endif /* !TAO_USE_SEQUENCE_TEMPLATES */ { public: - ServerInformationList (void); // default ctor - ServerInformationList (CORBA::ULong max); // uses max size + ServerInformationList (void); + ServerInformationList (CORBA::ULong max); ServerInformationList ( - CORBA::ULong max, - CORBA::ULong length, - ServerInformation *buffer, + CORBA::ULong max, + CORBA::ULong length, + ServerInformation *buffer, CORBA::Boolean release = 0 ); - ServerInformationList (const ServerInformationList &); // copy ctor + ServerInformationList (const ServerInformationList &); ~ServerInformationList (void); + static void _tao_any_destructor (void*); - -#if !defined(__GNUC__) || !defined (ACE_HAS_GNUG_PRE_2_8) + typedef ServerInformationList_var _var_type; -#endif /* ! __GNUC__ || g++ >= 2.8 */ - - }; - + #endif /* end #if !defined */ - - + #if !defined (_IMPLEMENTATIONREPOSITORY_SERVERINFORMATIONLIST___VAR_CH_) #define _IMPLEMENTATIONREPOSITORY_SERVERINFORMATIONLIST___VAR_CH_ - + + // TAO_IDL - Generated from + // be/be_visitor_sequence/sequence_ch.cpp:549 + // ************************************************************* // class ImplementationRepository::ServerInformationList_var // ************************************************************* - + class TAO_PortableServer_Export ServerInformationList_var { public: @@ -1001,38 +1111,41 @@ TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_NotFound; ServerInformationList_var (ServerInformationList *); ServerInformationList_var (const ServerInformationList_var &); ~ServerInformationList_var (void); - + ServerInformationList_var &operator= (ServerInformationList *); ServerInformationList_var &operator= (const ServerInformationList_var &); ServerInformationList *operator-> (void); const ServerInformationList *operator-> (void) const; - + operator const ServerInformationList &() const; operator ServerInformationList &(); operator ServerInformationList &() const; - operator ServerInformationList *&(); // variable-size base types only - + + // Variable-size base types only. + operator ServerInformationList *&(); + ServerInformation & operator[] (CORBA::ULong index); const ServerInformation & operator[] (CORBA::ULong index) const; - - // in, inout, out, _retn + + // in, inout, out, _retn const ServerInformationList &in (void) const; ServerInformationList &inout (void); ServerInformationList *&out (void); ServerInformationList *_retn (void); ServerInformationList *ptr (void) const; - + private: ServerInformationList *ptr_; }; - - + #endif /* end #if !defined */ - - + #if !defined (_IMPLEMENTATIONREPOSITORY_SERVERINFORMATIONLIST___OUT_CH_) #define _IMPLEMENTATIONREPOSITORY_SERVERINFORMATIONLIST___OUT_CH_ - + + // TAO_IDL - Generated from + // be/be_visitor_sequence/sequence_ch.cpp:753 + class TAO_PortableServer_Export ServerInformationList_out { public: @@ -1045,52 +1158,59 @@ TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_NotFound; ServerInformationList *&ptr (void); ServerInformationList *operator-> (void); ServerInformation & operator[] (CORBA::ULong index); - + private: ServerInformationList *&ptr_; // Assignment from T_var not allowed. void operator= (const ServerInformationList_var &); }; - - + #endif /* end #if !defined */ - + + // TAO_IDL - Generated from + // be/be_visitor_typecode/typecode_decl.cpp:44 + TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_ServerInformationList; - + + // TAO_IDL - Generated from + // be/be_visitor_interface_fwd/interface_fwd_ch.cpp:53 + class ServerInformationIterator; - + #if !defined (_IMPLEMENTATIONREPOSITORY_SERVERINFORMATIONITERATOR___PTR_CH_) #define _IMPLEMENTATIONREPOSITORY_SERVERINFORMATIONITERATOR___PTR_CH_ - + typedef ServerInformationIterator *ServerInformationIterator_ptr; - + #endif /* end #if !defined */ - - + #if !defined (_IMPLEMENTATIONREPOSITORY_SERVERINFORMATIONITERATOR___VAR_CH_) #define _IMPLEMENTATIONREPOSITORY_SERVERINFORMATIONITERATOR___VAR_CH_ - + + // TAO_IDL - Generated from + // be/be_interface.cpp:571 + class TAO_PortableServer_Export ServerInformationIterator_var : public TAO_Base_var { public: ServerInformationIterator_var (void); // default constructor - ServerInformationIterator_var (ServerInformationIterator_ptr p) : ptr_ (p) {} + ServerInformationIterator_var (ServerInformationIterator_ptr p) : ptr_ (p) {} ServerInformationIterator_var (const ServerInformationIterator_var &); // copy constructor ~ServerInformationIterator_var (void); // destructor - + ServerInformationIterator_var &operator= (ServerInformationIterator_ptr); ServerInformationIterator_var &operator= (const ServerInformationIterator_var &); ServerInformationIterator_ptr operator-> (void) const; - + operator const ServerInformationIterator_ptr &() const; operator ServerInformationIterator_ptr &(); - // in, inout, out, _retn + // in, inout, out, _retn ServerInformationIterator_ptr in (void) const; ServerInformationIterator_ptr &inout (void); ServerInformationIterator_ptr &out (void); ServerInformationIterator_ptr _retn (void); ServerInformationIterator_ptr ptr (void) const; - + // Hooks used by template sequence and object manager classes // for non-defined forward declared interfaces. static ServerInformationIterator_ptr tao_duplicate (ServerInformationIterator_ptr); @@ -1101,7 +1221,7 @@ TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_NotFound; ACE_ENV_ARG_DECL_NOT_USED ); static CORBA::Object * tao_upcast (void *); - + private: ServerInformationIterator_ptr ptr_; // Unimplemented - prevents widening assignment. @@ -1109,13 +1229,14 @@ TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_NotFound; ServerInformationIterator_var &operator= (const TAO_Base_var &rhs); }; - #endif /* end #if !defined */ - - + #if !defined (_IMPLEMENTATIONREPOSITORY_SERVERINFORMATIONITERATOR___OUT_CH_) #define _IMPLEMENTATIONREPOSITORY_SERVERINFORMATIONITERATOR___OUT_CH_ - + + // TAO_IDL - Generated from + // be/be_interface.cpp:946 + class TAO_PortableServer_Export ServerInformationIterator_out { public: @@ -1128,48 +1249,51 @@ TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_NotFound; operator ServerInformationIterator_ptr &(); ServerInformationIterator_ptr &ptr (void); ServerInformationIterator_ptr operator-> (void); - + private: ServerInformationIterator_ptr &ptr_; }; - - + #endif /* end #if !defined */ - - + + // TAO_IDL - Generated from + // be/be_visitor_interface/interface_ch.cpp:52 + #if !defined (_IMPLEMENTATIONREPOSITORY_ADMINISTRATION___PTR_CH_) #define _IMPLEMENTATIONREPOSITORY_ADMINISTRATION___PTR_CH_ - + class Administration; typedef Administration *Administration_ptr; - + #endif /* end #if !defined */ - - + #if !defined (_IMPLEMENTATIONREPOSITORY_ADMINISTRATION___VAR_CH_) #define _IMPLEMENTATIONREPOSITORY_ADMINISTRATION___VAR_CH_ - + + // TAO_IDL - Generated from + // be/be_interface.cpp:571 + class TAO_PortableServer_Export Administration_var : public TAO_Base_var { public: Administration_var (void); // default constructor - Administration_var (Administration_ptr p) : ptr_ (p) {} + Administration_var (Administration_ptr p) : ptr_ (p) {} Administration_var (const Administration_var &); // copy constructor ~Administration_var (void); // destructor - + Administration_var &operator= (Administration_ptr); Administration_var &operator= (const Administration_var &); Administration_ptr operator-> (void) const; - + operator const Administration_ptr &() const; operator Administration_ptr &(); - // in, inout, out, _retn + // in, inout, out, _retn Administration_ptr in (void) const; Administration_ptr &inout (void); Administration_ptr &out (void); Administration_ptr _retn (void); Administration_ptr ptr (void) const; - + // Hooks used by template sequence and object manager classes // for non-defined forward declared interfaces. static Administration_ptr tao_duplicate (Administration_ptr); @@ -1180,7 +1304,7 @@ TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_NotFound; ACE_ENV_ARG_DECL_NOT_USED ); static CORBA::Object * tao_upcast (void *); - + private: Administration_ptr ptr_; // Unimplemented - prevents widening assignment. @@ -1188,13 +1312,14 @@ TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_NotFound; Administration_var &operator= (const TAO_Base_var &rhs); }; - #endif /* end #if !defined */ - - + #if !defined (_IMPLEMENTATIONREPOSITORY_ADMINISTRATION___OUT_CH_) #define _IMPLEMENTATIONREPOSITORY_ADMINISTRATION___OUT_CH_ - + + // TAO_IDL - Generated from + // be/be_interface.cpp:946 + class TAO_PortableServer_Export Administration_out { public: @@ -1207,61 +1332,55 @@ TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_NotFound; operator Administration_ptr &(); Administration_ptr &ptr (void); Administration_ptr operator-> (void); - + private: Administration_ptr &ptr_; }; - - + #endif /* end #if !defined */ - - // ************************************************************* - // ImplementationRepository::Administration + // TAO_IDL - Generated from - // be/be_visitor_interface/interface_ch.cpp:106 - // ************************************************************* - - + // be/be_visitor_interface/interface_ch.cpp:110 + #if !defined (_IMPLEMENTATIONREPOSITORY_ADMINISTRATION_CH_) #define _IMPLEMENTATIONREPOSITORY_ADMINISTRATION_CH_ - - // Forward Classes Declaration. + class _TAO_Administration_Proxy_Impl; class _TAO_Administration_Remote_Proxy_Impl; class _TAO_Administration_Proxy_Broker; class _TAO_Administration_Remote_Proxy_Broker; - + class TAO_PortableServer_Export Administration - : public virtual CORBA_Object + : public virtual CORBA::Object { public: - #if !defined(__GNUC__) || !defined (ACE_HAS_GNUG_PRE_2_8) typedef Administration_ptr _ptr_type; typedef Administration_var _var_type; - #endif /* ! __GNUC__ || g++ >= 2.8 */ - static int _tao_class_id; - + // The static operations. static Administration_ptr _duplicate (Administration_ptr obj); - + static Administration_ptr _narrow ( CORBA::Object_ptr obj ACE_ENV_ARG_DECL_WITH_DEFAULTS ); - + static Administration_ptr _unchecked_narrow ( CORBA::Object_ptr obj ACE_ENV_ARG_DECL_WITH_DEFAULTS ); - + static Administration_ptr _nil (void) { return (Administration_ptr)0; } - - static void _tao_any_destructor (void*); - + + static void _tao_any_destructor (void *); + + // TAO_IDL - Generated from + // be/be_visitor_operation/operation_ch.cpp:46 + virtual void activate_server ( const char * server ACE_ENV_ARG_DECL_WITH_DEFAULTS @@ -1271,7 +1390,10 @@ TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_NotFound; , ImplementationRepository::NotFound , ImplementationRepository::CannotActivate )); - + + // TAO_IDL - Generated from + // be/be_visitor_operation/operation_ch.cpp:46 + virtual char * activate_server_with_startup ( const char * server, CORBA::Long check_startup @@ -1282,7 +1404,10 @@ TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_NotFound; , ImplementationRepository::NotFound , ImplementationRepository::CannotActivate )); - + + // TAO_IDL - Generated from + // be/be_visitor_operation/operation_ch.cpp:46 + virtual void register_server ( const char * server, const ImplementationRepository::StartupOptions & options @@ -1292,7 +1417,10 @@ TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_NotFound; CORBA::SystemException , ImplementationRepository::AlreadyRegistered )); - + + // TAO_IDL - Generated from + // be/be_visitor_operation/operation_ch.cpp:46 + virtual void reregister_server ( const char * server, const ImplementationRepository::StartupOptions & options @@ -1301,7 +1429,10 @@ TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_NotFound; ACE_THROW_SPEC (( CORBA::SystemException )); - + + // TAO_IDL - Generated from + // be/be_visitor_operation/operation_ch.cpp:46 + virtual void remove_server ( const char * server ACE_ENV_ARG_DECL_WITH_DEFAULTS @@ -1310,7 +1441,10 @@ TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_NotFound; CORBA::SystemException , ImplementationRepository::NotFound )); - + + // TAO_IDL - Generated from + // be/be_visitor_operation/operation_ch.cpp:46 + virtual void shutdown_server ( const char * server ACE_ENV_ARG_DECL_WITH_DEFAULTS @@ -1319,7 +1453,10 @@ TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_NotFound; CORBA::SystemException , ImplementationRepository::NotFound )); - + + // TAO_IDL - Generated from + // be/be_visitor_operation/operation_ch.cpp:46 + virtual char * server_is_running ( const char * server, const char * addr, @@ -1330,7 +1467,10 @@ TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_NotFound; CORBA::SystemException , ImplementationRepository::NotFound )); - + + // TAO_IDL - Generated from + // be/be_visitor_operation/operation_ch.cpp:46 + virtual void server_is_shutting_down ( const char * server ACE_ENV_ARG_DECL_WITH_DEFAULTS @@ -1339,7 +1479,10 @@ TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_NotFound; CORBA::SystemException , ImplementationRepository::NotFound )); - + + // TAO_IDL - Generated from + // be/be_visitor_operation/operation_ch.cpp:46 + virtual void find ( const char * server, ImplementationRepository::ServerInformation_out info @@ -1349,7 +1492,10 @@ TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_NotFound; CORBA::SystemException , ImplementationRepository::NotFound )); - + + // TAO_IDL - Generated from + // be/be_visitor_operation/operation_ch.cpp:46 + virtual void list ( CORBA::ULong how_many, ImplementationRepository::ServerInformationList_out server_list, @@ -1359,57 +1505,65 @@ TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_NotFound; ACE_THROW_SPEC (( CORBA::SystemException )); - + + // TAO_IDL - Generated from + // be/be_visitor_interface/interface_ch.cpp:267 + virtual CORBA::Boolean _is_a ( - const CORBA::Char *type_id + const char *type_id ACE_ENV_ARG_DECL_WITH_DEFAULTS ); - + virtual void *_tao_QueryInterface (ptr_arith_t type); - - virtual const char* _interface_repository_id (void) const; + virtual const char* _interface_repository_id (void) const; private: _TAO_Administration_Proxy_Broker *the_TAO_Administration_Proxy_Broker_; - + protected: Administration (int collocated = 0); - + // These methods travese the inheritance tree and set the - // parents piece of the given class in the right mode + // parents piece of the given class in the right mode. virtual void ImplementationRepository_Administration_setup_collocation (int collocated); - + Administration ( - TAO_Stub *objref, + TAO_Stub *objref, CORBA::Boolean _tao_collocated = 0, TAO_Abstract_ServantBase *servant = 0 ); - + virtual ~Administration (void); + friend class _TAO_Administration_Remote_Proxy_Impl; friend class _TAO_Administration_ThruPOA_Proxy_Impl; friend class _TAO_Administration_Direct_Proxy_Impl; - - virtual ~Administration (void); - + private: Administration (const Administration &); void operator= (const Administration &); }; - + // The Proxy Implementations are used by each interface to - // perform a call. Each different implementation encapsulate - // an invocation logics. - - + // perform a call. Each different implementation encapsulates + // an invocation logic. + + /////////////////////////////////////////////////////////////////////// // Base Proxy Impl. Declaration // - + + // TAO_IDL - Generated from + // be/be_visitor_interface/base_proxy_impl_ch.cpp:35 + class TAO_PortableServer_Export _TAO_Administration_Proxy_Impl : public virtual TAO_Object_Proxy_Impl { public: - virtual ~_TAO_Administration_Proxy_Impl (void) { } + virtual ~_TAO_Administration_Proxy_Impl (void) {} + + // TAO_IDL - Generated from + // be/be_visitor_operation/base_proxy_impl_ch.cpp:24 + virtual void activate_server ( CORBA_Object *_collocated_tao_target_, const char * server @@ -1420,7 +1574,10 @@ TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_NotFound; , ImplementationRepository::NotFound , ImplementationRepository::CannotActivate )) = 0; - + + // TAO_IDL - Generated from + // be/be_visitor_operation/base_proxy_impl_ch.cpp:24 + virtual char * activate_server_with_startup ( CORBA_Object *_collocated_tao_target_, const char * server, @@ -1432,7 +1589,10 @@ TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_NotFound; , ImplementationRepository::NotFound , ImplementationRepository::CannotActivate )) = 0; - + + // TAO_IDL - Generated from + // be/be_visitor_operation/base_proxy_impl_ch.cpp:24 + virtual void register_server ( CORBA_Object *_collocated_tao_target_, const char * server, @@ -1443,7 +1603,10 @@ TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_NotFound; CORBA::SystemException , ImplementationRepository::AlreadyRegistered )) = 0; - + + // TAO_IDL - Generated from + // be/be_visitor_operation/base_proxy_impl_ch.cpp:24 + virtual void reregister_server ( CORBA_Object *_collocated_tao_target_, const char * server, @@ -1453,7 +1616,10 @@ TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_NotFound; ACE_THROW_SPEC (( CORBA::SystemException )) = 0; - + + // TAO_IDL - Generated from + // be/be_visitor_operation/base_proxy_impl_ch.cpp:24 + virtual void remove_server ( CORBA_Object *_collocated_tao_target_, const char * server @@ -1463,7 +1629,10 @@ TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_NotFound; CORBA::SystemException , ImplementationRepository::NotFound )) = 0; - + + // TAO_IDL - Generated from + // be/be_visitor_operation/base_proxy_impl_ch.cpp:24 + virtual void shutdown_server ( CORBA_Object *_collocated_tao_target_, const char * server @@ -1473,7 +1642,10 @@ TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_NotFound; CORBA::SystemException , ImplementationRepository::NotFound )) = 0; - + + // TAO_IDL - Generated from + // be/be_visitor_operation/base_proxy_impl_ch.cpp:24 + virtual char * server_is_running ( CORBA_Object *_collocated_tao_target_, const char * server, @@ -1485,7 +1657,10 @@ TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_NotFound; CORBA::SystemException , ImplementationRepository::NotFound )) = 0; - + + // TAO_IDL - Generated from + // be/be_visitor_operation/base_proxy_impl_ch.cpp:24 + virtual void server_is_shutting_down ( CORBA_Object *_collocated_tao_target_, const char * server @@ -1495,7 +1670,10 @@ TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_NotFound; CORBA::SystemException , ImplementationRepository::NotFound )) = 0; - + + // TAO_IDL - Generated from + // be/be_visitor_operation/base_proxy_impl_ch.cpp:24 + virtual void find ( CORBA_Object *_collocated_tao_target_, const char * server, @@ -1506,7 +1684,10 @@ TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_NotFound; CORBA::SystemException , ImplementationRepository::NotFound )) = 0; - + + // TAO_IDL - Generated from + // be/be_visitor_operation/base_proxy_impl_ch.cpp:24 + virtual void list ( CORBA_Object *_collocated_tao_target_, CORBA::ULong how_many, @@ -1517,29 +1698,35 @@ TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_NotFound; ACE_THROW_SPEC (( CORBA::SystemException )) = 0; - - + protected: _TAO_Administration_Proxy_Impl (void); }; - + // // End Base Proxy Impl. Declaration /////////////////////////////////////////////////////////////////////// - - + + /////////////////////////////////////////////////////////////////////// // Remote Proxy Impl. Declaration // - + + // TAO_IDL - Generated from + // be/be_visitor_interface/remote_proxy_impl_ch.cpp:37 + class TAO_PortableServer_Export _TAO_Administration_Remote_Proxy_Impl : public virtual _TAO_Administration_Proxy_Impl, public virtual TAO_Remote_Object_Proxy_Impl { public: _TAO_Administration_Remote_Proxy_Impl (void); - - virtual ~_TAO_Administration_Remote_Proxy_Impl (void) { } + + virtual ~_TAO_Administration_Remote_Proxy_Impl (void) {} + + // TAO_IDL - Generated from + // be/be_visitor_operation/proxy_impl_xh.cpp:24 + virtual void activate_server ( CORBA_Object *_collocated_tao_target_, const char * server @@ -1550,7 +1737,10 @@ TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_NotFound; , ImplementationRepository::NotFound , ImplementationRepository::CannotActivate )); - + + // TAO_IDL - Generated from + // be/be_visitor_operation/proxy_impl_xh.cpp:24 + virtual char * activate_server_with_startup ( CORBA_Object *_collocated_tao_target_, const char * server, @@ -1562,7 +1752,10 @@ TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_NotFound; , ImplementationRepository::NotFound , ImplementationRepository::CannotActivate )); - + + // TAO_IDL - Generated from + // be/be_visitor_operation/proxy_impl_xh.cpp:24 + virtual void register_server ( CORBA_Object *_collocated_tao_target_, const char * server, @@ -1573,7 +1766,10 @@ TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_NotFound; CORBA::SystemException , ImplementationRepository::AlreadyRegistered )); - + + // TAO_IDL - Generated from + // be/be_visitor_operation/proxy_impl_xh.cpp:24 + virtual void reregister_server ( CORBA_Object *_collocated_tao_target_, const char * server, @@ -1583,7 +1779,10 @@ TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_NotFound; ACE_THROW_SPEC (( CORBA::SystemException )); - + + // TAO_IDL - Generated from + // be/be_visitor_operation/proxy_impl_xh.cpp:24 + virtual void remove_server ( CORBA_Object *_collocated_tao_target_, const char * server @@ -1593,7 +1792,10 @@ TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_NotFound; CORBA::SystemException , ImplementationRepository::NotFound )); - + + // TAO_IDL - Generated from + // be/be_visitor_operation/proxy_impl_xh.cpp:24 + virtual void shutdown_server ( CORBA_Object *_collocated_tao_target_, const char * server @@ -1603,7 +1805,10 @@ TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_NotFound; CORBA::SystemException , ImplementationRepository::NotFound )); - + + // TAO_IDL - Generated from + // be/be_visitor_operation/proxy_impl_xh.cpp:24 + virtual char * server_is_running ( CORBA_Object *_collocated_tao_target_, const char * server, @@ -1615,7 +1820,10 @@ TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_NotFound; CORBA::SystemException , ImplementationRepository::NotFound )); - + + // TAO_IDL - Generated from + // be/be_visitor_operation/proxy_impl_xh.cpp:24 + virtual void server_is_shutting_down ( CORBA_Object *_collocated_tao_target_, const char * server @@ -1625,7 +1833,10 @@ TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_NotFound; CORBA::SystemException , ImplementationRepository::NotFound )); - + + // TAO_IDL - Generated from + // be/be_visitor_operation/proxy_impl_xh.cpp:24 + virtual void find ( CORBA_Object *_collocated_tao_target_, const char * server, @@ -1636,7 +1847,10 @@ TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_NotFound; CORBA::SystemException , ImplementationRepository::NotFound )); - + + // TAO_IDL - Generated from + // be/be_visitor_operation/proxy_impl_xh.cpp:24 + virtual void list ( CORBA_Object *_collocated_tao_target_, CORBA::ULong how_many, @@ -1647,25 +1861,25 @@ TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_NotFound; ACE_THROW_SPEC (( CORBA::SystemException )); - - }; - + // // End Remote Proxy Impl. Declaration /////////////////////////////////////////////////////////////////////// - + // The Proxy Brokers are used by each interface to get - // the right proxy for performing a call. In the new + // the right proxy for performing a call. In the new // collocation scheme, the proxy to be used can vary on // a call by call basis. - - + /////////////////////////////////////////////////////////////////////// - // Base Proxy Broker Declaration + // Base Proxy Broker Declaration // - - class TAO_PortableServer_Export _TAO_Administration_Proxy_Broker + + // TAO_IDL - Generated from + // be/be_visitor_interface/base_proxy_broker_ch.cpp:35 + + class TAO_PortableServer_Export _TAO_Administration_Proxy_Broker { public: virtual ~_TAO_Administration_Proxy_Broker (void); @@ -1673,87 +1887,96 @@ TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_NotFound; Administration *object ACE_ENV_ARG_DECL_WITH_DEFAULTS ) = 0; - + protected: _TAO_Administration_Proxy_Broker (void); - + }; - + // - // End Base Proxy Broker Declaration + // End Base Proxy Broker Declaration /////////////////////////////////////////////////////////////////////// - - + + /////////////////////////////////////////////////////////////////////// - // Remote Proxy Broker Declaration + // Remote Proxy Broker Declaration // - + + // TAO_IDL - Generated from + // be/be_visitor_interface/remote_proxy_broker_ch.cpp:40 + class TAO_PortableServer_Export _TAO_Administration_Remote_Proxy_Broker : public virtual _TAO_Administration_Proxy_Broker { - public: + public: _TAO_Administration_Remote_Proxy_Broker (void); - + virtual ~_TAO_Administration_Remote_Proxy_Broker (void); - + virtual _TAO_Administration_Proxy_Impl &select_proxy ( Administration *object ACE_ENV_ARG_DECL ); - + private: _TAO_Administration_Remote_Proxy_Impl remote_proxy_impl_; - + public: // This member function is used to get an handle to the unique instance // of the Remote Proxy Broker that is available for a given // interface. static _TAO_Administration_Remote_Proxy_Broker *the_TAO_Administration_Remote_Proxy_Broker (void); }; - + // - // End Remote Proxy Broker Declaration + // End Remote Proxy Broker Declaration /////////////////////////////////////////////////////////////////////// - - + #endif /* end #if !defined */ - + + // TAO_IDL - Generated from + // be/be_visitor_typecode/typecode_decl.cpp:44 + TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_Administration; - - + + // TAO_IDL - Generated from + // be/be_visitor_interface/interface_ch.cpp:52 + #if !defined (_IMPLEMENTATIONREPOSITORY_SERVERINFORMATIONITERATOR___PTR_CH_) #define _IMPLEMENTATIONREPOSITORY_SERVERINFORMATIONITERATOR___PTR_CH_ - + class ServerInformationIterator; typedef ServerInformationIterator *ServerInformationIterator_ptr; - + #endif /* end #if !defined */ - - + #if !defined (_IMPLEMENTATIONREPOSITORY_SERVERINFORMATIONITERATOR___VAR_CH_) #define _IMPLEMENTATIONREPOSITORY_SERVERINFORMATIONITERATOR___VAR_CH_ - + + // TAO_IDL - Generated from + // be/be_interface.cpp:571 + class TAO_PortableServer_Export ServerInformationIterator_var : public TAO_Base_var { public: ServerInformationIterator_var (void); // default constructor - ServerInformationIterator_var (ServerInformationIterator_ptr p) : ptr_ (p) {} + ServerInformationIterator_var (ServerInformationIterator_ptr p) : ptr_ (p) {} ServerInformationIterator_var (const ServerInformationIterator_var &); // copy constructor ~ServerInformationIterator_var (void); // destructor - + ServerInformationIterator_var &operator= (ServerInformationIterator_ptr); ServerInformationIterator_var &operator= (const ServerInformationIterator_var &); ServerInformationIterator_ptr operator-> (void) const; - + operator const ServerInformationIterator_ptr &() const; operator ServerInformationIterator_ptr &(); - // in, inout, out, _retn + // in, inout, out, _retn ServerInformationIterator_ptr in (void) const; ServerInformationIterator_ptr &inout (void); ServerInformationIterator_ptr &out (void); ServerInformationIterator_ptr _retn (void); ServerInformationIterator_ptr ptr (void) const; - + // Hooks used by template sequence and object manager classes // for non-defined forward declared interfaces. static ServerInformationIterator_ptr tao_duplicate (ServerInformationIterator_ptr); @@ -1764,7 +1987,7 @@ TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_NotFound; ACE_ENV_ARG_DECL_NOT_USED ); static CORBA::Object * tao_upcast (void *); - + private: ServerInformationIterator_ptr ptr_; // Unimplemented - prevents widening assignment. @@ -1772,13 +1995,14 @@ TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_NotFound; ServerInformationIterator_var &operator= (const TAO_Base_var &rhs); }; - #endif /* end #if !defined */ - - + #if !defined (_IMPLEMENTATIONREPOSITORY_SERVERINFORMATIONITERATOR___OUT_CH_) #define _IMPLEMENTATIONREPOSITORY_SERVERINFORMATIONITERATOR___OUT_CH_ - + + // TAO_IDL - Generated from + // be/be_interface.cpp:946 + class TAO_PortableServer_Export ServerInformationIterator_out { public: @@ -1791,61 +2015,55 @@ TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_NotFound; operator ServerInformationIterator_ptr &(); ServerInformationIterator_ptr &ptr (void); ServerInformationIterator_ptr operator-> (void); - + private: ServerInformationIterator_ptr &ptr_; }; - - + #endif /* end #if !defined */ - - // ************************************************************* - // ImplementationRepository::ServerInformationIterator + // TAO_IDL - Generated from - // be/be_visitor_interface/interface_ch.cpp:106 - // ************************************************************* - - + // be/be_visitor_interface/interface_ch.cpp:110 + #if !defined (_IMPLEMENTATIONREPOSITORY_SERVERINFORMATIONITERATOR_CH_) #define _IMPLEMENTATIONREPOSITORY_SERVERINFORMATIONITERATOR_CH_ - - // Forward Classes Declaration. + class _TAO_ServerInformationIterator_Proxy_Impl; class _TAO_ServerInformationIterator_Remote_Proxy_Impl; class _TAO_ServerInformationIterator_Proxy_Broker; class _TAO_ServerInformationIterator_Remote_Proxy_Broker; - + class TAO_PortableServer_Export ServerInformationIterator - : public virtual CORBA_Object + : public virtual CORBA::Object { public: - #if !defined(__GNUC__) || !defined (ACE_HAS_GNUG_PRE_2_8) typedef ServerInformationIterator_ptr _ptr_type; typedef ServerInformationIterator_var _var_type; - #endif /* ! __GNUC__ || g++ >= 2.8 */ - static int _tao_class_id; - + // The static operations. static ServerInformationIterator_ptr _duplicate (ServerInformationIterator_ptr obj); - + static ServerInformationIterator_ptr _narrow ( CORBA::Object_ptr obj ACE_ENV_ARG_DECL_WITH_DEFAULTS ); - + static ServerInformationIterator_ptr _unchecked_narrow ( CORBA::Object_ptr obj ACE_ENV_ARG_DECL_WITH_DEFAULTS ); - + static ServerInformationIterator_ptr _nil (void) { return (ServerInformationIterator_ptr)0; } - - static void _tao_any_destructor (void*); - + + static void _tao_any_destructor (void *); + + // TAO_IDL - Generated from + // be/be_visitor_operation/operation_ch.cpp:46 + virtual CORBA::Boolean next_n ( CORBA::ULong how_many, ImplementationRepository::ServerInformationList_out server_list @@ -1854,65 +2072,75 @@ TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_NotFound; ACE_THROW_SPEC (( CORBA::SystemException )); - + + // TAO_IDL - Generated from + // be/be_visitor_operation/operation_ch.cpp:46 + virtual void destroy ( - ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS ) ACE_THROW_SPEC (( CORBA::SystemException )); - + + // TAO_IDL - Generated from + // be/be_visitor_interface/interface_ch.cpp:267 + virtual CORBA::Boolean _is_a ( - const CORBA::Char *type_id + const char *type_id ACE_ENV_ARG_DECL_WITH_DEFAULTS ); - + virtual void *_tao_QueryInterface (ptr_arith_t type); - - virtual const char* _interface_repository_id (void) const; + virtual const char* _interface_repository_id (void) const; private: _TAO_ServerInformationIterator_Proxy_Broker *the_TAO_ServerInformationIterator_Proxy_Broker_; - + protected: ServerInformationIterator (int collocated = 0); - + // These methods travese the inheritance tree and set the - // parents piece of the given class in the right mode + // parents piece of the given class in the right mode. virtual void ImplementationRepository_ServerInformationIterator_setup_collocation (int collocated); - + ServerInformationIterator ( - TAO_Stub *objref, + TAO_Stub *objref, CORBA::Boolean _tao_collocated = 0, TAO_Abstract_ServantBase *servant = 0 ); - + virtual ~ServerInformationIterator (void); + friend class _TAO_ServerInformationIterator_Remote_Proxy_Impl; friend class _TAO_ServerInformationIterator_ThruPOA_Proxy_Impl; friend class _TAO_ServerInformationIterator_Direct_Proxy_Impl; - - virtual ~ServerInformationIterator (void); - + private: ServerInformationIterator (const ServerInformationIterator &); void operator= (const ServerInformationIterator &); }; - + // The Proxy Implementations are used by each interface to - // perform a call. Each different implementation encapsulate - // an invocation logics. - - + // perform a call. Each different implementation encapsulates + // an invocation logic. + + /////////////////////////////////////////////////////////////////////// // Base Proxy Impl. Declaration // - + + // TAO_IDL - Generated from + // be/be_visitor_interface/base_proxy_impl_ch.cpp:35 + class TAO_PortableServer_Export _TAO_ServerInformationIterator_Proxy_Impl : public virtual TAO_Object_Proxy_Impl { public: - virtual ~_TAO_ServerInformationIterator_Proxy_Impl (void) { } + virtual ~_TAO_ServerInformationIterator_Proxy_Impl (void) {} + + // TAO_IDL - Generated from + // be/be_visitor_operation/base_proxy_impl_ch.cpp:24 + virtual CORBA::Boolean next_n ( CORBA_Object *_collocated_tao_target_, CORBA::ULong how_many, @@ -1922,7 +2150,10 @@ TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_NotFound; ACE_THROW_SPEC (( CORBA::SystemException )) = 0; - + + // TAO_IDL - Generated from + // be/be_visitor_operation/base_proxy_impl_ch.cpp:24 + virtual void destroy ( CORBA_Object *_collocated_tao_target_ ACE_ENV_ARG_DECL @@ -1930,29 +2161,35 @@ TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_NotFound; ACE_THROW_SPEC (( CORBA::SystemException )) = 0; - - + protected: _TAO_ServerInformationIterator_Proxy_Impl (void); }; - + // // End Base Proxy Impl. Declaration /////////////////////////////////////////////////////////////////////// - - + + /////////////////////////////////////////////////////////////////////// // Remote Proxy Impl. Declaration // - + + // TAO_IDL - Generated from + // be/be_visitor_interface/remote_proxy_impl_ch.cpp:37 + class TAO_PortableServer_Export _TAO_ServerInformationIterator_Remote_Proxy_Impl : public virtual _TAO_ServerInformationIterator_Proxy_Impl, public virtual TAO_Remote_Object_Proxy_Impl { public: _TAO_ServerInformationIterator_Remote_Proxy_Impl (void); - - virtual ~_TAO_ServerInformationIterator_Remote_Proxy_Impl (void) { } + + virtual ~_TAO_ServerInformationIterator_Remote_Proxy_Impl (void) {} + + // TAO_IDL - Generated from + // be/be_visitor_operation/proxy_impl_xh.cpp:24 + virtual CORBA::Boolean next_n ( CORBA_Object *_collocated_tao_target_, CORBA::ULong how_many, @@ -1962,7 +2199,10 @@ TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_NotFound; ACE_THROW_SPEC (( CORBA::SystemException )); - + + // TAO_IDL - Generated from + // be/be_visitor_operation/proxy_impl_xh.cpp:24 + virtual void destroy ( CORBA_Object *_collocated_tao_target_ ACE_ENV_ARG_DECL @@ -1970,25 +2210,25 @@ TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_NotFound; ACE_THROW_SPEC (( CORBA::SystemException )); - - }; - + // // End Remote Proxy Impl. Declaration /////////////////////////////////////////////////////////////////////// - + // The Proxy Brokers are used by each interface to get - // the right proxy for performing a call. In the new + // the right proxy for performing a call. In the new // collocation scheme, the proxy to be used can vary on // a call by call basis. - - + /////////////////////////////////////////////////////////////////////// - // Base Proxy Broker Declaration + // Base Proxy Broker Declaration // - - class TAO_PortableServer_Export _TAO_ServerInformationIterator_Proxy_Broker + + // TAO_IDL - Generated from + // be/be_visitor_interface/base_proxy_broker_ch.cpp:35 + + class TAO_PortableServer_Export _TAO_ServerInformationIterator_Proxy_Broker { public: virtual ~_TAO_ServerInformationIterator_Proxy_Broker (void); @@ -1996,59 +2236,69 @@ TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_NotFound; ServerInformationIterator *object ACE_ENV_ARG_DECL_WITH_DEFAULTS ) = 0; - + protected: _TAO_ServerInformationIterator_Proxy_Broker (void); - + }; - + // - // End Base Proxy Broker Declaration + // End Base Proxy Broker Declaration /////////////////////////////////////////////////////////////////////// - - + + /////////////////////////////////////////////////////////////////////// - // Remote Proxy Broker Declaration + // Remote Proxy Broker Declaration // - + + // TAO_IDL - Generated from + // be/be_visitor_interface/remote_proxy_broker_ch.cpp:40 + class TAO_PortableServer_Export _TAO_ServerInformationIterator_Remote_Proxy_Broker : public virtual _TAO_ServerInformationIterator_Proxy_Broker { - public: + public: _TAO_ServerInformationIterator_Remote_Proxy_Broker (void); - + virtual ~_TAO_ServerInformationIterator_Remote_Proxy_Broker (void); - + virtual _TAO_ServerInformationIterator_Proxy_Impl &select_proxy ( ServerInformationIterator *object ACE_ENV_ARG_DECL ); - + private: _TAO_ServerInformationIterator_Remote_Proxy_Impl remote_proxy_impl_; - + public: // This member function is used to get an handle to the unique instance // of the Remote Proxy Broker that is available for a given // interface. static _TAO_ServerInformationIterator_Remote_Proxy_Broker *the_TAO_ServerInformationIterator_Remote_Proxy_Broker (void); }; - + // - // End Remote Proxy Broker Declaration + // End Remote Proxy Broker Declaration /////////////////////////////////////////////////////////////////////// - - + #endif /* end #if !defined */ - + + // TAO_IDL - Generated from + // be/be_visitor_typecode/typecode_decl.cpp:44 + TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_ServerInformationIterator; - - + +// TAO_IDL - Generated from +// be/be_visitor_module/module_ch.cpp:67 + } TAO_NAMESPACE_CLOSE // module ImplementationRepository // Proxy Broker Factory function pointer declarations. +// TAO_IDL - Generated from +// be/be_visitor_root/root.cpp:80 + extern TAO_PortableServer_Export ImplementationRepository::_TAO_ServerObject_Proxy_Broker * (*ImplementationRepository__TAO_ServerObject_Proxy_Broker_Factory_function_pointer) ( @@ -2067,69 +2317,135 @@ ImplementationRepository::_TAO_ServerInformationIterator_Proxy_Broker * CORBA::Object_ptr obj ); -// Any operators for interface ImplementationRepository::ServerObject +// TAO_IDL - Generated from +// be/be_visitor_interface/any_op_ch.cpp:52 + TAO_PortableServer_Export void operator<<= (CORBA::Any &, ImplementationRepository::ServerObject_ptr); // copying TAO_PortableServer_Export void operator<<= (CORBA::Any &, ImplementationRepository::ServerObject_ptr *); // non-copying TAO_PortableServer_Export CORBA::Boolean operator>>= (const CORBA::Any &, ImplementationRepository::ServerObject_ptr &); + +// TAO_IDL - Generated from +// be/be_visitor_exception/any_op_ch.cpp:52 + TAO_PortableServer_Export void operator<<= (CORBA::Any &, const ImplementationRepository::AlreadyRegistered &); // copying version TAO_PortableServer_Export void operator<<= (CORBA::Any &, ImplementationRepository::AlreadyRegistered*); // noncopying version TAO_PortableServer_Export CORBA::Boolean operator>>= (const CORBA::Any &, ImplementationRepository::AlreadyRegistered *&); // deprecated TAO_PortableServer_Export CORBA::Boolean operator>>= (const CORBA::Any &, const ImplementationRepository::AlreadyRegistered *&); + +// TAO_IDL - Generated from +// be/be_visitor_exception/any_op_ch.cpp:52 + TAO_PortableServer_Export void operator<<= (CORBA::Any &, const ImplementationRepository::CannotActivate &); // copying version TAO_PortableServer_Export void operator<<= (CORBA::Any &, ImplementationRepository::CannotActivate*); // noncopying version TAO_PortableServer_Export CORBA::Boolean operator>>= (const CORBA::Any &, ImplementationRepository::CannotActivate *&); // deprecated TAO_PortableServer_Export CORBA::Boolean operator>>= (const CORBA::Any &, const ImplementationRepository::CannotActivate *&); + +// TAO_IDL - Generated from +// be/be_visitor_exception/any_op_ch.cpp:52 + TAO_PortableServer_Export void operator<<= (CORBA::Any &, const ImplementationRepository::NotFound &); // copying version TAO_PortableServer_Export void operator<<= (CORBA::Any &, ImplementationRepository::NotFound*); // noncopying version TAO_PortableServer_Export CORBA::Boolean operator>>= (const CORBA::Any &, ImplementationRepository::NotFound *&); // deprecated TAO_PortableServer_Export CORBA::Boolean operator>>= (const CORBA::Any &, const ImplementationRepository::NotFound *&); + +// TAO_IDL - Generated from +// be/be_visitor_structure/any_op_ch.cpp:52 + TAO_PortableServer_Export void operator<<= (CORBA::Any &, const ImplementationRepository::EnvironmentVariable &); // copying version TAO_PortableServer_Export void operator<<= (CORBA::Any &, ImplementationRepository::EnvironmentVariable*); // noncopying version TAO_PortableServer_Export CORBA::Boolean operator>>= (const CORBA::Any &, ImplementationRepository::EnvironmentVariable *&); // deprecated TAO_PortableServer_Export CORBA::Boolean operator>>= (const CORBA::Any &, const ImplementationRepository::EnvironmentVariable *&); + +// TAO_IDL - Generated from +// be/be_visitor_sequence/any_op_ch.cpp:52 + TAO_PortableServer_Export void operator<<= (CORBA::Any &, const ImplementationRepository::EnvironmentList &); // copying version TAO_PortableServer_Export void operator<<= (CORBA::Any &, ImplementationRepository::EnvironmentList*); // noncopying version TAO_PortableServer_Export CORBA::Boolean operator>>= (const CORBA::Any &, ImplementationRepository::EnvironmentList *&); // deprecated TAO_PortableServer_Export CORBA::Boolean operator>>= (const CORBA::Any &, const ImplementationRepository::EnvironmentList *&); + +// TAO_IDL - Generated from +// be/be_visitor_enum/any_op_ch.cpp:51 + TAO_PortableServer_Export void operator<<= (CORBA::Any &, ImplementationRepository::ActivationMode); TAO_PortableServer_Export CORBA::Boolean operator>>= (const CORBA::Any &, ImplementationRepository::ActivationMode &); + +// TAO_IDL - Generated from +// be/be_visitor_structure/any_op_ch.cpp:52 + TAO_PortableServer_Export void operator<<= (CORBA::Any &, const ImplementationRepository::StartupOptions &); // copying version TAO_PortableServer_Export void operator<<= (CORBA::Any &, ImplementationRepository::StartupOptions*); // noncopying version TAO_PortableServer_Export CORBA::Boolean operator>>= (const CORBA::Any &, ImplementationRepository::StartupOptions *&); // deprecated TAO_PortableServer_Export CORBA::Boolean operator>>= (const CORBA::Any &, const ImplementationRepository::StartupOptions *&); + +// TAO_IDL - Generated from +// be/be_visitor_structure/any_op_ch.cpp:52 + TAO_PortableServer_Export void operator<<= (CORBA::Any &, const ImplementationRepository::ServerInformation &); // copying version TAO_PortableServer_Export void operator<<= (CORBA::Any &, ImplementationRepository::ServerInformation*); // noncopying version TAO_PortableServer_Export CORBA::Boolean operator>>= (const CORBA::Any &, ImplementationRepository::ServerInformation *&); // deprecated TAO_PortableServer_Export CORBA::Boolean operator>>= (const CORBA::Any &, const ImplementationRepository::ServerInformation *&); + +// TAO_IDL - Generated from +// be/be_visitor_sequence/any_op_ch.cpp:52 + TAO_PortableServer_Export void operator<<= (CORBA::Any &, const ImplementationRepository::ServerInformationList &); // copying version TAO_PortableServer_Export void operator<<= (CORBA::Any &, ImplementationRepository::ServerInformationList*); // noncopying version TAO_PortableServer_Export CORBA::Boolean operator>>= (const CORBA::Any &, ImplementationRepository::ServerInformationList *&); // deprecated TAO_PortableServer_Export CORBA::Boolean operator>>= (const CORBA::Any &, const ImplementationRepository::ServerInformationList *&); -// Any operators for interface ImplementationRepository::Administration + +// TAO_IDL - Generated from +// be/be_visitor_interface/any_op_ch.cpp:52 + TAO_PortableServer_Export void operator<<= (CORBA::Any &, ImplementationRepository::Administration_ptr); // copying TAO_PortableServer_Export void operator<<= (CORBA::Any &, ImplementationRepository::Administration_ptr *); // non-copying TAO_PortableServer_Export CORBA::Boolean operator>>= (const CORBA::Any &, ImplementationRepository::Administration_ptr &); -// Any operators for interface ImplementationRepository::ServerInformationIterator + +// TAO_IDL - Generated from +// be/be_visitor_interface/any_op_ch.cpp:52 + TAO_PortableServer_Export void operator<<= (CORBA::Any &, ImplementationRepository::ServerInformationIterator_ptr); // copying TAO_PortableServer_Export void operator<<= (CORBA::Any &, ImplementationRepository::ServerInformationIterator_ptr *); // non-copying TAO_PortableServer_Export CORBA::Boolean operator>>= (const CORBA::Any &, ImplementationRepository::ServerInformationIterator_ptr &); +// TAO_IDL - Generated from +// be/be_visitor_root/cdr_op.cpp:48 + #ifndef __ACE_INLINE__ +// TAO_IDL - Generated from +// be/be_visitor_interface/cdr_op_ch.cpp:55 + TAO_PortableServer_Export CORBA::Boolean operator<< (TAO_OutputCDR &, const ImplementationRepository::ServerObject_ptr ); TAO_PortableServer_Export CORBA::Boolean operator>> (TAO_InputCDR &, ImplementationRepository::ServerObject_ptr &); + +// TAO_IDL - Generated from +// be/be_visitor_exception/cdr_op_ch.cpp:52 + TAO_PortableServer_Export CORBA::Boolean operator<< (TAO_OutputCDR &, const ImplementationRepository::AlreadyRegistered &); TAO_PortableServer_Export CORBA::Boolean operator>> (TAO_InputCDR &, ImplementationRepository::AlreadyRegistered &); +// TAO_IDL - Generated from +// be/be_visitor_exception/cdr_op_ch.cpp:52 + TAO_PortableServer_Export CORBA::Boolean operator<< (TAO_OutputCDR &, const ImplementationRepository::CannotActivate &); TAO_PortableServer_Export CORBA::Boolean operator>> (TAO_InputCDR &, ImplementationRepository::CannotActivate &); +// TAO_IDL - Generated from +// be/be_visitor_exception/cdr_op_ch.cpp:52 + TAO_PortableServer_Export CORBA::Boolean operator<< (TAO_OutputCDR &, const ImplementationRepository::NotFound &); TAO_PortableServer_Export CORBA::Boolean operator>> (TAO_InputCDR &, ImplementationRepository::NotFound &); +// TAO_IDL - Generated from +// be/be_visitor_structure/cdr_op_ch.cpp:54 + TAO_PortableServer_Export CORBA::Boolean operator<< (TAO_OutputCDR &, const ImplementationRepository::EnvironmentVariable &); TAO_PortableServer_Export CORBA::Boolean operator>> (TAO_InputCDR &, ImplementationRepository::EnvironmentVariable &); +// TAO_IDL - Generated from +// be/be_visitor_sequence/cdr_op_ch.cpp:57 + #if !defined _TAO_CDR_OP_ImplementationRepository_EnvironmentList_H_ #define _TAO_CDR_OP_ImplementationRepository_EnvironmentList_H_ @@ -2144,13 +2460,27 @@ TAO_PortableServer_Export CORBA::Boolean operator>> ( #endif /* _TAO_CDR_OP_ImplementationRepository_EnvironmentList_H_ */ -TAO_PortableServer_Export CORBA::Boolean operator<< (TAO_OutputCDR &, const ImplementationRepository::ActivationMode &); // +// TAO_IDL - Generated from +// be/be_visitor_enum/cdr_op_ch.cpp:50 + +TAO_PortableServer_Export CORBA::Boolean operator<< (TAO_OutputCDR &, const ImplementationRepository::ActivationMode &); TAO_PortableServer_Export CORBA::Boolean operator>> (TAO_InputCDR &, ImplementationRepository::ActivationMode &); + +// TAO_IDL - Generated from +// be/be_visitor_structure/cdr_op_ch.cpp:54 + TAO_PortableServer_Export CORBA::Boolean operator<< (TAO_OutputCDR &, const ImplementationRepository::StartupOptions &); TAO_PortableServer_Export CORBA::Boolean operator>> (TAO_InputCDR &, ImplementationRepository::StartupOptions &); + +// TAO_IDL - Generated from +// be/be_visitor_structure/cdr_op_ch.cpp:54 + TAO_PortableServer_Export CORBA::Boolean operator<< (TAO_OutputCDR &, const ImplementationRepository::ServerInformation &); TAO_PortableServer_Export CORBA::Boolean operator>> (TAO_InputCDR &, ImplementationRepository::ServerInformation &); +// TAO_IDL - Generated from +// be/be_visitor_sequence/cdr_op_ch.cpp:57 + #if !defined _TAO_CDR_OP_ImplementationRepository_ServerInformationList_H_ #define _TAO_CDR_OP_ImplementationRepository_ServerInformationList_H_ @@ -2165,13 +2495,25 @@ TAO_PortableServer_Export CORBA::Boolean operator>> ( #endif /* _TAO_CDR_OP_ImplementationRepository_ServerInformationList_H_ */ +// TAO_IDL - Generated from +// be/be_visitor_interface/cdr_op_ch.cpp:55 + TAO_PortableServer_Export CORBA::Boolean operator<< (TAO_OutputCDR &, const ImplementationRepository::Administration_ptr ); TAO_PortableServer_Export CORBA::Boolean operator>> (TAO_InputCDR &, ImplementationRepository::Administration_ptr &); + +// TAO_IDL - Generated from +// be/be_visitor_interface/cdr_op_ch.cpp:55 + TAO_PortableServer_Export CORBA::Boolean operator<< (TAO_OutputCDR &, const ImplementationRepository::ServerInformationIterator_ptr ); TAO_PortableServer_Export CORBA::Boolean operator>> (TAO_InputCDR &, ImplementationRepository::ServerInformationIterator_ptr &); +// TAO_IDL - Generated from +// be/be_visitor_root/cdr_op.cpp:64 + #endif /* __ACE_INLINE__ */ +// TAO_IDL - Generated from +// be/be_codegen.cpp:1009 #if defined (__ACE_INLINE__) #include "ImplRepoC.i" diff --git a/TAO/tao/PortableServer/ImplRepoC.i b/TAO/tao/PortableServer/ImplRepoC.i index c9558847f13..1948cb0040e 100644 --- a/TAO/tao/PortableServer/ImplRepoC.i +++ b/TAO/tao/PortableServer/ImplRepoC.i @@ -20,6 +20,9 @@ // http://www.cs.wustl.edu/~schmidt/TAO.html +// TAO_IDL - Generated from +// be/be_visitor_interface/interface_ci.cpp:68 + #if !defined (_IMPLEMENTATIONREPOSITORY_SERVEROBJECT___CI_) #define _IMPLEMENTATIONREPOSITORY_SERVEROBJECT___CI_ @@ -34,27 +37,17 @@ ImplementationRepository::ServerObject::ServerObject ( this->ImplementationRepository_ServerObject_setup_collocation (_tao_collocated); } - #endif /* end #if !defined */ -// ************************************************************* -// Inline operations for exception ImplementationRepository::AlreadyRegistered -// ************************************************************* - -// ************************************************************* -// Inline operations for exception ImplementationRepository::CannotActivate -// ************************************************************* - -// ************************************************************* -// Inline operations for exception ImplementationRepository::NotFound -// ************************************************************* +// TAO_IDL - Generated from +// be/be_structure.cpp:194 // ************************************************************* // Inline operations for class ImplementationRepository::EnvironmentVariable_var // ************************************************************* ACE_INLINE -ImplementationRepository::EnvironmentVariable_var::EnvironmentVariable_var (void) // default constructor +ImplementationRepository::EnvironmentVariable_var::EnvironmentVariable_var (void) : ptr_ (0) {} @@ -64,42 +57,52 @@ ImplementationRepository::EnvironmentVariable_var::EnvironmentVariable_var (Envi {} ACE_INLINE -ImplementationRepository::EnvironmentVariable_var::EnvironmentVariable_var (const ::ImplementationRepository::EnvironmentVariable_var &p) // copy constructor +ImplementationRepository::EnvironmentVariable_var::EnvironmentVariable_var (const ::ImplementationRepository::EnvironmentVariable_var &p) { if (p.ptr_) - ACE_NEW (this->ptr_, ::ImplementationRepository::EnvironmentVariable (*p.ptr_)); + { + ACE_NEW (this->ptr_, ::ImplementationRepository::EnvironmentVariable (*p.ptr_)); + } else - this->ptr_ = 0; + { + this->ptr_ = 0; + } } ACE_INLINE -ImplementationRepository::EnvironmentVariable_var::~EnvironmentVariable_var (void) // destructor +ImplementationRepository::EnvironmentVariable_var::~EnvironmentVariable_var (void) { delete this->ptr_; } -ACE_INLINE ImplementationRepository::EnvironmentVariable_var & -ImplementationRepository::EnvironmentVariable_var::operator= (EnvironmentVariable *p) +ACE_INLINE +ImplementationRepository::EnvironmentVariable_var & +ImplementationRepository::EnvironmentVariable_var::operator= (EnvironmentVariable *_tao_struct_var) { delete this->ptr_; - this->ptr_ = p; + this->ptr_ = _tao_struct_var; return *this; } -ACE_INLINE ::ImplementationRepository::EnvironmentVariable_var & -ImplementationRepository::EnvironmentVariable_var::operator= (const ::ImplementationRepository::EnvironmentVariable_var &p) +ACE_INLINE +::ImplementationRepository::EnvironmentVariable_var & +ImplementationRepository::EnvironmentVariable_var::operator= (const ::ImplementationRepository::EnvironmentVariable_var &_tao_struct_var) { - if (this != &p) + if (this != &_tao_struct_var) { - if (p.ptr_ == 0) + if (_tao_struct_var.ptr_ == 0) { delete this->ptr_; this->ptr_ = 0; } else { - EnvironmentVariable *deep_copy = - new EnvironmentVariable (*p.ptr_); + EnvironmentVariable *deep_copy = 0; + ACE_NEW_RETURN ( + deep_copy, + EnvironmentVariable (*_tao_struct_var.ptr_), + *this + ); if (deep_copy != 0) { @@ -144,7 +147,7 @@ ImplementationRepository::EnvironmentVariable_var::operator ::ImplementationRepo return *this->ptr_; } -// variable-size types only +// Variable-size types only. ACE_INLINE ImplementationRepository::EnvironmentVariable_var::operator ::ImplementationRepository::EnvironmentVariable *&() // cast { @@ -163,7 +166,7 @@ ImplementationRepository::EnvironmentVariable_var::inout (void) return *this->ptr_; } -// mapping for variable size +// Mapping for variable size. ACE_INLINE ::ImplementationRepository::EnvironmentVariable *& ImplementationRepository::EnvironmentVariable_var::out (void) { @@ -186,6 +189,9 @@ ImplementationRepository::EnvironmentVariable_var::ptr (void) const return this->ptr_; } +// TAO_IDL - Generated from +// be/be_structure.cpp:523 + // ************************************************************* // Inline operations for class ImplementationRepository::EnvironmentVariable_out // ************************************************************* @@ -198,7 +204,7 @@ ImplementationRepository::EnvironmentVariable_out::EnvironmentVariable_out (::Im } ACE_INLINE -ImplementationRepository::EnvironmentVariable_out::EnvironmentVariable_out (EnvironmentVariable_var &p) // constructor from _var +ImplementationRepository::EnvironmentVariable_out::EnvironmentVariable_out (EnvironmentVariable_var &p) : ptr_ (p.out ()) { delete this->ptr_; @@ -206,21 +212,23 @@ ImplementationRepository::EnvironmentVariable_out::EnvironmentVariable_out (Envi } ACE_INLINE -ImplementationRepository::EnvironmentVariable_out::EnvironmentVariable_out (const ::ImplementationRepository::EnvironmentVariable_out &p) // copy constructor +ImplementationRepository::EnvironmentVariable_out::EnvironmentVariable_out (const ::ImplementationRepository::EnvironmentVariable_out &p) : ptr_ (ACE_const_cast (EnvironmentVariable_out&, p).ptr_) {} -ACE_INLINE ImplementationRepository::EnvironmentVariable_out & +ACE_INLINE +ImplementationRepository::EnvironmentVariable_out & ImplementationRepository::EnvironmentVariable_out::operator= (const ::ImplementationRepository::EnvironmentVariable_out &p) { this->ptr_ = ACE_const_cast (EnvironmentVariable_out&, p).ptr_; return *this; } -ACE_INLINE ImplementationRepository::EnvironmentVariable_out & -ImplementationRepository::EnvironmentVariable_out::operator= (EnvironmentVariable *p) +ACE_INLINE +ImplementationRepository::EnvironmentVariable_out & +ImplementationRepository::EnvironmentVariable_out::operator= (EnvironmentVariable *_tao_struct_out) { - this->ptr_ = p; + this->ptr_ = _tao_struct_out; return *this; } @@ -242,192 +250,231 @@ ImplementationRepository::EnvironmentVariable_out::operator-> (void) return this->ptr_; } +// TAO_IDL - Generated from +// be/be_visitor_sequence/gen_unbounded_sequence_ci.cpp:99 #if !defined (TAO_USE_SEQUENCE_TEMPLATES) #if !defined (__TAO_UNBOUNDED_SEQUENCE_IMPLEMENTATIONREPOSITORY_ENVIRONMENTLIST_CI_) #define __TAO_UNBOUNDED_SEQUENCE_IMPLEMENTATIONREPOSITORY_ENVIRONMENTLIST_CI_ -// = Static operations. -ACE_INLINE ImplementationRepository::EnvironmentVariable * +ACE_INLINE +ImplementationRepository::EnvironmentVariable * ImplementationRepository::_TAO_Unbounded_Sequence_ImplementationRepository_EnvironmentList::allocbuf (CORBA::ULong size) -// Allocate storage for the sequence. { ImplementationRepository::EnvironmentVariable *retval = 0; ACE_NEW_RETURN (retval, ImplementationRepository::EnvironmentVariable[size], 0); return retval; } -ACE_INLINE void ImplementationRepository::_TAO_Unbounded_Sequence_ImplementationRepository_EnvironmentList::freebuf (ImplementationRepository::EnvironmentVariable *buffer) -// Free the sequence. +ACE_INLINE +void ImplementationRepository::_TAO_Unbounded_Sequence_ImplementationRepository_EnvironmentList::freebuf (ImplementationRepository::EnvironmentVariable *buffer) { delete [] buffer; } ACE_INLINE -ImplementationRepository::_TAO_Unbounded_Sequence_ImplementationRepository_EnvironmentList::_TAO_Unbounded_Sequence_ImplementationRepository_EnvironmentList (void) // Default constructor. +ImplementationRepository::_TAO_Unbounded_Sequence_ImplementationRepository_EnvironmentList::_TAO_Unbounded_Sequence_ImplementationRepository_EnvironmentList (void) { } ACE_INLINE -ImplementationRepository::_TAO_Unbounded_Sequence_ImplementationRepository_EnvironmentList::_TAO_Unbounded_Sequence_ImplementationRepository_EnvironmentList (CORBA::ULong maximum) // Constructor using a maximum length value. +ImplementationRepository::_TAO_Unbounded_Sequence_ImplementationRepository_EnvironmentList::_TAO_Unbounded_Sequence_ImplementationRepository_EnvironmentList (CORBA::ULong maximum) : TAO_Unbounded_Base_Sequence (maximum, _TAO_Unbounded_Sequence_ImplementationRepository_EnvironmentList::allocbuf (maximum)) { } ACE_INLINE -ImplementationRepository::_TAO_Unbounded_Sequence_ImplementationRepository_EnvironmentList::_TAO_Unbounded_Sequence_ImplementationRepository_EnvironmentList (CORBA::ULong maximum, - CORBA::ULong length, - ImplementationRepository::EnvironmentVariable *data, - CORBA::Boolean release) -: TAO_Unbounded_Base_Sequence (maximum, length, data, release) +ImplementationRepository::_TAO_Unbounded_Sequence_ImplementationRepository_EnvironmentList::_TAO_Unbounded_Sequence_ImplementationRepository_EnvironmentList ( + CORBA::ULong maximum, + CORBA::ULong length, + ImplementationRepository::EnvironmentVariable *data, + CORBA::Boolean release + ) + : TAO_Unbounded_Base_Sequence (maximum, length, data, release) { } ACE_INLINE -ImplementationRepository::_TAO_Unbounded_Sequence_ImplementationRepository_EnvironmentList::_TAO_Unbounded_Sequence_ImplementationRepository_EnvironmentList (const _TAO_Unbounded_Sequence_ImplementationRepository_EnvironmentList &rhs) -// Copy constructor. +ImplementationRepository::_TAO_Unbounded_Sequence_ImplementationRepository_EnvironmentList::_TAO_Unbounded_Sequence_ImplementationRepository_EnvironmentList ( + const _TAO_Unbounded_Sequence_ImplementationRepository_EnvironmentList &rhs + ) : TAO_Unbounded_Base_Sequence (rhs) { if (rhs.buffer_ != 0) - { - ImplementationRepository::EnvironmentVariable *tmp1 = _TAO_Unbounded_Sequence_ImplementationRepository_EnvironmentList::allocbuf (this->maximum_); - ImplementationRepository::EnvironmentVariable * const tmp2 = ACE_reinterpret_cast (ImplementationRepository::EnvironmentVariable * ACE_CAST_CONST, rhs.buffer_); - - for (CORBA::ULong i = 0; i < this->length_; ++i) - tmp1[i] = tmp2[i]; - - this->buffer_ = tmp1; - } + { + ImplementationRepository::EnvironmentVariable *tmp1 = + _TAO_Unbounded_Sequence_ImplementationRepository_EnvironmentList::allocbuf (this->maximum_); + ImplementationRepository::EnvironmentVariable * const tmp2 = + ACE_reinterpret_cast (ImplementationRepository::EnvironmentVariable * ACE_CAST_CONST, rhs.buffer_); + + for (CORBA::ULong i = 0; i < this->length_; ++i) + { + tmp1[i] = tmp2[i]; + } + + this->buffer_ = tmp1; + } else - { - this->buffer_ = 0; - } + { + this->buffer_ = 0; + } } -ACE_INLINE ImplementationRepository::_TAO_Unbounded_Sequence_ImplementationRepository_EnvironmentList & -ImplementationRepository::_TAO_Unbounded_Sequence_ImplementationRepository_EnvironmentList::operator= (const _TAO_Unbounded_Sequence_ImplementationRepository_EnvironmentList &rhs) -// Assignment operator. +ACE_INLINE +ImplementationRepository::_TAO_Unbounded_Sequence_ImplementationRepository_EnvironmentList & +ImplementationRepository::_TAO_Unbounded_Sequence_ImplementationRepository_EnvironmentList::operator= ( + const _TAO_Unbounded_Sequence_ImplementationRepository_EnvironmentList &rhs + ) { if (this == &rhs) - return *this; + { + return *this; + } if (this->release_) - { - if (this->maximum_ < rhs.maximum_) { - // free the old buffer - ImplementationRepository::EnvironmentVariable *tmp = ACE_reinterpret_cast (ImplementationRepository::EnvironmentVariable *, this->buffer_); - _TAO_Unbounded_Sequence_ImplementationRepository_EnvironmentList::freebuf (tmp); - this->buffer_ = _TAO_Unbounded_Sequence_ImplementationRepository_EnvironmentList::allocbuf (rhs.maximum_); + if (this->maximum_ < rhs.maximum_) + { + // Free the old buffer. + ImplementationRepository::EnvironmentVariable *tmp = + ACE_reinterpret_cast (ImplementationRepository::EnvironmentVariable *, this->buffer_); + + _TAO_Unbounded_Sequence_ImplementationRepository_EnvironmentList::freebuf (tmp); + + this->buffer_ = + _TAO_Unbounded_Sequence_ImplementationRepository_EnvironmentList::allocbuf (rhs.maximum_); + } } - } else - this->buffer_ = _TAO_Unbounded_Sequence_ImplementationRepository_EnvironmentList::allocbuf (rhs.maximum_); + { + this->buffer_ = + _TAO_Unbounded_Sequence_ImplementationRepository_EnvironmentList::allocbuf (rhs.maximum_); + } TAO_Unbounded_Base_Sequence::operator= (rhs); - ImplementationRepository::EnvironmentVariable *tmp1 = ACE_reinterpret_cast (ImplementationRepository::EnvironmentVariable *, this->buffer_); - ImplementationRepository::EnvironmentVariable * const tmp2 = ACE_reinterpret_cast (ImplementationRepository::EnvironmentVariable * ACE_CAST_CONST, rhs.buffer_); + ImplementationRepository::EnvironmentVariable *tmp1 = + ACE_reinterpret_cast (ImplementationRepository::EnvironmentVariable *, this->buffer_); + ImplementationRepository::EnvironmentVariable * const tmp2 = + ACE_reinterpret_cast (ImplementationRepository::EnvironmentVariable * ACE_CAST_CONST, rhs.buffer_); for (CORBA::ULong i = 0; i < this->length_; ++i) - tmp1[i] = tmp2[i]; + { + tmp1[i] = tmp2[i]; + } return *this; } // = Accessors. -ACE_INLINE ImplementationRepository::EnvironmentVariable & +ACE_INLINE +ImplementationRepository::EnvironmentVariable & ImplementationRepository::_TAO_Unbounded_Sequence_ImplementationRepository_EnvironmentList::operator[] (CORBA::ULong i) -// operator [] { ACE_ASSERT (i < this->maximum_); - ImplementationRepository::EnvironmentVariable* tmp = ACE_reinterpret_cast(ImplementationRepository::EnvironmentVariable*,this->buffer_); + ImplementationRepository::EnvironmentVariable* tmp = + ACE_reinterpret_cast (ImplementationRepository::EnvironmentVariable*, this->buffer_); return tmp[i]; } -ACE_INLINE const ImplementationRepository::EnvironmentVariable & +ACE_INLINE +const ImplementationRepository::EnvironmentVariable & ImplementationRepository::_TAO_Unbounded_Sequence_ImplementationRepository_EnvironmentList::operator[] (CORBA::ULong i) const -// operator [] { ACE_ASSERT (i < this->maximum_); - ImplementationRepository::EnvironmentVariable * const tmp = ACE_reinterpret_cast (ImplementationRepository::EnvironmentVariable* ACE_CAST_CONST, this->buffer_); + ImplementationRepository::EnvironmentVariable * const tmp = + ACE_reinterpret_cast (ImplementationRepository::EnvironmentVariable* ACE_CAST_CONST, this->buffer_); return tmp[i]; } // Implement the TAO_Base_Sequence methods (see Sequence.h) -ACE_INLINE ImplementationRepository::EnvironmentVariable * +ACE_INLINE +ImplementationRepository::EnvironmentVariable * ImplementationRepository::_TAO_Unbounded_Sequence_ImplementationRepository_EnvironmentList::get_buffer (CORBA::Boolean orphan) { ImplementationRepository::EnvironmentVariable *result = 0; + if (orphan == 0) - { - // We retain ownership. - if (this->buffer_ == 0) { - result = _TAO_Unbounded_Sequence_ImplementationRepository_EnvironmentList::allocbuf (this->length_); - this->buffer_ = result; - this->release_ = 1; - } - else - { - result = ACE_reinterpret_cast (ImplementationRepository::EnvironmentVariable*, this->buffer_); + // We retain ownership. + if (this->buffer_ == 0) + { + result = + _TAO_Unbounded_Sequence_ImplementationRepository_EnvironmentList::allocbuf (this->length_); + this->buffer_ = result; + this->release_ = 1; + } + else + { + result = + ACE_reinterpret_cast (ImplementationRepository::EnvironmentVariable*, this->buffer_); + } } - } else // if (orphan == 1) - { - if (this->release_ != 0) { - // We set the state back to default and relinquish - // ownership. - result = ACE_reinterpret_cast(ImplementationRepository::EnvironmentVariable*,this->buffer_); - this->maximum_ = 0; - this->length_ = 0; - this->buffer_ = 0; - this->release_ = 0; + if (this->release_ != 0) + { + // We set the state back to default and relinquish ownership. + result = + ACE_reinterpret_cast(ImplementationRepository::EnvironmentVariable*,this->buffer_); + this->maximum_ = 0; + this->length_ = 0; + this->buffer_ = 0; + this->release_ = 0; + } } - } + return result; } -ACE_INLINE const ImplementationRepository::EnvironmentVariable * +ACE_INLINE +const ImplementationRepository::EnvironmentVariable * ImplementationRepository::_TAO_Unbounded_Sequence_ImplementationRepository_EnvironmentList::get_buffer (void) const { - return ACE_reinterpret_cast(const ImplementationRepository::EnvironmentVariable * ACE_CAST_CONST, this->buffer_); + return ACE_reinterpret_cast (const ImplementationRepository::EnvironmentVariable * ACE_CAST_CONST, this->buffer_); } -ACE_INLINE void -ImplementationRepository::_TAO_Unbounded_Sequence_ImplementationRepository_EnvironmentList::replace (CORBA::ULong max, -CORBA::ULong length, -ImplementationRepository::EnvironmentVariable *data, -CORBA::Boolean release) +ACE_INLINE +void +ImplementationRepository::_TAO_Unbounded_Sequence_ImplementationRepository_EnvironmentList::replace ( + CORBA::ULong max, + CORBA::ULong length, + ImplementationRepository::EnvironmentVariable *data, + CORBA::Boolean release + ) { this->maximum_ = max; this->length_ = length; + if (this->buffer_ && this->release_ == 1) - { - ImplementationRepository::EnvironmentVariable *tmp = ACE_reinterpret_cast(ImplementationRepository::EnvironmentVariable*,this->buffer_); - _TAO_Unbounded_Sequence_ImplementationRepository_EnvironmentList::freebuf (tmp); - } + { + ImplementationRepository::EnvironmentVariable *tmp = + ACE_reinterpret_cast (ImplementationRepository::EnvironmentVariable*, this->buffer_); + _TAO_Unbounded_Sequence_ImplementationRepository_EnvironmentList::freebuf (tmp); + } + this->buffer_ = data; this->release_ = release; } #endif /* end #if !defined */ - #endif /* !TAO_USE_SEQUENCE_TEMPLATES */ #if !defined (_IMPLEMENTATIONREPOSITORY_ENVIRONMENTLIST_CI_) #define _IMPLEMENTATIONREPOSITORY_ENVIRONMENTLIST_CI_ +// TAO_IDL - Generated from +// be/be_visitor_sequence/sequence_ci.cpp:226 + // ************************************************************* // Inline operations for class ImplementationRepository::EnvironmentList_var // ************************************************************* ACE_INLINE -ImplementationRepository::EnvironmentList_var::EnvironmentList_var (void) // default constructor +ImplementationRepository::EnvironmentList_var::EnvironmentList_var (void) : ptr_ (0) {} @@ -437,21 +484,26 @@ ImplementationRepository::EnvironmentList_var::EnvironmentList_var (EnvironmentL {} ACE_INLINE -ImplementationRepository::EnvironmentList_var::EnvironmentList_var (const ::ImplementationRepository::EnvironmentList_var &p) // copy constructor +ImplementationRepository::EnvironmentList_var::EnvironmentList_var (const ::ImplementationRepository::EnvironmentList_var &p) { if (p.ptr_) - ACE_NEW (this->ptr_, ::ImplementationRepository::EnvironmentList (*p.ptr_)); + { + ACE_NEW (this->ptr_, ::ImplementationRepository::EnvironmentList (*p.ptr_)); + } else - this->ptr_ = 0; + { + this->ptr_ = 0; + } } ACE_INLINE -ImplementationRepository::EnvironmentList_var::~EnvironmentList_var (void) // destructor +ImplementationRepository::EnvironmentList_var::~EnvironmentList_var (void) { delete this->ptr_; } -ACE_INLINE ImplementationRepository::EnvironmentList_var & +ACE_INLINE +ImplementationRepository::EnvironmentList_var & ImplementationRepository::EnvironmentList_var::operator= (EnvironmentList *p) { delete this->ptr_; @@ -459,7 +511,8 @@ ImplementationRepository::EnvironmentList_var::operator= (EnvironmentList *p) return *this; } -ACE_INLINE ::ImplementationRepository::EnvironmentList_var & +ACE_INLINE +::ImplementationRepository::EnvironmentList_var & ImplementationRepository::EnvironmentList_var::operator= (const ::ImplementationRepository::EnvironmentList_var &p) { if (this != &p) @@ -471,8 +524,12 @@ ImplementationRepository::EnvironmentList_var::operator= (const ::Implementation } else { - EnvironmentList *deep_copy = - new EnvironmentList (*p.ptr_); + EnvironmentList *deep_copy = 0; + ACE_NEW_RETURN ( + deep_copy, + EnvironmentList (*p.ptr_), + *this + ); if (deep_copy != 0) { @@ -487,69 +544,75 @@ ImplementationRepository::EnvironmentList_var::operator= (const ::Implementation return *this; } -ACE_INLINE const ::ImplementationRepository::EnvironmentList * +ACE_INLINE +const ::ImplementationRepository::EnvironmentList * ImplementationRepository::EnvironmentList_var::operator-> (void) const { return this->ptr_; } -ACE_INLINE ::ImplementationRepository::EnvironmentList * +ACE_INLINE +::ImplementationRepository::EnvironmentList * ImplementationRepository::EnvironmentList_var::operator-> (void) { return this->ptr_; } -ACE_INLINE +ACE_INLINE ImplementationRepository::EnvironmentList_var::operator const ::ImplementationRepository::EnvironmentList &() const // cast { return *this->ptr_; } -ACE_INLINE +ACE_INLINE ImplementationRepository::EnvironmentList_var::operator ::ImplementationRepository::EnvironmentList &() // cast { return *this->ptr_; } -ACE_INLINE +ACE_INLINE ImplementationRepository::EnvironmentList_var::operator ::ImplementationRepository::EnvironmentList &() const // cast { return *this->ptr_; } -// variable-size types only +// Variable-size types only. ACE_INLINE ImplementationRepository::EnvironmentList_var::operator ::ImplementationRepository::EnvironmentList *&() // cast { return this->ptr_; } -ACE_INLINE ImplementationRepository::EnvironmentVariable & +ACE_INLINE +ImplementationRepository::EnvironmentVariable & ImplementationRepository::EnvironmentList_var::operator[] (CORBA::ULong index) { return this->ptr_->operator[] (index); } -ACE_INLINE const ImplementationRepository::EnvironmentVariable & +ACE_INLINE +const ImplementationRepository::EnvironmentVariable & ImplementationRepository::EnvironmentList_var::operator[] (CORBA::ULong index) const { return ACE_const_cast (const ImplementationRepository::EnvironmentVariable &, this->ptr_->operator[] (index)); } -ACE_INLINE const ::ImplementationRepository::EnvironmentList & +ACE_INLINE +const ::ImplementationRepository::EnvironmentList & ImplementationRepository::EnvironmentList_var::in (void) const { return *this->ptr_; } -ACE_INLINE ::ImplementationRepository::EnvironmentList & +ACE_INLINE +::ImplementationRepository::EnvironmentList & ImplementationRepository::EnvironmentList_var::inout (void) { return *this->ptr_; } -// mapping for variable size -ACE_INLINE ::ImplementationRepository::EnvironmentList *& +ACE_INLINE +::ImplementationRepository::EnvironmentList *& ImplementationRepository::EnvironmentList_var::out (void) { delete this->ptr_; @@ -557,7 +620,8 @@ ImplementationRepository::EnvironmentList_var::out (void) return this->ptr_; } -ACE_INLINE ::ImplementationRepository::EnvironmentList * +ACE_INLINE +::ImplementationRepository::EnvironmentList * ImplementationRepository::EnvironmentList_var::_retn (void) { ::ImplementationRepository::EnvironmentList *tmp = this->ptr_; @@ -565,12 +629,16 @@ ImplementationRepository::EnvironmentList_var::_retn (void) return tmp; } -ACE_INLINE ::ImplementationRepository::EnvironmentList * +ACE_INLINE +::ImplementationRepository::EnvironmentList * ImplementationRepository::EnvironmentList_var::ptr (void) const { return this->ptr_; } +// TAO_IDL - Generated from +// be/be_visitor_sequence/sequence_ci.cpp:567 + // ************************************************************* // Inline operations for class ImplementationRepository::EnvironmentList_out // ************************************************************* @@ -583,7 +651,7 @@ ImplementationRepository::EnvironmentList_out::EnvironmentList_out (EnvironmentL } ACE_INLINE -ImplementationRepository::EnvironmentList_out::EnvironmentList_out (EnvironmentList_var &p) // constructor from _var +ImplementationRepository::EnvironmentList_out::EnvironmentList_out (EnvironmentList_var &p) : ptr_ (p.out ()) { delete this->ptr_; @@ -591,57 +659,64 @@ ImplementationRepository::EnvironmentList_out::EnvironmentList_out (EnvironmentL } ACE_INLINE -ImplementationRepository::EnvironmentList_out::EnvironmentList_out (const ::ImplementationRepository::EnvironmentList_out &p) // copy constructor +ImplementationRepository::EnvironmentList_out::EnvironmentList_out (const ::ImplementationRepository::EnvironmentList_out &p) : ptr_ (ACE_const_cast (EnvironmentList_out&, p).ptr_) {} -ACE_INLINE ::ImplementationRepository::EnvironmentList_out & +ACE_INLINE +::ImplementationRepository::EnvironmentList_out & ImplementationRepository::EnvironmentList_out::operator= (const ::ImplementationRepository::EnvironmentList_out &p) { this->ptr_ = ACE_const_cast (EnvironmentList_out&, p).ptr_; return *this; } -ACE_INLINE ::ImplementationRepository::EnvironmentList_out & +ACE_INLINE +::ImplementationRepository::EnvironmentList_out & ImplementationRepository::EnvironmentList_out::operator= (EnvironmentList *p) { this->ptr_ = p; return *this; } -ACE_INLINE +ACE_INLINE ImplementationRepository::EnvironmentList_out::operator ::ImplementationRepository::EnvironmentList *&() // cast { return this->ptr_; } -ACE_INLINE ::ImplementationRepository::EnvironmentList *& +ACE_INLINE +::ImplementationRepository::EnvironmentList *& ImplementationRepository::EnvironmentList_out::ptr (void) // ptr { return this->ptr_; } -ACE_INLINE ::ImplementationRepository::EnvironmentList * +ACE_INLINE +::ImplementationRepository::EnvironmentList * ImplementationRepository::EnvironmentList_out::operator-> (void) { return this->ptr_; } -ACE_INLINE ImplementationRepository::EnvironmentVariable & +ACE_INLINE +ImplementationRepository::EnvironmentVariable & ImplementationRepository::EnvironmentList_out::operator[] (CORBA::ULong index) { return this->ptr_->operator[] (index); } - #endif /* end #if !defined */ +// TAO_IDL - Generated from +// be/be_structure.cpp:194 + // ************************************************************* // Inline operations for class ImplementationRepository::StartupOptions_var // ************************************************************* ACE_INLINE -ImplementationRepository::StartupOptions_var::StartupOptions_var (void) // default constructor +ImplementationRepository::StartupOptions_var::StartupOptions_var (void) : ptr_ (0) {} @@ -651,42 +726,52 @@ ImplementationRepository::StartupOptions_var::StartupOptions_var (StartupOptions {} ACE_INLINE -ImplementationRepository::StartupOptions_var::StartupOptions_var (const ::ImplementationRepository::StartupOptions_var &p) // copy constructor +ImplementationRepository::StartupOptions_var::StartupOptions_var (const ::ImplementationRepository::StartupOptions_var &p) { if (p.ptr_) - ACE_NEW (this->ptr_, ::ImplementationRepository::StartupOptions (*p.ptr_)); + { + ACE_NEW (this->ptr_, ::ImplementationRepository::StartupOptions (*p.ptr_)); + } else - this->ptr_ = 0; + { + this->ptr_ = 0; + } } ACE_INLINE -ImplementationRepository::StartupOptions_var::~StartupOptions_var (void) // destructor +ImplementationRepository::StartupOptions_var::~StartupOptions_var (void) { delete this->ptr_; } -ACE_INLINE ImplementationRepository::StartupOptions_var & -ImplementationRepository::StartupOptions_var::operator= (StartupOptions *p) +ACE_INLINE +ImplementationRepository::StartupOptions_var & +ImplementationRepository::StartupOptions_var::operator= (StartupOptions *_tao_struct_var) { delete this->ptr_; - this->ptr_ = p; + this->ptr_ = _tao_struct_var; return *this; } -ACE_INLINE ::ImplementationRepository::StartupOptions_var & -ImplementationRepository::StartupOptions_var::operator= (const ::ImplementationRepository::StartupOptions_var &p) +ACE_INLINE +::ImplementationRepository::StartupOptions_var & +ImplementationRepository::StartupOptions_var::operator= (const ::ImplementationRepository::StartupOptions_var &_tao_struct_var) { - if (this != &p) + if (this != &_tao_struct_var) { - if (p.ptr_ == 0) + if (_tao_struct_var.ptr_ == 0) { delete this->ptr_; this->ptr_ = 0; } else { - StartupOptions *deep_copy = - new StartupOptions (*p.ptr_); + StartupOptions *deep_copy = 0; + ACE_NEW_RETURN ( + deep_copy, + StartupOptions (*_tao_struct_var.ptr_), + *this + ); if (deep_copy != 0) { @@ -731,7 +816,7 @@ ImplementationRepository::StartupOptions_var::operator ::ImplementationRepositor return *this->ptr_; } -// variable-size types only +// Variable-size types only. ACE_INLINE ImplementationRepository::StartupOptions_var::operator ::ImplementationRepository::StartupOptions *&() // cast { @@ -750,7 +835,7 @@ ImplementationRepository::StartupOptions_var::inout (void) return *this->ptr_; } -// mapping for variable size +// Mapping for variable size. ACE_INLINE ::ImplementationRepository::StartupOptions *& ImplementationRepository::StartupOptions_var::out (void) { @@ -773,6 +858,9 @@ ImplementationRepository::StartupOptions_var::ptr (void) const return this->ptr_; } +// TAO_IDL - Generated from +// be/be_structure.cpp:523 + // ************************************************************* // Inline operations for class ImplementationRepository::StartupOptions_out // ************************************************************* @@ -785,7 +873,7 @@ ImplementationRepository::StartupOptions_out::StartupOptions_out (::Implementati } ACE_INLINE -ImplementationRepository::StartupOptions_out::StartupOptions_out (StartupOptions_var &p) // constructor from _var +ImplementationRepository::StartupOptions_out::StartupOptions_out (StartupOptions_var &p) : ptr_ (p.out ()) { delete this->ptr_; @@ -793,21 +881,23 @@ ImplementationRepository::StartupOptions_out::StartupOptions_out (StartupOptions } ACE_INLINE -ImplementationRepository::StartupOptions_out::StartupOptions_out (const ::ImplementationRepository::StartupOptions_out &p) // copy constructor +ImplementationRepository::StartupOptions_out::StartupOptions_out (const ::ImplementationRepository::StartupOptions_out &p) : ptr_ (ACE_const_cast (StartupOptions_out&, p).ptr_) {} -ACE_INLINE ImplementationRepository::StartupOptions_out & +ACE_INLINE +ImplementationRepository::StartupOptions_out & ImplementationRepository::StartupOptions_out::operator= (const ::ImplementationRepository::StartupOptions_out &p) { this->ptr_ = ACE_const_cast (StartupOptions_out&, p).ptr_; return *this; } -ACE_INLINE ImplementationRepository::StartupOptions_out & -ImplementationRepository::StartupOptions_out::operator= (StartupOptions *p) +ACE_INLINE +ImplementationRepository::StartupOptions_out & +ImplementationRepository::StartupOptions_out::operator= (StartupOptions *_tao_struct_out) { - this->ptr_ = p; + this->ptr_ = _tao_struct_out; return *this; } @@ -829,12 +919,15 @@ ImplementationRepository::StartupOptions_out::operator-> (void) return this->ptr_; } +// TAO_IDL - Generated from +// be/be_structure.cpp:194 + // ************************************************************* // Inline operations for class ImplementationRepository::ServerInformation_var // ************************************************************* ACE_INLINE -ImplementationRepository::ServerInformation_var::ServerInformation_var (void) // default constructor +ImplementationRepository::ServerInformation_var::ServerInformation_var (void) : ptr_ (0) {} @@ -844,42 +937,52 @@ ImplementationRepository::ServerInformation_var::ServerInformation_var (ServerIn {} ACE_INLINE -ImplementationRepository::ServerInformation_var::ServerInformation_var (const ::ImplementationRepository::ServerInformation_var &p) // copy constructor +ImplementationRepository::ServerInformation_var::ServerInformation_var (const ::ImplementationRepository::ServerInformation_var &p) { if (p.ptr_) - ACE_NEW (this->ptr_, ::ImplementationRepository::ServerInformation (*p.ptr_)); + { + ACE_NEW (this->ptr_, ::ImplementationRepository::ServerInformation (*p.ptr_)); + } else - this->ptr_ = 0; + { + this->ptr_ = 0; + } } ACE_INLINE -ImplementationRepository::ServerInformation_var::~ServerInformation_var (void) // destructor +ImplementationRepository::ServerInformation_var::~ServerInformation_var (void) { delete this->ptr_; } -ACE_INLINE ImplementationRepository::ServerInformation_var & -ImplementationRepository::ServerInformation_var::operator= (ServerInformation *p) +ACE_INLINE +ImplementationRepository::ServerInformation_var & +ImplementationRepository::ServerInformation_var::operator= (ServerInformation *_tao_struct_var) { delete this->ptr_; - this->ptr_ = p; + this->ptr_ = _tao_struct_var; return *this; } -ACE_INLINE ::ImplementationRepository::ServerInformation_var & -ImplementationRepository::ServerInformation_var::operator= (const ::ImplementationRepository::ServerInformation_var &p) +ACE_INLINE +::ImplementationRepository::ServerInformation_var & +ImplementationRepository::ServerInformation_var::operator= (const ::ImplementationRepository::ServerInformation_var &_tao_struct_var) { - if (this != &p) + if (this != &_tao_struct_var) { - if (p.ptr_ == 0) + if (_tao_struct_var.ptr_ == 0) { delete this->ptr_; this->ptr_ = 0; } else { - ServerInformation *deep_copy = - new ServerInformation (*p.ptr_); + ServerInformation *deep_copy = 0; + ACE_NEW_RETURN ( + deep_copy, + ServerInformation (*_tao_struct_var.ptr_), + *this + ); if (deep_copy != 0) { @@ -924,7 +1027,7 @@ ImplementationRepository::ServerInformation_var::operator ::ImplementationReposi return *this->ptr_; } -// variable-size types only +// Variable-size types only. ACE_INLINE ImplementationRepository::ServerInformation_var::operator ::ImplementationRepository::ServerInformation *&() // cast { @@ -943,7 +1046,7 @@ ImplementationRepository::ServerInformation_var::inout (void) return *this->ptr_; } -// mapping for variable size +// Mapping for variable size. ACE_INLINE ::ImplementationRepository::ServerInformation *& ImplementationRepository::ServerInformation_var::out (void) { @@ -966,6 +1069,9 @@ ImplementationRepository::ServerInformation_var::ptr (void) const return this->ptr_; } +// TAO_IDL - Generated from +// be/be_structure.cpp:523 + // ************************************************************* // Inline operations for class ImplementationRepository::ServerInformation_out // ************************************************************* @@ -978,7 +1084,7 @@ ImplementationRepository::ServerInformation_out::ServerInformation_out (::Implem } ACE_INLINE -ImplementationRepository::ServerInformation_out::ServerInformation_out (ServerInformation_var &p) // constructor from _var +ImplementationRepository::ServerInformation_out::ServerInformation_out (ServerInformation_var &p) : ptr_ (p.out ()) { delete this->ptr_; @@ -986,21 +1092,23 @@ ImplementationRepository::ServerInformation_out::ServerInformation_out (ServerIn } ACE_INLINE -ImplementationRepository::ServerInformation_out::ServerInformation_out (const ::ImplementationRepository::ServerInformation_out &p) // copy constructor +ImplementationRepository::ServerInformation_out::ServerInformation_out (const ::ImplementationRepository::ServerInformation_out &p) : ptr_ (ACE_const_cast (ServerInformation_out&, p).ptr_) {} -ACE_INLINE ImplementationRepository::ServerInformation_out & +ACE_INLINE +ImplementationRepository::ServerInformation_out & ImplementationRepository::ServerInformation_out::operator= (const ::ImplementationRepository::ServerInformation_out &p) { this->ptr_ = ACE_const_cast (ServerInformation_out&, p).ptr_; return *this; } -ACE_INLINE ImplementationRepository::ServerInformation_out & -ImplementationRepository::ServerInformation_out::operator= (ServerInformation *p) +ACE_INLINE +ImplementationRepository::ServerInformation_out & +ImplementationRepository::ServerInformation_out::operator= (ServerInformation *_tao_struct_out) { - this->ptr_ = p; + this->ptr_ = _tao_struct_out; return *this; } @@ -1022,192 +1130,231 @@ ImplementationRepository::ServerInformation_out::operator-> (void) return this->ptr_; } +// TAO_IDL - Generated from +// be/be_visitor_sequence/gen_unbounded_sequence_ci.cpp:99 #if !defined (TAO_USE_SEQUENCE_TEMPLATES) #if !defined (__TAO_UNBOUNDED_SEQUENCE_IMPLEMENTATIONREPOSITORY_SERVERINFORMATIONLIST_CI_) #define __TAO_UNBOUNDED_SEQUENCE_IMPLEMENTATIONREPOSITORY_SERVERINFORMATIONLIST_CI_ -// = Static operations. -ACE_INLINE ImplementationRepository::ServerInformation * +ACE_INLINE +ImplementationRepository::ServerInformation * ImplementationRepository::_TAO_Unbounded_Sequence_ImplementationRepository_ServerInformationList::allocbuf (CORBA::ULong size) -// Allocate storage for the sequence. { ImplementationRepository::ServerInformation *retval = 0; ACE_NEW_RETURN (retval, ImplementationRepository::ServerInformation[size], 0); return retval; } -ACE_INLINE void ImplementationRepository::_TAO_Unbounded_Sequence_ImplementationRepository_ServerInformationList::freebuf (ImplementationRepository::ServerInformation *buffer) -// Free the sequence. +ACE_INLINE +void ImplementationRepository::_TAO_Unbounded_Sequence_ImplementationRepository_ServerInformationList::freebuf (ImplementationRepository::ServerInformation *buffer) { delete [] buffer; } ACE_INLINE -ImplementationRepository::_TAO_Unbounded_Sequence_ImplementationRepository_ServerInformationList::_TAO_Unbounded_Sequence_ImplementationRepository_ServerInformationList (void) // Default constructor. +ImplementationRepository::_TAO_Unbounded_Sequence_ImplementationRepository_ServerInformationList::_TAO_Unbounded_Sequence_ImplementationRepository_ServerInformationList (void) { } ACE_INLINE -ImplementationRepository::_TAO_Unbounded_Sequence_ImplementationRepository_ServerInformationList::_TAO_Unbounded_Sequence_ImplementationRepository_ServerInformationList (CORBA::ULong maximum) // Constructor using a maximum length value. +ImplementationRepository::_TAO_Unbounded_Sequence_ImplementationRepository_ServerInformationList::_TAO_Unbounded_Sequence_ImplementationRepository_ServerInformationList (CORBA::ULong maximum) : TAO_Unbounded_Base_Sequence (maximum, _TAO_Unbounded_Sequence_ImplementationRepository_ServerInformationList::allocbuf (maximum)) { } ACE_INLINE -ImplementationRepository::_TAO_Unbounded_Sequence_ImplementationRepository_ServerInformationList::_TAO_Unbounded_Sequence_ImplementationRepository_ServerInformationList (CORBA::ULong maximum, - CORBA::ULong length, - ImplementationRepository::ServerInformation *data, - CORBA::Boolean release) -: TAO_Unbounded_Base_Sequence (maximum, length, data, release) +ImplementationRepository::_TAO_Unbounded_Sequence_ImplementationRepository_ServerInformationList::_TAO_Unbounded_Sequence_ImplementationRepository_ServerInformationList ( + CORBA::ULong maximum, + CORBA::ULong length, + ImplementationRepository::ServerInformation *data, + CORBA::Boolean release + ) + : TAO_Unbounded_Base_Sequence (maximum, length, data, release) { } ACE_INLINE -ImplementationRepository::_TAO_Unbounded_Sequence_ImplementationRepository_ServerInformationList::_TAO_Unbounded_Sequence_ImplementationRepository_ServerInformationList (const _TAO_Unbounded_Sequence_ImplementationRepository_ServerInformationList &rhs) -// Copy constructor. +ImplementationRepository::_TAO_Unbounded_Sequence_ImplementationRepository_ServerInformationList::_TAO_Unbounded_Sequence_ImplementationRepository_ServerInformationList ( + const _TAO_Unbounded_Sequence_ImplementationRepository_ServerInformationList &rhs + ) : TAO_Unbounded_Base_Sequence (rhs) { if (rhs.buffer_ != 0) - { - ImplementationRepository::ServerInformation *tmp1 = _TAO_Unbounded_Sequence_ImplementationRepository_ServerInformationList::allocbuf (this->maximum_); - ImplementationRepository::ServerInformation * const tmp2 = ACE_reinterpret_cast (ImplementationRepository::ServerInformation * ACE_CAST_CONST, rhs.buffer_); - - for (CORBA::ULong i = 0; i < this->length_; ++i) - tmp1[i] = tmp2[i]; - - this->buffer_ = tmp1; - } + { + ImplementationRepository::ServerInformation *tmp1 = + _TAO_Unbounded_Sequence_ImplementationRepository_ServerInformationList::allocbuf (this->maximum_); + ImplementationRepository::ServerInformation * const tmp2 = + ACE_reinterpret_cast (ImplementationRepository::ServerInformation * ACE_CAST_CONST, rhs.buffer_); + + for (CORBA::ULong i = 0; i < this->length_; ++i) + { + tmp1[i] = tmp2[i]; + } + + this->buffer_ = tmp1; + } else - { - this->buffer_ = 0; - } + { + this->buffer_ = 0; + } } -ACE_INLINE ImplementationRepository::_TAO_Unbounded_Sequence_ImplementationRepository_ServerInformationList & -ImplementationRepository::_TAO_Unbounded_Sequence_ImplementationRepository_ServerInformationList::operator= (const _TAO_Unbounded_Sequence_ImplementationRepository_ServerInformationList &rhs) -// Assignment operator. +ACE_INLINE +ImplementationRepository::_TAO_Unbounded_Sequence_ImplementationRepository_ServerInformationList & +ImplementationRepository::_TAO_Unbounded_Sequence_ImplementationRepository_ServerInformationList::operator= ( + const _TAO_Unbounded_Sequence_ImplementationRepository_ServerInformationList &rhs + ) { if (this == &rhs) - return *this; + { + return *this; + } if (this->release_) - { - if (this->maximum_ < rhs.maximum_) { - // free the old buffer - ImplementationRepository::ServerInformation *tmp = ACE_reinterpret_cast (ImplementationRepository::ServerInformation *, this->buffer_); - _TAO_Unbounded_Sequence_ImplementationRepository_ServerInformationList::freebuf (tmp); - this->buffer_ = _TAO_Unbounded_Sequence_ImplementationRepository_ServerInformationList::allocbuf (rhs.maximum_); + if (this->maximum_ < rhs.maximum_) + { + // Free the old buffer. + ImplementationRepository::ServerInformation *tmp = + ACE_reinterpret_cast (ImplementationRepository::ServerInformation *, this->buffer_); + + _TAO_Unbounded_Sequence_ImplementationRepository_ServerInformationList::freebuf (tmp); + + this->buffer_ = + _TAO_Unbounded_Sequence_ImplementationRepository_ServerInformationList::allocbuf (rhs.maximum_); + } } - } else - this->buffer_ = _TAO_Unbounded_Sequence_ImplementationRepository_ServerInformationList::allocbuf (rhs.maximum_); + { + this->buffer_ = + _TAO_Unbounded_Sequence_ImplementationRepository_ServerInformationList::allocbuf (rhs.maximum_); + } TAO_Unbounded_Base_Sequence::operator= (rhs); - ImplementationRepository::ServerInformation *tmp1 = ACE_reinterpret_cast (ImplementationRepository::ServerInformation *, this->buffer_); - ImplementationRepository::ServerInformation * const tmp2 = ACE_reinterpret_cast (ImplementationRepository::ServerInformation * ACE_CAST_CONST, rhs.buffer_); + ImplementationRepository::ServerInformation *tmp1 = + ACE_reinterpret_cast (ImplementationRepository::ServerInformation *, this->buffer_); + ImplementationRepository::ServerInformation * const tmp2 = + ACE_reinterpret_cast (ImplementationRepository::ServerInformation * ACE_CAST_CONST, rhs.buffer_); for (CORBA::ULong i = 0; i < this->length_; ++i) - tmp1[i] = tmp2[i]; + { + tmp1[i] = tmp2[i]; + } return *this; } // = Accessors. -ACE_INLINE ImplementationRepository::ServerInformation & +ACE_INLINE +ImplementationRepository::ServerInformation & ImplementationRepository::_TAO_Unbounded_Sequence_ImplementationRepository_ServerInformationList::operator[] (CORBA::ULong i) -// operator [] { ACE_ASSERT (i < this->maximum_); - ImplementationRepository::ServerInformation* tmp = ACE_reinterpret_cast(ImplementationRepository::ServerInformation*,this->buffer_); + ImplementationRepository::ServerInformation* tmp = + ACE_reinterpret_cast (ImplementationRepository::ServerInformation*, this->buffer_); return tmp[i]; } -ACE_INLINE const ImplementationRepository::ServerInformation & +ACE_INLINE +const ImplementationRepository::ServerInformation & ImplementationRepository::_TAO_Unbounded_Sequence_ImplementationRepository_ServerInformationList::operator[] (CORBA::ULong i) const -// operator [] { ACE_ASSERT (i < this->maximum_); - ImplementationRepository::ServerInformation * const tmp = ACE_reinterpret_cast (ImplementationRepository::ServerInformation* ACE_CAST_CONST, this->buffer_); + ImplementationRepository::ServerInformation * const tmp = + ACE_reinterpret_cast (ImplementationRepository::ServerInformation* ACE_CAST_CONST, this->buffer_); return tmp[i]; } // Implement the TAO_Base_Sequence methods (see Sequence.h) -ACE_INLINE ImplementationRepository::ServerInformation * +ACE_INLINE +ImplementationRepository::ServerInformation * ImplementationRepository::_TAO_Unbounded_Sequence_ImplementationRepository_ServerInformationList::get_buffer (CORBA::Boolean orphan) { ImplementationRepository::ServerInformation *result = 0; + if (orphan == 0) - { - // We retain ownership. - if (this->buffer_ == 0) { - result = _TAO_Unbounded_Sequence_ImplementationRepository_ServerInformationList::allocbuf (this->length_); - this->buffer_ = result; - this->release_ = 1; - } - else - { - result = ACE_reinterpret_cast (ImplementationRepository::ServerInformation*, this->buffer_); + // We retain ownership. + if (this->buffer_ == 0) + { + result = + _TAO_Unbounded_Sequence_ImplementationRepository_ServerInformationList::allocbuf (this->length_); + this->buffer_ = result; + this->release_ = 1; + } + else + { + result = + ACE_reinterpret_cast (ImplementationRepository::ServerInformation*, this->buffer_); + } } - } else // if (orphan == 1) - { - if (this->release_ != 0) { - // We set the state back to default and relinquish - // ownership. - result = ACE_reinterpret_cast(ImplementationRepository::ServerInformation*,this->buffer_); - this->maximum_ = 0; - this->length_ = 0; - this->buffer_ = 0; - this->release_ = 0; + if (this->release_ != 0) + { + // We set the state back to default and relinquish ownership. + result = + ACE_reinterpret_cast(ImplementationRepository::ServerInformation*,this->buffer_); + this->maximum_ = 0; + this->length_ = 0; + this->buffer_ = 0; + this->release_ = 0; + } } - } + return result; } -ACE_INLINE const ImplementationRepository::ServerInformation * +ACE_INLINE +const ImplementationRepository::ServerInformation * ImplementationRepository::_TAO_Unbounded_Sequence_ImplementationRepository_ServerInformationList::get_buffer (void) const { - return ACE_reinterpret_cast(const ImplementationRepository::ServerInformation * ACE_CAST_CONST, this->buffer_); + return ACE_reinterpret_cast (const ImplementationRepository::ServerInformation * ACE_CAST_CONST, this->buffer_); } -ACE_INLINE void -ImplementationRepository::_TAO_Unbounded_Sequence_ImplementationRepository_ServerInformationList::replace (CORBA::ULong max, -CORBA::ULong length, -ImplementationRepository::ServerInformation *data, -CORBA::Boolean release) +ACE_INLINE +void +ImplementationRepository::_TAO_Unbounded_Sequence_ImplementationRepository_ServerInformationList::replace ( + CORBA::ULong max, + CORBA::ULong length, + ImplementationRepository::ServerInformation *data, + CORBA::Boolean release + ) { this->maximum_ = max; this->length_ = length; + if (this->buffer_ && this->release_ == 1) - { - ImplementationRepository::ServerInformation *tmp = ACE_reinterpret_cast(ImplementationRepository::ServerInformation*,this->buffer_); - _TAO_Unbounded_Sequence_ImplementationRepository_ServerInformationList::freebuf (tmp); - } + { + ImplementationRepository::ServerInformation *tmp = + ACE_reinterpret_cast (ImplementationRepository::ServerInformation*, this->buffer_); + _TAO_Unbounded_Sequence_ImplementationRepository_ServerInformationList::freebuf (tmp); + } + this->buffer_ = data; this->release_ = release; } #endif /* end #if !defined */ - #endif /* !TAO_USE_SEQUENCE_TEMPLATES */ #if !defined (_IMPLEMENTATIONREPOSITORY_SERVERINFORMATIONLIST_CI_) #define _IMPLEMENTATIONREPOSITORY_SERVERINFORMATIONLIST_CI_ +// TAO_IDL - Generated from +// be/be_visitor_sequence/sequence_ci.cpp:226 + // ************************************************************* // Inline operations for class ImplementationRepository::ServerInformationList_var // ************************************************************* ACE_INLINE -ImplementationRepository::ServerInformationList_var::ServerInformationList_var (void) // default constructor +ImplementationRepository::ServerInformationList_var::ServerInformationList_var (void) : ptr_ (0) {} @@ -1217,21 +1364,26 @@ ImplementationRepository::ServerInformationList_var::ServerInformationList_var ( {} ACE_INLINE -ImplementationRepository::ServerInformationList_var::ServerInformationList_var (const ::ImplementationRepository::ServerInformationList_var &p) // copy constructor +ImplementationRepository::ServerInformationList_var::ServerInformationList_var (const ::ImplementationRepository::ServerInformationList_var &p) { if (p.ptr_) - ACE_NEW (this->ptr_, ::ImplementationRepository::ServerInformationList (*p.ptr_)); + { + ACE_NEW (this->ptr_, ::ImplementationRepository::ServerInformationList (*p.ptr_)); + } else - this->ptr_ = 0; + { + this->ptr_ = 0; + } } ACE_INLINE -ImplementationRepository::ServerInformationList_var::~ServerInformationList_var (void) // destructor +ImplementationRepository::ServerInformationList_var::~ServerInformationList_var (void) { delete this->ptr_; } -ACE_INLINE ImplementationRepository::ServerInformationList_var & +ACE_INLINE +ImplementationRepository::ServerInformationList_var & ImplementationRepository::ServerInformationList_var::operator= (ServerInformationList *p) { delete this->ptr_; @@ -1239,7 +1391,8 @@ ImplementationRepository::ServerInformationList_var::operator= (ServerInformatio return *this; } -ACE_INLINE ::ImplementationRepository::ServerInformationList_var & +ACE_INLINE +::ImplementationRepository::ServerInformationList_var & ImplementationRepository::ServerInformationList_var::operator= (const ::ImplementationRepository::ServerInformationList_var &p) { if (this != &p) @@ -1251,8 +1404,12 @@ ImplementationRepository::ServerInformationList_var::operator= (const ::Implemen } else { - ServerInformationList *deep_copy = - new ServerInformationList (*p.ptr_); + ServerInformationList *deep_copy = 0; + ACE_NEW_RETURN ( + deep_copy, + ServerInformationList (*p.ptr_), + *this + ); if (deep_copy != 0) { @@ -1267,69 +1424,75 @@ ImplementationRepository::ServerInformationList_var::operator= (const ::Implemen return *this; } -ACE_INLINE const ::ImplementationRepository::ServerInformationList * +ACE_INLINE +const ::ImplementationRepository::ServerInformationList * ImplementationRepository::ServerInformationList_var::operator-> (void) const { return this->ptr_; } -ACE_INLINE ::ImplementationRepository::ServerInformationList * +ACE_INLINE +::ImplementationRepository::ServerInformationList * ImplementationRepository::ServerInformationList_var::operator-> (void) { return this->ptr_; } -ACE_INLINE +ACE_INLINE ImplementationRepository::ServerInformationList_var::operator const ::ImplementationRepository::ServerInformationList &() const // cast { return *this->ptr_; } -ACE_INLINE +ACE_INLINE ImplementationRepository::ServerInformationList_var::operator ::ImplementationRepository::ServerInformationList &() // cast { return *this->ptr_; } -ACE_INLINE +ACE_INLINE ImplementationRepository::ServerInformationList_var::operator ::ImplementationRepository::ServerInformationList &() const // cast { return *this->ptr_; } -// variable-size types only +// Variable-size types only. ACE_INLINE ImplementationRepository::ServerInformationList_var::operator ::ImplementationRepository::ServerInformationList *&() // cast { return this->ptr_; } -ACE_INLINE ImplementationRepository::ServerInformation & +ACE_INLINE +ImplementationRepository::ServerInformation & ImplementationRepository::ServerInformationList_var::operator[] (CORBA::ULong index) { return this->ptr_->operator[] (index); } -ACE_INLINE const ImplementationRepository::ServerInformation & +ACE_INLINE +const ImplementationRepository::ServerInformation & ImplementationRepository::ServerInformationList_var::operator[] (CORBA::ULong index) const { return ACE_const_cast (const ImplementationRepository::ServerInformation &, this->ptr_->operator[] (index)); } -ACE_INLINE const ::ImplementationRepository::ServerInformationList & +ACE_INLINE +const ::ImplementationRepository::ServerInformationList & ImplementationRepository::ServerInformationList_var::in (void) const { return *this->ptr_; } -ACE_INLINE ::ImplementationRepository::ServerInformationList & +ACE_INLINE +::ImplementationRepository::ServerInformationList & ImplementationRepository::ServerInformationList_var::inout (void) { return *this->ptr_; } -// mapping for variable size -ACE_INLINE ::ImplementationRepository::ServerInformationList *& +ACE_INLINE +::ImplementationRepository::ServerInformationList *& ImplementationRepository::ServerInformationList_var::out (void) { delete this->ptr_; @@ -1337,7 +1500,8 @@ ImplementationRepository::ServerInformationList_var::out (void) return this->ptr_; } -ACE_INLINE ::ImplementationRepository::ServerInformationList * +ACE_INLINE +::ImplementationRepository::ServerInformationList * ImplementationRepository::ServerInformationList_var::_retn (void) { ::ImplementationRepository::ServerInformationList *tmp = this->ptr_; @@ -1345,12 +1509,16 @@ ImplementationRepository::ServerInformationList_var::_retn (void) return tmp; } -ACE_INLINE ::ImplementationRepository::ServerInformationList * +ACE_INLINE +::ImplementationRepository::ServerInformationList * ImplementationRepository::ServerInformationList_var::ptr (void) const { return this->ptr_; } +// TAO_IDL - Generated from +// be/be_visitor_sequence/sequence_ci.cpp:567 + // ************************************************************* // Inline operations for class ImplementationRepository::ServerInformationList_out // ************************************************************* @@ -1363,7 +1531,7 @@ ImplementationRepository::ServerInformationList_out::ServerInformationList_out ( } ACE_INLINE -ImplementationRepository::ServerInformationList_out::ServerInformationList_out (ServerInformationList_var &p) // constructor from _var +ImplementationRepository::ServerInformationList_out::ServerInformationList_out (ServerInformationList_var &p) : ptr_ (p.out ()) { delete this->ptr_; @@ -1371,51 +1539,57 @@ ImplementationRepository::ServerInformationList_out::ServerInformationList_out ( } ACE_INLINE -ImplementationRepository::ServerInformationList_out::ServerInformationList_out (const ::ImplementationRepository::ServerInformationList_out &p) // copy constructor +ImplementationRepository::ServerInformationList_out::ServerInformationList_out (const ::ImplementationRepository::ServerInformationList_out &p) : ptr_ (ACE_const_cast (ServerInformationList_out&, p).ptr_) {} -ACE_INLINE ::ImplementationRepository::ServerInformationList_out & +ACE_INLINE +::ImplementationRepository::ServerInformationList_out & ImplementationRepository::ServerInformationList_out::operator= (const ::ImplementationRepository::ServerInformationList_out &p) { this->ptr_ = ACE_const_cast (ServerInformationList_out&, p).ptr_; return *this; } -ACE_INLINE ::ImplementationRepository::ServerInformationList_out & +ACE_INLINE +::ImplementationRepository::ServerInformationList_out & ImplementationRepository::ServerInformationList_out::operator= (ServerInformationList *p) { this->ptr_ = p; return *this; } -ACE_INLINE +ACE_INLINE ImplementationRepository::ServerInformationList_out::operator ::ImplementationRepository::ServerInformationList *&() // cast { return this->ptr_; } -ACE_INLINE ::ImplementationRepository::ServerInformationList *& +ACE_INLINE +::ImplementationRepository::ServerInformationList *& ImplementationRepository::ServerInformationList_out::ptr (void) // ptr { return this->ptr_; } -ACE_INLINE ::ImplementationRepository::ServerInformationList * +ACE_INLINE +::ImplementationRepository::ServerInformationList * ImplementationRepository::ServerInformationList_out::operator-> (void) { return this->ptr_; } -ACE_INLINE ImplementationRepository::ServerInformation & +ACE_INLINE +ImplementationRepository::ServerInformation & ImplementationRepository::ServerInformationList_out::operator[] (CORBA::ULong index) { return this->ptr_->operator[] (index); } - #endif /* end #if !defined */ +// TAO_IDL - Generated from +// be/be_visitor_interface/interface_ci.cpp:68 #if !defined (_IMPLEMENTATIONREPOSITORY_ADMINISTRATION___CI_) #define _IMPLEMENTATIONREPOSITORY_ADMINISTRATION___CI_ @@ -1431,9 +1605,10 @@ ImplementationRepository::Administration::Administration ( this->ImplementationRepository_Administration_setup_collocation (_tao_collocated); } - #endif /* end #if !defined */ +// TAO_IDL - Generated from +// be/be_visitor_interface/interface_ci.cpp:68 #if !defined (_IMPLEMENTATIONREPOSITORY_SERVERINFORMATIONITERATOR___CI_) #define _IMPLEMENTATIONREPOSITORY_SERVERINFORMATIONITERATOR___CI_ @@ -1449,9 +1624,11 @@ ImplementationRepository::ServerInformationIterator::ServerInformationIterator ( this->ImplementationRepository_ServerInformationIterator_setup_collocation (_tao_collocated); } - #endif /* end #if !defined */ +// TAO_IDL - Generated from +// be/be_visitor_interface/cdr_op_ci.cpp:72 + TAO_PortableServer_Export CORBA::Boolean operator<< ( TAO_OutputCDR &, const ImplementationRepository::ServerObject_ptr @@ -1462,86 +1639,156 @@ TAO_PortableServer_Export CORBA::Boolean operator>> ( ImplementationRepository::ServerObject_ptr & ); -ACE_INLINE CORBA::Boolean operator<< (TAO_OutputCDR &strm, const ImplementationRepository::AlreadyRegistered &_tao_aggregate) +// TAO_IDL - Generated from +// be/be_visitor_exception/cdr_op_ci.cpp:71 + +ACE_INLINE +CORBA::Boolean operator<< ( + TAO_OutputCDR &strm, + const ImplementationRepository::AlreadyRegistered &_tao_aggregate + ) { - // first marshal the repository ID + // First marshal the repository ID. if (strm << _tao_aggregate._rep_id ()) - return 1; + { + return 1; + } else - return 0; + { + return 0; + } } -ACE_INLINE CORBA::Boolean operator>> (TAO_InputCDR &,ImplementationRepository::AlreadyRegistered&) +ACE_INLINE +CORBA::Boolean operator>> ( + TAO_InputCDR &, + ImplementationRepository::AlreadyRegistered& + ) { return 1; } -ACE_INLINE CORBA::Boolean operator<< (TAO_OutputCDR &strm, const ImplementationRepository::CannotActivate &_tao_aggregate) +// TAO_IDL - Generated from +// be/be_visitor_exception/cdr_op_ci.cpp:71 + +ACE_INLINE +CORBA::Boolean operator<< ( + TAO_OutputCDR &strm, + const ImplementationRepository::CannotActivate &_tao_aggregate + ) { - // first marshal the repository ID + // First marshal the repository ID. if (strm << _tao_aggregate._rep_id ()) - { - // now marshal the members (if any) - if ( - (strm << _tao_aggregate.reason.in ()) - ) - return 1; - else - return 0; - } + { + // Now marshal the members (if any). + if ( + (strm << _tao_aggregate.reason.in ()) + ) + { + return 1; + } + else + { + return 0; + } + } else - return 0; + { + return 0; + } } -ACE_INLINE CORBA::Boolean operator>> (TAO_InputCDR &strm,ImplementationRepository::CannotActivate &_tao_aggregate) +ACE_INLINE +CORBA::Boolean operator>> ( + TAO_InputCDR &strm, + ImplementationRepository::CannotActivate &_tao_aggregate + ) { - // now marshal the members + // Demarshal the members. if ( (strm >> _tao_aggregate.reason.out ()) ) - return 1; + { + return 1; + } else - return 0; + { + return 0; + } } -ACE_INLINE CORBA::Boolean operator<< (TAO_OutputCDR &strm, const ImplementationRepository::NotFound &_tao_aggregate) +// TAO_IDL - Generated from +// be/be_visitor_exception/cdr_op_ci.cpp:71 + +ACE_INLINE +CORBA::Boolean operator<< ( + TAO_OutputCDR &strm, + const ImplementationRepository::NotFound &_tao_aggregate + ) { - // first marshal the repository ID + // First marshal the repository ID. if (strm << _tao_aggregate._rep_id ()) - return 1; + { + return 1; + } else - return 0; + { + return 0; + } } -ACE_INLINE CORBA::Boolean operator>> (TAO_InputCDR &,ImplementationRepository::NotFound&) +ACE_INLINE +CORBA::Boolean operator>> ( + TAO_InputCDR &, + ImplementationRepository::NotFound& + ) { return 1; } -ACE_INLINE CORBA::Boolean operator<< (TAO_OutputCDR &strm, const ImplementationRepository::EnvironmentVariable &_tao_aggregate) +// TAO_IDL - Generated from +// be/be_visitor_structure/cdr_op_ci.cpp:71 + +ACE_INLINE +CORBA::Boolean operator<< ( + TAO_OutputCDR &strm, + const ImplementationRepository::EnvironmentVariable &_tao_aggregate + ) { if ( (strm << _tao_aggregate.name.in ()) && (strm << _tao_aggregate.value.in ()) - ) - return 1; + ) + { + return 1; + } else - return 0; - + { + return 0; + } } -ACE_INLINE CORBA::Boolean operator>> (TAO_InputCDR &strm, ImplementationRepository::EnvironmentVariable &_tao_aggregate) +ACE_INLINE +CORBA::Boolean operator>> ( + TAO_InputCDR &strm, + ImplementationRepository::EnvironmentVariable &_tao_aggregate + ) { if ( (strm >> _tao_aggregate.name.out ()) && (strm >> _tao_aggregate.value.out ()) - ) - return 1; + ) + { + return 1; + } else - return 0; - + { + return 0; + } } +// TAO_IDL - Generated from +// be/be_visitor_sequence/cdr_op_ci.cpp:84 #if !defined _TAO_CDR_OP_ImplementationRepository_EnvironmentList_I_ #define _TAO_CDR_OP_ImplementationRepository_EnvironmentList_I_ @@ -1550,6 +1797,7 @@ CORBA::Boolean TAO_PortableServer_Export operator<< ( TAO_OutputCDR &, const ImplementationRepository::EnvironmentList & ); + CORBA::Boolean TAO_PortableServer_Export operator>> ( TAO_InputCDR &, ImplementationRepository::EnvironmentList & @@ -1557,13 +1805,18 @@ CORBA::Boolean TAO_PortableServer_Export operator>> ( #endif /* _TAO_CDR_OP_ImplementationRepository_EnvironmentList_I_ */ -ACE_INLINE CORBA::Boolean operator<< (TAO_OutputCDR &strm, const ImplementationRepository::ActivationMode &_tao_enumval) +// TAO_IDL - Generated from +// be/be_visitor_enum/cdr_op_ci.cpp:51 + +ACE_INLINE +CORBA::Boolean operator<< (TAO_OutputCDR &strm, const ImplementationRepository::ActivationMode &_tao_enumval) { CORBA::ULong _tao_temp = _tao_enumval; return strm << _tao_temp; } -ACE_INLINE CORBA::Boolean operator>> (TAO_InputCDR &strm, ImplementationRepository::ActivationMode &_tao_enumval) +ACE_INLINE +CORBA::Boolean operator>> (TAO_InputCDR &strm, ImplementationRepository::ActivationMode &_tao_enumval) { CORBA::ULong _tao_temp = 0; CORBA::Boolean _tao_result = strm >> _tao_temp; @@ -1576,7 +1829,14 @@ ACE_INLINE CORBA::Boolean operator>> (TAO_InputCDR &strm, ImplementationReposito return _tao_result; } -ACE_INLINE CORBA::Boolean operator<< (TAO_OutputCDR &strm, const ImplementationRepository::StartupOptions &_tao_aggregate) +// TAO_IDL - Generated from +// be/be_visitor_structure/cdr_op_ci.cpp:71 + +ACE_INLINE +CORBA::Boolean operator<< ( + TAO_OutputCDR &strm, + const ImplementationRepository::StartupOptions &_tao_aggregate + ) { if ( (strm << _tao_aggregate.command_line.in ()) && @@ -1584,14 +1844,21 @@ ACE_INLINE CORBA::Boolean operator<< (TAO_OutputCDR &strm, const ImplementationR (strm << _tao_aggregate.working_directory.in ()) && (strm << _tao_aggregate.activation) && (strm << _tao_aggregate.location.in ()) - ) - return 1; + ) + { + return 1; + } else - return 0; - + { + return 0; + } } -ACE_INLINE CORBA::Boolean operator>> (TAO_InputCDR &strm, ImplementationRepository::StartupOptions &_tao_aggregate) +ACE_INLINE +CORBA::Boolean operator>> ( + TAO_InputCDR &strm, + ImplementationRepository::StartupOptions &_tao_aggregate + ) { if ( (strm >> _tao_aggregate.command_line.out ()) && @@ -1599,41 +1866,63 @@ ACE_INLINE CORBA::Boolean operator>> (TAO_InputCDR &strm, ImplementationReposito (strm >> _tao_aggregate.working_directory.out ()) && (strm >> _tao_aggregate.activation) && (strm >> _tao_aggregate.location.out ()) - ) - return 1; + ) + { + return 1; + } else - return 0; - + { + return 0; + } } -ACE_INLINE CORBA::Boolean operator<< (TAO_OutputCDR &strm, const ImplementationRepository::ServerInformation &_tao_aggregate) +// TAO_IDL - Generated from +// be/be_visitor_structure/cdr_op_ci.cpp:71 + +ACE_INLINE +CORBA::Boolean operator<< ( + TAO_OutputCDR &strm, + const ImplementationRepository::ServerInformation &_tao_aggregate + ) { if ( (strm << _tao_aggregate.logical_server.in ()) && (strm << _tao_aggregate.server.in ()) && (strm << _tao_aggregate.startup) && (strm << _tao_aggregate.location.in ()) - ) - return 1; + ) + { + return 1; + } else - return 0; - + { + return 0; + } } -ACE_INLINE CORBA::Boolean operator>> (TAO_InputCDR &strm, ImplementationRepository::ServerInformation &_tao_aggregate) +ACE_INLINE +CORBA::Boolean operator>> ( + TAO_InputCDR &strm, + ImplementationRepository::ServerInformation &_tao_aggregate + ) { if ( (strm >> _tao_aggregate.logical_server.out ()) && (strm >> _tao_aggregate.server.out ()) && (strm >> _tao_aggregate.startup) && (strm >> _tao_aggregate.location.out ()) - ) - return 1; + ) + { + return 1; + } else - return 0; - + { + return 0; + } } +// TAO_IDL - Generated from +// be/be_visitor_sequence/cdr_op_ci.cpp:84 #if !defined _TAO_CDR_OP_ImplementationRepository_ServerInformationList_I_ #define _TAO_CDR_OP_ImplementationRepository_ServerInformationList_I_ @@ -1642,6 +1931,7 @@ CORBA::Boolean TAO_PortableServer_Export operator<< ( TAO_OutputCDR &, const ImplementationRepository::ServerInformationList & ); + CORBA::Boolean TAO_PortableServer_Export operator>> ( TAO_InputCDR &, ImplementationRepository::ServerInformationList & @@ -1649,6 +1939,9 @@ CORBA::Boolean TAO_PortableServer_Export operator>> ( #endif /* _TAO_CDR_OP_ImplementationRepository_ServerInformationList_I_ */ +// TAO_IDL - Generated from +// be/be_visitor_interface_fwd/cdr_op_ci.cpp:59 + TAO_PortableServer_Export CORBA::Boolean operator<< ( TAO_OutputCDR &, const ImplementationRepository::ServerInformationIterator_ptr @@ -1659,6 +1952,9 @@ TAO_PortableServer_Export CORBA::Boolean operator>> ( ImplementationRepository::ServerInformationIterator_ptr & ); +// TAO_IDL - Generated from +// be/be_visitor_interface/cdr_op_ci.cpp:72 + TAO_PortableServer_Export CORBA::Boolean operator<< ( TAO_OutputCDR &, const ImplementationRepository::Administration_ptr diff --git a/TAO/tao/PortableServer/ImplRepoS.cpp b/TAO/tao/PortableServer/ImplRepoS.cpp index 93e2d68836d..09b6887101c 100644 --- a/TAO/tao/PortableServer/ImplRepoS.cpp +++ b/TAO/tao/PortableServer/ImplRepoS.cpp @@ -19,11 +19,15 @@ // Information about TAO is available at: // http://www.cs.wustl.edu/~schmidt/TAO.html -#ifndef _TAO_IDL_IMPLREPOS_CPP_ -#define _TAO_IDL_IMPLREPOS_CPP_ -#include "ImplRepoS.h" +// TAO_IDL - Generated from +// be/be_codegen.cpp:670 + +#ifndef _TAO_IDL_ORIG_IMPLREPOS_CPP_ +#define _TAO_IDL_ORIG_IMPLREPOS_CPP_ + +#include "ImplRepoS.h" #include "tao/PortableServer/Object_Adapter.h" #include "tao/PortableServer/Operation_Table.h" #include "tao/TAO_Server_Request.h" @@ -31,7 +35,6 @@ #include "tao/Stub.h" #include "tao/IFR_Client_Adapter.h" #include "tao/PortableInterceptor.h" - #if TAO_HAS_INTERCEPTORS == 1 #include "tao/RequestInfo_Util.h" #include "tao/PICurrent.h" @@ -40,6 +43,7 @@ #endif /* TAO_HAS_INTERCEPTORS == 1 */ #include "ace/Dynamic_Service.h" + #if defined (__BORLANDC__) #pragma option -w-rvl -w-rch -w-ccc -w-aus #endif /* __BORLANDC__ */ @@ -48,6 +52,11 @@ #include "ImplRepoS.i" #endif /* !defined INLINE */ + + +// TAO_IDL - Generated from +// be/be_interface.cpp:1731 + class TAO_ImplementationRepository_ServerObject_Perfect_Hash_OpTable : public TAO_Perfect_Hash_OpTable { private: @@ -55,55 +64,55 @@ private: public: const TAO_operation_db_entry * lookup (const char *str, unsigned int len); }; -/* starting time is 8:56:49 */ + /* C++ code produced by gperf version 2.8 (ACE version) */ -/* Command-line: /project/doctmp/pgontla/ImR/ACE_wrappers/bin/gperf -m -M -J -c -C -D -E -T -f 0 -F 0 -a -o -t -p -K opname_ -L C++ -Z TAO_ImplementationRepository_ServerObject_Perfect_Hash_OpTable -N lookup */ +/* Command-line: /export/home/boris/cvs-ace/range/ACE_wrappers/bin/gperf -m -M -J -c -C -D -E -T -f 0 -F 0 -a -o -t -p -K opname_ -L C++ -Z TAO_ImplementationRepository_ServerObject_Perfect_Hash_OpTable -N lookup */ unsigned int TAO_ImplementationRepository_ServerObject_Perfect_Hash_OpTable::hash (const char *str, unsigned int len) { static const unsigned char asso_values[] = { #if defined (ACE_MVS) - 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, - 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, - 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, - 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, - 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, - 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, - 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, - 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, - 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, - 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, - 14, 14, 14, 14, 14, 14, 14, 14, 14, 0, - 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, - 14, 14, 14, 14, 14, 14, 14, 14, 14, 0, - 14, 14, 14, 0, 14, 0, 14, 14, 14, 14, - 14, 14, 14, 14, 14, 14, 14, 14, 14, 0, - 14, 0, 14, 14, 14, 14, 14, 14, 14, 14, - 14, 14, 0, 0, 14, 14, 14, 14, 14, 14, - 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, - 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, - 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, - 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, - 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, - 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, - 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, - 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, - 14, 14, 14, 14, 14, 14, + 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, + 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, + 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, + 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, + 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, + 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, + 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, + 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, + 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, + 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, + 16, 16, 16, 16, 16, 16, 16, 16, 16, 0, + 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, + 16, 16, 16, 16, 16, 16, 16, 16, 16, 0, + 16, 16, 16, 5, 16, 0, 16, 16, 16, 16, + 16, 16, 16, 16, 16, 16, 16, 16, 16, 0, + 16, 0, 16, 16, 16, 16, 16, 16, 16, 16, + 16, 16, 0, 0, 16, 16, 16, 16, 16, 16, + 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, + 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, + 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, + 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, + 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, + 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, + 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, + 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, + 16, 16, 16, 16, 16, 16, #else - 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, - 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, - 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, - 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, - 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, - 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, - 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, - 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, - 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, - 14, 14, 14, 14, 14, 0, 14, 0, 14, 14, - 14, 0, 14, 0, 14, 14, 14, 14, 14, 14, - 0, 14, 0, 14, 14, 0, 0, 14, 14, 14, - 14, 14, 14, 14, 14, 14, 14, 14, + 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, + 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, + 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, + 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, + 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, + 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, + 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, + 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, + 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, + 16, 16, 16, 16, 16, 0, 16, 0, 16, 16, + 16, 5, 16, 0, 16, 16, 16, 16, 16, 16, + 0, 16, 0, 16, 16, 0, 0, 16, 16, 16, + 16, 16, 16, 16, 16, 16, 16, 16, #endif /* ACE_MVS */ }; return len + asso_values[str[len - 1]] + asso_values[str[0]]; @@ -114,14 +123,14 @@ TAO_ImplementationRepository_ServerObject_Perfect_Hash_OpTable::lookup (const ch { enum { - TOTAL_KEYWORDS = 5, + TOTAL_KEYWORDS = 6, MIN_WORD_LENGTH = 4, MAX_WORD_LENGTH = 13, MIN_HASH_VALUE = 4, - MAX_HASH_VALUE = 13, - HASH_VALUE_RANGE = 10, + MAX_HASH_VALUE = 15, + HASH_VALUE_RANGE = 12, DUPLICATES = 0, - WORDLIST_SIZE = 9 + WORDLIST_SIZE = 10 }; static const class TAO_operation_db_entry wordlist[] = @@ -132,9 +141,11 @@ TAO_ImplementationRepository_ServerObject_Perfect_Hash_OpTable::lookup (const ch {"",0},{"",0}, {"shutdown", &POA_ImplementationRepository::ServerObject::shutdown_skel}, {"",0}, - {"_interface", &POA_ImplementationRepository::ServerObject::_interface_skel}, + {"_component", &POA_ImplementationRepository::ServerObject::_component_skel}, {"",0},{"",0}, {"_non_existent", &POA_ImplementationRepository::ServerObject::_non_existent_skel}, + {"",0}, + {"_interface", &POA_ImplementationRepository::ServerObject::_interface_skel}, }; if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH) @@ -151,89 +162,111 @@ TAO_ImplementationRepository_ServerObject_Perfect_Hash_OpTable::lookup (const ch } return 0; } -/* ending time is 8:56:49 */ static TAO_ImplementationRepository_ServerObject_Perfect_Hash_OpTable tao_ImplementationRepository_ServerObject_optable; +// TAO_IDL - Generated from +// be/be_visitor_interface/interceptors_ss.cpp:52 + #if (TAO_HAS_INTERCEPTORS == 1) + +// TAO_IDL - Generated from +// be/be_visitor_operation/interceptors_ss.cpp:74 + class TAO_ServerRequestInfo_ImplementationRepository_ServerObject_ping : public TAO_ServerRequestInfo { public: TAO_ServerRequestInfo_ImplementationRepository_ServerObject_ping ( - TAO_ServerRequest &_tao_server_request, - TAO_Object_Adapter::Servant_Upcall *tao_servant_upcall,POA_ImplementationRepository::ServerObject *tao_impl - ACE_ENV_ARG_DECL_WITH_DEFAULTS - ); - + TAO_ServerRequest &_tao_server_request, + TAO_Object_Adapter::Servant_Upcall *tao_servant_upcall, + POA_ImplementationRepository::ServerObject *tao_impl + ACE_ENV_ARG_DECL_WITH_DEFAULTS + ); + virtual Dynamic::ParameterList * arguments ( ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS ) ACE_THROW_SPEC ((CORBA::SystemException)); - + virtual Dynamic::ExceptionList * exceptions ( ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS ) ACE_THROW_SPEC ((CORBA::SystemException)); - + virtual CORBA::Any * result ( ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS ) ACE_THROW_SPEC ((CORBA::SystemException)); - + virtual char * target_most_derived_interface ( - ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) + ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS + ) ACE_THROW_SPEC ((CORBA::SystemException)); - + virtual CORBA::Boolean target_is_a ( const char * id - ACE_ENV_ARG_DECL_WITH_DEFAULTS) + ACE_ENV_ARG_DECL_WITH_DEFAULTS + ) ACE_THROW_SPEC ((CORBA::SystemException)); - - + private: - TAO_ServerRequestInfo_ImplementationRepository_ServerObject_ping (const TAO_ServerRequestInfo_ImplementationRepository_ServerObject_ping &); - void operator= (const TAO_ServerRequestInfo_ImplementationRepository_ServerObject_ping &); - + TAO_ServerRequestInfo_ImplementationRepository_ServerObject_ping ( + const TAO_ServerRequestInfo_ImplementationRepository_ServerObject_ping & + ); + + void operator= ( + const TAO_ServerRequestInfo_ImplementationRepository_ServerObject_ping & + ); + private: POA_ImplementationRepository::ServerObject *_tao_impl; - + }; +// TAO_IDL - Generated from +// be/be_visitor_operation/interceptors_ss.cpp:438 + TAO_ServerRequestInfo_ImplementationRepository_ServerObject_ping::TAO_ServerRequestInfo_ImplementationRepository_ServerObject_ping ( TAO_ServerRequest &_tao_server_request, TAO_Object_Adapter::Servant_Upcall *_tao_servant_upcall, - POA_ImplementationRepository::ServerObject *tao_impl ACE_ENV_ARG_DECL_NOT_USED + POA_ImplementationRepository::ServerObject *tao_impl + ACE_ENV_ARG_DECL_NOT_USED ) : TAO_ServerRequestInfo (_tao_server_request, _tao_servant_upcall), _tao_impl (tao_impl) {} Dynamic::ParameterList * -TAO_ServerRequestInfo_ImplementationRepository_ServerObject_ping::arguments (ACE_ENV_SINGLE_ARG_DECL) +TAO_ServerRequestInfo_ImplementationRepository_ServerObject_ping::arguments ( + ACE_ENV_SINGLE_ARG_DECL + ) ACE_THROW_SPEC ((CORBA::SystemException)) { // Generate the argument list on demand. Dynamic::ParameterList *parameter_list = TAO_RequestInfo_Util::make_parameter_list (ACE_ENV_SINGLE_ARG_PARAMETER); ACE_CHECK_RETURN (0); - + return parameter_list; } Dynamic::ExceptionList * -TAO_ServerRequestInfo_ImplementationRepository_ServerObject_ping::exceptions (ACE_ENV_SINGLE_ARG_DECL) +TAO_ServerRequestInfo_ImplementationRepository_ServerObject_ping::exceptions ( + ACE_ENV_SINGLE_ARG_DECL + ) ACE_THROW_SPEC ((CORBA::SystemException)) { // Generate the exception list on demand. Dynamic::ExceptionList *exception_list = TAO_RequestInfo_Util::make_exception_list (ACE_ENV_SINGLE_ARG_PARAMETER); ACE_CHECK_RETURN (0); - + return exception_list; } - -CORBA::Any * -TAO_ServerRequestInfo_ImplementationRepository_ServerObject_ping::result (ACE_ENV_SINGLE_ARG_DECL) +CORBA::Any * +TAO_ServerRequestInfo_ImplementationRepository_ServerObject_ping::result ( + ACE_ENV_SINGLE_ARG_DECL + ) ACE_THROW_SPEC ((CORBA::SystemException)) { // Generate the result on demand. @@ -241,13 +274,14 @@ TAO_ServerRequestInfo_ImplementationRepository_ServerObject_ping::result (ACE_EN CORBA::Any *result_any = TAO_RequestInfo_Util::make_any (tk_void_any ACE_ENV_ARG_PARAMETER); ACE_CHECK_RETURN (0); - + return result_any; } char * TAO_ServerRequestInfo_ImplementationRepository_ServerObject_ping::target_most_derived_interface ( - ACE_ENV_SINGLE_ARG_DECL_NOT_USED) + ACE_ENV_SINGLE_ARG_DECL_NOT_USED + ) ACE_THROW_SPEC ((CORBA::SystemException)) { return @@ -257,91 +291,111 @@ TAO_ServerRequestInfo_ImplementationRepository_ServerObject_ping::target_most_de CORBA::Boolean TAO_ServerRequestInfo_ImplementationRepository_ServerObject_ping::target_is_a ( const char * id - ACE_ENV_ARG_DECL) + ACE_ENV_ARG_DECL + ) ACE_THROW_SPEC ((CORBA::SystemException)) { return this->_tao_impl->_is_a (id ACE_ENV_ARG_PARAMETER); } +// TAO_IDL - Generated from +// be/be_visitor_operation/interceptors_ss.cpp:74 + class TAO_ServerRequestInfo_ImplementationRepository_ServerObject_shutdown : public TAO_ServerRequestInfo { public: TAO_ServerRequestInfo_ImplementationRepository_ServerObject_shutdown ( - TAO_ServerRequest &_tao_server_request, - TAO_Object_Adapter::Servant_Upcall *tao_servant_upcall,POA_ImplementationRepository::ServerObject *tao_impl - ACE_ENV_ARG_DECL_WITH_DEFAULTS - ); - + TAO_ServerRequest &_tao_server_request, + TAO_Object_Adapter::Servant_Upcall *tao_servant_upcall, + POA_ImplementationRepository::ServerObject *tao_impl + ACE_ENV_ARG_DECL_WITH_DEFAULTS + ); + virtual Dynamic::ParameterList * arguments ( ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS ) ACE_THROW_SPEC ((CORBA::SystemException)); - + virtual Dynamic::ExceptionList * exceptions ( ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS ) ACE_THROW_SPEC ((CORBA::SystemException)); - + virtual CORBA::Any * result ( ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS ) ACE_THROW_SPEC ((CORBA::SystemException)); - + virtual char * target_most_derived_interface ( - ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) + ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS + ) ACE_THROW_SPEC ((CORBA::SystemException)); - + virtual CORBA::Boolean target_is_a ( const char * id - ACE_ENV_ARG_DECL_WITH_DEFAULTS) + ACE_ENV_ARG_DECL_WITH_DEFAULTS + ) ACE_THROW_SPEC ((CORBA::SystemException)); - - + private: - TAO_ServerRequestInfo_ImplementationRepository_ServerObject_shutdown (const TAO_ServerRequestInfo_ImplementationRepository_ServerObject_shutdown &); - void operator= (const TAO_ServerRequestInfo_ImplementationRepository_ServerObject_shutdown &); - + TAO_ServerRequestInfo_ImplementationRepository_ServerObject_shutdown ( + const TAO_ServerRequestInfo_ImplementationRepository_ServerObject_shutdown & + ); + + void operator= ( + const TAO_ServerRequestInfo_ImplementationRepository_ServerObject_shutdown & + ); + private: POA_ImplementationRepository::ServerObject *_tao_impl; - + }; +// TAO_IDL - Generated from +// be/be_visitor_operation/interceptors_ss.cpp:438 + TAO_ServerRequestInfo_ImplementationRepository_ServerObject_shutdown::TAO_ServerRequestInfo_ImplementationRepository_ServerObject_shutdown ( TAO_ServerRequest &_tao_server_request, TAO_Object_Adapter::Servant_Upcall *_tao_servant_upcall, - POA_ImplementationRepository::ServerObject *tao_impl ACE_ENV_ARG_DECL_NOT_USED + POA_ImplementationRepository::ServerObject *tao_impl + ACE_ENV_ARG_DECL_NOT_USED ) : TAO_ServerRequestInfo (_tao_server_request, _tao_servant_upcall), _tao_impl (tao_impl) {} Dynamic::ParameterList * -TAO_ServerRequestInfo_ImplementationRepository_ServerObject_shutdown::arguments (ACE_ENV_SINGLE_ARG_DECL) +TAO_ServerRequestInfo_ImplementationRepository_ServerObject_shutdown::arguments ( + ACE_ENV_SINGLE_ARG_DECL + ) ACE_THROW_SPEC ((CORBA::SystemException)) { // Generate the argument list on demand. Dynamic::ParameterList *parameter_list = TAO_RequestInfo_Util::make_parameter_list (ACE_ENV_SINGLE_ARG_PARAMETER); ACE_CHECK_RETURN (0); - + return parameter_list; } Dynamic::ExceptionList * -TAO_ServerRequestInfo_ImplementationRepository_ServerObject_shutdown::exceptions (ACE_ENV_SINGLE_ARG_DECL) +TAO_ServerRequestInfo_ImplementationRepository_ServerObject_shutdown::exceptions ( + ACE_ENV_SINGLE_ARG_DECL + ) ACE_THROW_SPEC ((CORBA::SystemException)) { // Generate the exception list on demand. Dynamic::ExceptionList *exception_list = TAO_RequestInfo_Util::make_exception_list (ACE_ENV_SINGLE_ARG_PARAMETER); ACE_CHECK_RETURN (0); - + return exception_list; } - -CORBA::Any * -TAO_ServerRequestInfo_ImplementationRepository_ServerObject_shutdown::result (ACE_ENV_SINGLE_ARG_DECL) +CORBA::Any * +TAO_ServerRequestInfo_ImplementationRepository_ServerObject_shutdown::result ( + ACE_ENV_SINGLE_ARG_DECL + ) ACE_THROW_SPEC ((CORBA::SystemException)) { // Generate the result on demand. @@ -349,13 +403,14 @@ TAO_ServerRequestInfo_ImplementationRepository_ServerObject_shutdown::result (AC CORBA::Any *result_any = TAO_RequestInfo_Util::make_any (tk_void_any ACE_ENV_ARG_PARAMETER); ACE_CHECK_RETURN (0); - + return result_any; } char * TAO_ServerRequestInfo_ImplementationRepository_ServerObject_shutdown::target_most_derived_interface ( - ACE_ENV_SINGLE_ARG_DECL_NOT_USED) + ACE_ENV_SINGLE_ARG_DECL_NOT_USED + ) ACE_THROW_SPEC ((CORBA::SystemException)) { return @@ -365,7 +420,8 @@ TAO_ServerRequestInfo_ImplementationRepository_ServerObject_shutdown::target_mos CORBA::Boolean TAO_ServerRequestInfo_ImplementationRepository_ServerObject_shutdown::target_is_a ( const char * id - ACE_ENV_ARG_DECL) + ACE_ENV_ARG_DECL + ) ACE_THROW_SPEC ((CORBA::SystemException)) { return this->_tao_impl->_is_a (id ACE_ENV_ARG_PARAMETER); @@ -377,6 +433,9 @@ TAO_ServerRequestInfo_ImplementationRepository_ServerObject_shutdown::target_is_ // Strategized Proxy Broker Implementation // +// TAO_IDL - Generated from +// be/be_visitor_interface/strategized_proxy_broker_ss.cpp:40 + // Factory function Implementation. POA_ImplementationRepository::_TAO_ServerObject_Strategized_Proxy_Broker *POA_ImplementationRepository::_TAO_ServerObject_Strategized_Proxy_Broker::the_TAO_ServerObject_Strategized_Proxy_Broker (void) { @@ -387,8 +446,9 @@ POA_ImplementationRepository::_TAO_ServerObject_Strategized_Proxy_Broker *POA_Im POA_ImplementationRepository::_TAO_ServerObject_Strategized_Proxy_Broker::_TAO_ServerObject_Strategized_Proxy_Broker (void) { for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i) - this->proxy_cache_[i] = 0; - + { + this->proxy_cache_[i] = 0; + } } POA_ImplementationRepository::_TAO_ServerObject_Strategized_Proxy_Broker::~_TAO_ServerObject_Strategized_Proxy_Broker (void) @@ -396,12 +456,11 @@ POA_ImplementationRepository::_TAO_ServerObject_Strategized_Proxy_Broker::~_TAO_ for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i) { delete this->proxy_cache_[i]; - + // Hack to prevent bug mentioned in 1204. Refer to 1204 // for details.. this->proxy_cache_[i] = 0; } - } ImplementationRepository::_TAO_ServerObject_Proxy_Impl& @@ -412,26 +471,27 @@ POA_ImplementationRepository::_TAO_ServerObject_Strategized_Proxy_Broker::select { int strategy = TAO_ORB_Core::collocation_strategy (object ACE_ENV_ARG_PARAMETER); - ACE_CHECK_RETURN (*this->proxy_cache_[strategy]); - + ACE_CHECK_RETURN (*this->proxy_cache_[strategy]); + if (this->proxy_cache_[strategy] != 0) - return *this->proxy_cache_[strategy]; - + { + return *this->proxy_cache_[strategy]; + } + this->create_proxy (strategy ACE_ENV_ARG_PARAMETER); ACE_CHECK_RETURN (*this->proxy_cache_[strategy]); - + return *this->proxy_cache_[strategy]; - } -void +void POA_ImplementationRepository::_TAO_ServerObject_Strategized_Proxy_Broker::create_proxy ( int strategy ACE_ENV_ARG_DECL ) { ACE_GUARD (TAO_SYNCH_MUTEX, guard, this->mutex_); - + if (this->proxy_cache_[strategy] == 0) { switch (strategy) @@ -444,7 +504,7 @@ POA_ImplementationRepository::_TAO_ServerObject_Strategized_Proxy_Broker::create ); ACE_CHECK; break; - + case TAO_Collocation_Strategies::CS_DIRECT_STRATEGY: ACE_NEW_THROW_EX ( this->proxy_cache_[strategy], @@ -453,7 +513,7 @@ POA_ImplementationRepository::_TAO_ServerObject_Strategized_Proxy_Broker::create ); ACE_CHECK; break; - + case TAO_Collocation_Strategies::CS_REMOTE_STRATEGY: default: ACE_NEW_THROW_EX ( @@ -463,17 +523,16 @@ POA_ImplementationRepository::_TAO_ServerObject_Strategized_Proxy_Broker::create ); ACE_CHECK; break; - - } - - } + } + } } - // // End Strategized Proxy Broker Implementation /////////////////////////////////////////////////////////////////////// +// TAO_IDL - Generated from +// be/be_visitor_interface/interface_ss.cpp:598 ImplementationRepository::_TAO_ServerObject_Proxy_Broker * ImplementationRepository__TAO_ServerObject_Proxy_Broker_Factory_function (CORBA::Object_ptr obj) @@ -485,13 +544,13 @@ ImplementationRepository__TAO_ServerObject_Proxy_Broker_Factory_function (CORBA: int ImplementationRepository__TAO_ServerObject_Proxy_Broker_Factory_Initializer (long) { - ImplementationRepository__TAO_ServerObject_Proxy_Broker_Factory_function_pointer = + ImplementationRepository__TAO_ServerObject_Proxy_Broker_Factory_function_pointer = ImplementationRepository__TAO_ServerObject_Proxy_Broker_Factory_function; - + return 0; } -static int ImplementationRepository__TAO_ServerObject_Proxy_Broker_Stub_Factory_Initializer_Scarecrow = +static int ImplementationRepository__TAO_ServerObject_Proxy_Broker_Stub_Factory_Initializer_Scarecrow = ImplementationRepository__TAO_ServerObject_Proxy_Broker_Factory_Initializer (ACE_reinterpret_cast (long, ImplementationRepository__TAO_ServerObject_Proxy_Broker_Factory_Initializer)); @@ -499,11 +558,17 @@ static int ImplementationRepository__TAO_ServerObject_Proxy_Broker_Stub_Factory_ // ThruPOA Proxy Implementation // +// TAO_IDL - Generated from +// be/be_visitor_interface/thru_poa_proxy_impl_ss.cpp:37 + POA_ImplementationRepository::_TAO_ServerObject_ThruPOA_Proxy_Impl::_TAO_ServerObject_ThruPOA_Proxy_Impl (void) {} // ThruPOA Implementation of the IDL interface methods +// TAO_IDL - Generated from +// 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_ ACE_ENV_ARG_DECL @@ -512,6 +577,7 @@ void POA_ImplementationRepository::_TAO_ServerObject_ThruPOA_Proxy_Impl::ping ( CORBA::SystemException )) { + TAO_Object_Adapter::Servant_Upcall servant_upcall ( _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core () ); @@ -522,20 +588,27 @@ void POA_ImplementationRepository::_TAO_ServerObject_ThruPOA_Proxy_Impl::ping ( forward_to.out () ACE_ENV_ARG_PARAMETER ); - ACE_CHECK; - servant_upcall.pre_invoke_collocated_request (ACE_ENV_SINGLE_ARG_PARAMETER); - ACE_CHECK; + ACE_CHECK; + + servant_upcall.pre_invoke_collocated_request ( + ACE_ENV_SINGLE_ARG_PARAMETER + ); + ACE_CHECK; + ACE_reinterpret_cast ( POA_ImplementationRepository::ServerObject_ptr, servant_upcall.servant ()->_downcast ( "IDL:ImplementationRepository/ServerObject:1.0" ) )->ping ( + ACE_ENV_SINGLE_ARG_PARAMETER ); - return; } +// TAO_IDL - Generated from +// 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_ ACE_ENV_ARG_DECL @@ -544,6 +617,7 @@ void POA_ImplementationRepository::_TAO_ServerObject_ThruPOA_Proxy_Impl::shutdow CORBA::SystemException )) { + TAO_Object_Adapter::Servant_Upcall servant_upcall ( _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core () ); @@ -554,25 +628,25 @@ void POA_ImplementationRepository::_TAO_ServerObject_ThruPOA_Proxy_Impl::shutdow forward_to.out () ACE_ENV_ARG_PARAMETER ); - ACE_CHECK; - servant_upcall.pre_invoke_collocated_request (ACE_ENV_SINGLE_ARG_PARAMETER); - ACE_CHECK; + ACE_CHECK; + + servant_upcall.pre_invoke_collocated_request ( + ACE_ENV_SINGLE_ARG_PARAMETER + ); + ACE_CHECK; + ACE_reinterpret_cast ( POA_ImplementationRepository::ServerObject_ptr, servant_upcall.servant ()->_downcast ( "IDL:ImplementationRepository/ServerObject:1.0" ) )->shutdown ( + ACE_ENV_SINGLE_ARG_PARAMETER ); - return; -} - -// +}// // End ThruPOA Proxy Implementation /////////////////////////////////////////////////////////////////////// - - /////////////////////////////////////////////////////////////////////// // Direct Proxy Implementation // @@ -586,15 +660,15 @@ void POA_ImplementationRepository::_TAO_ServerObject_Direct_Proxy_Impl::ping ( ) ACE_THROW_SPEC (( CORBA::SystemException - )) -{ + )){ ACE_reinterpret_cast ( POA_ImplementationRepository::ServerObject_ptr, _collocated_tao_target_->_servant ()->_downcast ("IDL:ImplementationRepository/ServerObject:1.0") )->ping ( + ACE_ENV_SINGLE_ARG_PARAMETER ); - + } void POA_ImplementationRepository::_TAO_ServerObject_Direct_Proxy_Impl::shutdown ( @@ -603,23 +677,26 @@ void POA_ImplementationRepository::_TAO_ServerObject_Direct_Proxy_Impl::shutdown ) ACE_THROW_SPEC (( CORBA::SystemException - )) -{ + )){ ACE_reinterpret_cast ( POA_ImplementationRepository::ServerObject_ptr, _collocated_tao_target_->_servant ()->_downcast ("IDL:ImplementationRepository/ServerObject:1.0") )->shutdown ( + ACE_ENV_SINGLE_ARG_PARAMETER ); - + } // // End Direct Proxy Implementation /////////////////////////////////////////////////////////////////////// -// TAO_IDL - Generated from -// be/be_visitor_interface/interface_ss.cpp:100 + + +// TAO_IDL - Generated from +// be/be_visitor_interface/interface_ss.cpp:98 + POA_ImplementationRepository::ServerObject::ServerObject (void) { this->optable_ = &tao_ImplementationRepository_ServerObject_optable; @@ -633,9 +710,12 @@ POA_ImplementationRepository::ServerObject::~ServerObject (void) { } +// TAO_IDL - Generated from +// be/be_visitor_operation/operation_ss.cpp:100 + void POA_ImplementationRepository::ServerObject::ping_skel ( TAO_ServerRequest &_tao_server_request, - void *_tao_object_reference, + void *_tao_servant, void *_tao_servant_upcall ACE_ENV_ARG_DECL ) @@ -643,47 +723,58 @@ void POA_ImplementationRepository::ServerObject::ping_skel ( POA_ImplementationRepository::ServerObject *_tao_impl = ACE_static_cast ( POA_ImplementationRepository::ServerObject *, - _tao_object_reference + _tao_servant ); _tao_server_request.argument_flag (0); + #if (TAO_HAS_INTERCEPTORS == 1) TAO_Object_Adapter::Servant_Upcall *_tao_upcall = ACE_static_cast (TAO_Object_Adapter::Servant_Upcall *, _tao_servant_upcall); - + TAO_ServerRequestInterceptor_Adapter _tao_vfr ( _tao_server_request.orb_core ()->server_request_interceptors (), _tao_server_request.interceptor_count () ); - + TAO_ServerRequestInfo_ImplementationRepository_ServerObject_ping _tao_ri ( _tao_server_request, _tao_upcall, - _tao_impl ACE_ENV_ARG_PARAMETER + _tao_impl + ACE_ENV_ARG_PARAMETER ); - + ACE_TRY { { TAO_PICurrent_Guard _tao_pi_guard (_tao_ri.server_request (), 1 /* Copy TSC to RSC */); - + _tao_vfr.receive_request (&_tao_ri ACE_ENV_ARG_PARAMETER); ACE_TRY_CHECK; - + + if (!_tao_vfr.location_forwarded ()) + { + #endif /* TAO_HAS_INTERCEPTORS */ - - _tao_impl->ping ( - ACE_ENV_SINGLE_ARG_PARAMETER - ); - TAO_INTERCEPTOR_CHECK; + + _tao_impl->ping ( + + ACE_ENV_SINGLE_ARG_PARAMETER + ); + TAO_INTERCEPTOR_CHECK; #if (TAO_HAS_INTERCEPTORS == 1) + + } + } + + if (!_tao_vfr.location_forwarded ()) + { + _tao_ri.reply_status (PortableInterceptor::SUCCESSFUL); + _tao_vfr.send_reply (&_tao_ri ACE_ENV_ARG_PARAMETER); + ACE_TRY_CHECK; } - - _tao_ri.reply_status (PortableInterceptor::SUCCESSFUL); - _tao_vfr.send_reply (&_tao_ri ACE_ENV_ARG_PARAMETER); - ACE_TRY_CHECK; } ACE_CATCHANY { @@ -693,29 +784,56 @@ void POA_ImplementationRepository::ServerObject::ping_skel ( ACE_ENV_ARG_PARAMETER ); ACE_TRY_CHECK; - + PortableInterceptor::ReplyStatus _tao_status = _tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER); ACE_TRY_CHECK; - + if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION || _tao_status == PortableInterceptor::USER_EXCEPTION) - ACE_RE_THROW; + { + ACE_RE_THROW; + } } + +# if defined (ACE_HAS_EXCEPTIONS) \ + && defined (ACE_HAS_BROKEN_UNEXPECTED_EXCEPTIONS) + ACE_CATCHALL + { + CORBA::UNKNOWN ex; + + _tao_ri.exception (&ex); + _tao_vfr.send_exception ( + &_tao_ri + ACE_ENV_ARG_PARAMETER + ); + ACE_TRY_CHECK; + + PortableInterceptor::ReplyStatus _tao_status = + _tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER); + ACE_TRY_CHECK; + + if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION) + ACE_TRY_THROW (ex); + } +# endif /* ACE_HAS_EXCEPTIONS && ACE_HAS_BROKEN_UNEXPECTED_EXCEPTIONS */ + ACE_ENDTRY; ACE_CHECK; #endif /* TAO_HAS_INTERCEPTORS */ - + _tao_server_request.init_reply (); - + // In case _tao_servant_upcall is not used in this function ACE_UNUSED_ARG (_tao_servant_upcall); +} - } +// TAO_IDL - Generated from +// be/be_visitor_operation/operation_ss.cpp:100 void POA_ImplementationRepository::ServerObject::shutdown_skel ( TAO_ServerRequest &_tao_server_request, - void *_tao_object_reference, + void *_tao_servant, void *_tao_servant_upcall ACE_ENV_ARG_DECL ) @@ -723,47 +841,58 @@ void POA_ImplementationRepository::ServerObject::shutdown_skel ( POA_ImplementationRepository::ServerObject *_tao_impl = ACE_static_cast ( POA_ImplementationRepository::ServerObject *, - _tao_object_reference + _tao_servant ); _tao_server_request.argument_flag (0); + #if (TAO_HAS_INTERCEPTORS == 1) TAO_Object_Adapter::Servant_Upcall *_tao_upcall = ACE_static_cast (TAO_Object_Adapter::Servant_Upcall *, _tao_servant_upcall); - + TAO_ServerRequestInterceptor_Adapter _tao_vfr ( _tao_server_request.orb_core ()->server_request_interceptors (), _tao_server_request.interceptor_count () ); - + TAO_ServerRequestInfo_ImplementationRepository_ServerObject_shutdown _tao_ri ( _tao_server_request, _tao_upcall, - _tao_impl ACE_ENV_ARG_PARAMETER + _tao_impl + ACE_ENV_ARG_PARAMETER ); - + ACE_TRY { { TAO_PICurrent_Guard _tao_pi_guard (_tao_ri.server_request (), 1 /* Copy TSC to RSC */); - + _tao_vfr.receive_request (&_tao_ri ACE_ENV_ARG_PARAMETER); ACE_TRY_CHECK; - + + if (!_tao_vfr.location_forwarded ()) + { + #endif /* TAO_HAS_INTERCEPTORS */ - - _tao_impl->shutdown ( - ACE_ENV_SINGLE_ARG_PARAMETER - ); - TAO_INTERCEPTOR_CHECK; + + _tao_impl->shutdown ( + + ACE_ENV_SINGLE_ARG_PARAMETER + ); + TAO_INTERCEPTOR_CHECK; #if (TAO_HAS_INTERCEPTORS == 1) + + } + } + + if (!_tao_vfr.location_forwarded ()) + { + _tao_ri.reply_status (PortableInterceptor::SUCCESSFUL); + _tao_vfr.send_reply (&_tao_ri ACE_ENV_ARG_PARAMETER); + ACE_TRY_CHECK; } - - _tao_ri.reply_status (PortableInterceptor::SUCCESSFUL); - _tao_vfr.send_reply (&_tao_ri ACE_ENV_ARG_PARAMETER); - ACE_TRY_CHECK; } ACE_CATCHANY { @@ -773,98 +902,128 @@ void POA_ImplementationRepository::ServerObject::shutdown_skel ( ACE_ENV_ARG_PARAMETER ); ACE_TRY_CHECK; - + PortableInterceptor::ReplyStatus _tao_status = _tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER); ACE_TRY_CHECK; - + if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION || _tao_status == PortableInterceptor::USER_EXCEPTION) - ACE_RE_THROW; + { + ACE_RE_THROW; + } + } + +# if defined (ACE_HAS_EXCEPTIONS) \ + && defined (ACE_HAS_BROKEN_UNEXPECTED_EXCEPTIONS) + ACE_CATCHALL + { + CORBA::UNKNOWN ex; + + _tao_ri.exception (&ex); + _tao_vfr.send_exception ( + &_tao_ri + ACE_ENV_ARG_PARAMETER + ); + ACE_TRY_CHECK; + + PortableInterceptor::ReplyStatus _tao_status = + _tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER); + ACE_TRY_CHECK; + + if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION) + ACE_TRY_THROW (ex); } +# endif /* ACE_HAS_EXCEPTIONS && ACE_HAS_BROKEN_UNEXPECTED_EXCEPTIONS */ + ACE_ENDTRY; ACE_CHECK; #endif /* TAO_HAS_INTERCEPTORS */ - + _tao_server_request.init_reply (); - + // In case _tao_servant_upcall is not used in this function ACE_UNUSED_ARG (_tao_servant_upcall); +} - } +// TAO_IDL - Generated from +// be/be_visitor_interface/interface_ss.cpp:163 void POA_ImplementationRepository::ServerObject::_is_a_skel ( - TAO_ServerRequest &_tao_server_request, - void * _tao_object_reference, + TAO_ServerRequest &_tao_server_request, + void * _tao_servant, void * /* Servant_Upcall */ ACE_ENV_ARG_DECL ) { TAO_InputCDR &_tao_in = _tao_server_request.incoming (); - POA_ImplementationRepository::ServerObject *_tao_impl = (POA_ImplementationRepository::ServerObject *) _tao_object_reference; + POA_ImplementationRepository::ServerObject *_tao_impl = (POA_ImplementationRepository::ServerObject *) _tao_servant; CORBA::Boolean _tao_retval = 0; CORBA::String_var value; + if (!(_tao_in >> value.out ())) ACE_THROW (CORBA::MARSHAL ()); - + _tao_retval = _tao_impl->_is_a (value.in () ACE_ENV_ARG_PARAMETER); ACE_CHECK; - + _tao_server_request.init_reply (); TAO_OutputCDR &_tao_out = _tao_server_request.outgoing (); + if (!(_tao_out << CORBA::Any::from_boolean (_tao_retval))) ACE_THROW (CORBA::MARSHAL ()); } void POA_ImplementationRepository::ServerObject::_non_existent_skel ( - TAO_ServerRequest &_tao_server_request, - void * _tao_object_reference, + TAO_ServerRequest &_tao_server_request, + void * _tao_servant, void * /* Servant_Upcall */ ACE_ENV_ARG_DECL ) { - POA_ImplementationRepository::ServerObject *_tao_impl = (POA_ImplementationRepository::ServerObject *) _tao_object_reference; + POA_ImplementationRepository::ServerObject *_tao_impl = (POA_ImplementationRepository::ServerObject *) _tao_servant; CORBA::Boolean _tao_retval = _tao_impl->_non_existent (ACE_ENV_SINGLE_ARG_PARAMETER); ACE_CHECK; - + _tao_server_request.init_reply (); TAO_OutputCDR &_tao_out = _tao_server_request.outgoing (); + if (!(_tao_out << CORBA::Any::from_boolean (_tao_retval))) ACE_THROW (CORBA::MARSHAL ()); } void POA_ImplementationRepository::ServerObject::_interface_skel ( - TAO_ServerRequest &_tao_server_request, - void * _tao_object_reference, + TAO_ServerRequest &_tao_server_request, + void * _tao_servant, void * /* Servant_Upcall */ ACE_ENV_ARG_DECL ) { - POA_ImplementationRepository::ServerObject *_tao_impl = (POA_ImplementationRepository::ServerObject *) _tao_object_reference; + POA_ImplementationRepository::ServerObject *_tao_impl = (POA_ImplementationRepository::ServerObject *) _tao_servant; CORBA_InterfaceDef_ptr _tao_retval = 0; CORBA::Boolean _tao_result = 0; - + TAO_IFR_Client_Adapter *_tao_adapter = ACE_Dynamic_Service<TAO_IFR_Client_Adapter>::instance ( TAO_ORB_Core::ifr_client_adapter_name () ); - + if (_tao_adapter == 0) { ACE_THROW (CORBA::INTF_REPOS ()); } - + ACE_TRY { - _tao_retval = + _tao_retval = _tao_impl->_get_interface (ACE_ENV_SINGLE_ARG_PARAMETER); ACE_TRY_CHECK; - + _tao_server_request.init_reply (); - + TAO_OutputCDR &_tao_out = _tao_server_request.outgoing (); - + _tao_result = _tao_adapter->interfacedef_cdr_insert ( _tao_out, @@ -876,35 +1035,72 @@ void POA_ImplementationRepository::ServerObject::_interface_skel ( _tao_adapter->dispose (_tao_retval); } ACE_ENDTRY; - + if (_tao_result == 0) { ACE_THROW (CORBA::MARSHAL ()); } } +void POA_ImplementationRepository::ServerObject::_component_skel ( + TAO_ServerRequest &_tao_server_request, + void * _tao_object_reference, + void * /* Servant_Upcall */ + ACE_ENV_ARG_DECL + ) +{ + POA_ImplementationRepository::ServerObject *_tao_impl = (POA_ImplementationRepository::ServerObject *) _tao_object_reference; + CORBA::Object_var _tao_retval = + _tao_impl->_get_component (ACE_ENV_SINGLE_ARG_PARAMETER); + ACE_CHECK; + + _tao_server_request.init_reply (); + TAO_OutputCDR &_tao_out = _tao_server_request.outgoing (); + + if (!(_tao_out << _tao_retval._retn ())) + ACE_THROW (CORBA::MARSHAL ()); +} + CORBA::Boolean POA_ImplementationRepository::ServerObject::_is_a ( const char* value ACE_ENV_ARG_DECL_NOT_USED ) { - const char *base_id = "IDL:org.omg/CORBA/Object:1.0"; if ( - (!ACE_OS::strcmp ((char *)value, "IDL:ImplementationRepository/ServerObject:1.0")) || - (!ACE_OS::strcmp ((char *)value, base_id))) + !ACE_OS::strcmp ( + (char *)value, + "IDL:ImplementationRepository/ServerObject:1.0" + ) || + !ACE_OS::strcmp ( + (char *)value, + "IDL:org.omg/CORBA/Object:1.0" + ) + ) + { return 1; - else + } + else + { return 0; + } } void* POA_ImplementationRepository::ServerObject::_downcast ( const char* logical_type_id ) { - if (ACE_OS::strcmp (logical_type_id, "IDL:ImplementationRepository/ServerObject:1.0") == 0) - return ACE_static_cast (POA_ImplementationRepository::ServerObject_ptr, this); - if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/Object:1.0") == 0) - return ACE_static_cast(PortableServer::Servant, this); + if (ACE_OS::strcmp (logical_type_id, + "IDL:ImplementationRepository/ServerObject:1.0") == 0) + { + return ACE_static_cast (POA_ImplementationRepository::ServerObject_ptr, this); + } + + if (ACE_OS::strcmp (logical_type_id, + "IDL:omg.org/CORBA/Object:1.0") == 0) + { + return ACE_static_cast(PortableServer::Servant, this); + } + return 0; } @@ -913,6 +1109,9 @@ const char* POA_ImplementationRepository::ServerObject::_interface_repository_id return "IDL:ImplementationRepository/ServerObject:1.0"; } +// TAO_IDL - Generated from +// be/be_visitor_interface/interface_ss.cpp:532 + void POA_ImplementationRepository::ServerObject::_dispatch ( TAO_ServerRequest &req, void *servant_upcall @@ -925,29 +1124,50 @@ void POA_ImplementationRepository::ServerObject::_dispatch ( ACE_ENV_ARG_PARAMETER); } +// TAO_IDL - Generated from +// be/be_visitor_interface/interface_ss.cpp:478 -ImplementationRepository::ServerObject* +ImplementationRepository::ServerObject * POA_ImplementationRepository::ServerObject::_this (ACE_ENV_SINGLE_ARG_DECL) { TAO_Stub *stub = this->_create_stub (ACE_ENV_SINGLE_ARG_PARAMETER); ACE_CHECK_RETURN (0); - + TAO_Stub_Auto_Ptr safe_stub (stub); - CORBA::Object_ptr tmp = CORBA::Object::_nil (); - + if (stub->servant_orb_var ()->orb_core ()->optimize_collocation_objects ()) - ACE_NEW_RETURN (tmp, CORBA::Object (stub, 1, this), 0); + { + ACE_NEW_RETURN ( + tmp, + CORBA::Object ( + stub, + 1, + this + ), + 0 + ); + } else - ACE_NEW_RETURN (tmp, CORBA::Object (stub, 0, this), 0); - + { + ACE_NEW_RETURN ( + tmp, + CORBA::Object ( + stub, + 0, + this + ), + 0 + ); + } + CORBA::Object_var obj = tmp; - (void) safe_stub.release (); - return ::ImplementationRepository::ServerObject::_unchecked_narrow (obj.in ()); } +// TAO_IDL - Generated from +// be/be_interface.cpp:1731 class TAO_ImplementationRepository_Administration_Perfect_Hash_OpTable : public TAO_Perfect_Hash_OpTable { @@ -956,55 +1176,55 @@ private: public: const TAO_operation_db_entry * lookup (const char *str, unsigned int len); }; -/* starting time is 8:56:49 */ + /* C++ code produced by gperf version 2.8 (ACE version) */ -/* Command-line: /project/doctmp/pgontla/ImR/ACE_wrappers/bin/gperf -m -M -J -c -C -D -E -T -f 0 -F 0 -a -o -t -p -K opname_ -L C++ -Z TAO_ImplementationRepository_Administration_Perfect_Hash_OpTable -N lookup */ +/* Command-line: /export/home/boris/cvs-ace/range/ACE_wrappers/bin/gperf -m -M -J -c -C -D -E -T -f 0 -F 0 -a -o -t -p -K opname_ -L C++ -Z TAO_ImplementationRepository_Administration_Perfect_Hash_OpTable -N lookup */ unsigned int TAO_ImplementationRepository_Administration_Perfect_Hash_OpTable::hash (const char *str, unsigned int len) { static const unsigned char asso_values[] = { #if defined (ACE_MVS) - 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, - 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, - 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, - 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, - 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, - 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, - 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, - 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, - 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, - 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, - 39, 39, 39, 39, 39, 39, 39, 39, 39, 15, - 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, - 39, 39, 39, 39, 39, 39, 39, 39, 39, 10, - 39, 39, 5, 10, 0, 0, 39, 39, 39, 39, - 39, 39, 39, 39, 39, 39, 39, 0, 39, 5, - 39, 0, 39, 0, 39, 39, 39, 39, 39, 39, - 39, 39, 5, 0, 39, 39, 39, 39, 39, 39, - 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, - 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, - 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, - 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, - 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, - 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, - 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, - 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, - 39, 39, 39, 39, 39, 39, + 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, + 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, + 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, + 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, + 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, + 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, + 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, + 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, + 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, + 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, + 34, 34, 34, 34, 34, 34, 34, 34, 34, 0, + 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, + 34, 34, 34, 34, 34, 34, 34, 34, 34, 4, + 34, 34, 0, 0, 0, 0, 34, 34, 34, 34, + 34, 34, 34, 34, 34, 34, 34, 5, 34, 5, + 34, 0, 34, 0, 34, 34, 34, 34, 34, 34, + 34, 34, 5, 15, 34, 34, 34, 34, 34, 34, + 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, + 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, + 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, + 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, + 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, + 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, + 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, + 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, + 34, 34, 34, 34, 34, 34, #else - 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, - 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, - 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, - 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, - 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, - 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, - 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, - 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, - 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, - 39, 39, 39, 39, 39, 15, 39, 10, 39, 39, - 5, 10, 0, 0, 39, 39, 39, 39, 0, 39, - 5, 39, 0, 39, 0, 5, 0, 39, 39, 39, - 39, 39, 39, 39, 39, 39, 39, 39, + 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, + 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, + 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, + 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, + 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, + 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, + 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, + 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, + 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, + 34, 34, 34, 34, 34, 0, 34, 4, 34, 34, + 0, 0, 0, 0, 34, 34, 34, 34, 5, 34, + 5, 34, 0, 34, 0, 5, 15, 34, 34, 34, + 34, 34, 34, 34, 34, 34, 34, 34, #endif /* ACE_MVS */ }; return len + asso_values[str[len - 1]] + asso_values[str[0]]; @@ -1015,44 +1235,42 @@ TAO_ImplementationRepository_Administration_Perfect_Hash_OpTable::lookup (const { enum { - TOTAL_KEYWORDS = 13, + TOTAL_KEYWORDS = 14, MIN_WORD_LENGTH = 4, MAX_WORD_LENGTH = 28, MIN_HASH_VALUE = 4, - MAX_HASH_VALUE = 38, - HASH_VALUE_RANGE = 35, + MAX_HASH_VALUE = 33, + HASH_VALUE_RANGE = 30, DUPLICATES = 0, - WORDLIST_SIZE = 17 + WORDLIST_SIZE = 18 }; static const class TAO_operation_db_entry wordlist[] = { {"",0},{"",0},{"",0},{"",0}, - {"list", &POA_ImplementationRepository::Administration::list_skel}, - {"",0},{"",0},{"",0},{"",0}, {"find", &POA_ImplementationRepository::Administration::find_skel}, - {"",0},{"",0},{"",0}, + {"",0},{"",0},{"",0},{"",0}, + {"_is_a", &POA_ImplementationRepository::Administration::_is_a_skel}, + {"_interface", &POA_ImplementationRepository::Administration::_interface_skel}, + {"",0},{"",0}, {"remove_server", &POA_ImplementationRepository::Administration::remove_server_skel}, {"",0}, {"register_server", &POA_ImplementationRepository::Administration::register_server_skel}, {"",0}, {"reregister_server", &POA_ImplementationRepository::Administration::reregister_server_skel}, - {"",0},{"",0}, - {"shutdown_server", &POA_ImplementationRepository::Administration::shutdown_server_skel}, {"",0}, - {"server_is_running", &POA_ImplementationRepository::Administration::server_is_running_skel}, - {"",0},{"",0}, {"activate_server", &POA_ImplementationRepository::Administration::activate_server_skel}, - {"",0},{"",0}, - {"_non_existent", &POA_ImplementationRepository::Administration::_non_existent_skel}, + {"shutdown_server", &POA_ImplementationRepository::Administration::shutdown_server_skel}, {"",0}, - {"_is_a", &POA_ImplementationRepository::Administration::_is_a_skel}, - {"",0},{"",0}, - {"server_is_shutting_down", &POA_ImplementationRepository::Administration::server_is_shutting_down_skel}, + {"server_is_running", &POA_ImplementationRepository::Administration::server_is_running_skel}, {"",0}, - {"_interface", &POA_ImplementationRepository::Administration::_interface_skel}, + {"list", &POA_ImplementationRepository::Administration::list_skel}, + {"_component", &POA_ImplementationRepository::Administration::_component_skel}, {"",0},{"",0}, + {"_non_existent", &POA_ImplementationRepository::Administration::_non_existent_skel}, + {"",0},{"",0},{"",0}, {"activate_server_with_startup", &POA_ImplementationRepository::Administration::activate_server_with_startup_skel}, + {"server_is_shutting_down", &POA_ImplementationRepository::Administration::server_is_shutting_down_skel}, }; if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH) @@ -1069,60 +1287,77 @@ TAO_ImplementationRepository_Administration_Perfect_Hash_OpTable::lookup (const } return 0; } -/* ending time is 8:56:49 */ static TAO_ImplementationRepository_Administration_Perfect_Hash_OpTable tao_ImplementationRepository_Administration_optable; +// TAO_IDL - Generated from +// be/be_visitor_interface/interceptors_ss.cpp:52 + #if (TAO_HAS_INTERCEPTORS == 1) + +// TAO_IDL - Generated from +// be/be_visitor_operation/interceptors_ss.cpp:74 + class TAO_ServerRequestInfo_ImplementationRepository_Administration_activate_server : public TAO_ServerRequestInfo { public: TAO_ServerRequestInfo_ImplementationRepository_Administration_activate_server ( - TAO_ServerRequest &_tao_server_request, - TAO_Object_Adapter::Servant_Upcall *tao_servant_upcall,POA_ImplementationRepository::Administration *tao_impl - , - const char * server ACE_ENV_ARG_DECL_WITH_DEFAULTS - ); - + TAO_ServerRequest &_tao_server_request, + TAO_Object_Adapter::Servant_Upcall *tao_servant_upcall, + POA_ImplementationRepository::Administration *tao_impl, + const char * server + ACE_ENV_ARG_DECL_WITH_DEFAULTS + ); + virtual Dynamic::ParameterList * arguments ( ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS ) ACE_THROW_SPEC ((CORBA::SystemException)); - + virtual Dynamic::ExceptionList * exceptions ( ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS ) ACE_THROW_SPEC ((CORBA::SystemException)); - + virtual CORBA::Any * result ( ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS ) ACE_THROW_SPEC ((CORBA::SystemException)); - + virtual char * target_most_derived_interface ( - ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) + ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS + ) ACE_THROW_SPEC ((CORBA::SystemException)); - + virtual CORBA::Boolean target_is_a ( const char * id - ACE_ENV_ARG_DECL_WITH_DEFAULTS) + ACE_ENV_ARG_DECL_WITH_DEFAULTS + ) ACE_THROW_SPEC ((CORBA::SystemException)); - - + private: - TAO_ServerRequestInfo_ImplementationRepository_Administration_activate_server (const TAO_ServerRequestInfo_ImplementationRepository_Administration_activate_server &); - void operator= (const TAO_ServerRequestInfo_ImplementationRepository_Administration_activate_server &); - + TAO_ServerRequestInfo_ImplementationRepository_Administration_activate_server ( + const TAO_ServerRequestInfo_ImplementationRepository_Administration_activate_server & + ); + + void operator= ( + const TAO_ServerRequestInfo_ImplementationRepository_Administration_activate_server & + ); + private: POA_ImplementationRepository::Administration *_tao_impl; + const char * server_; - }; +// TAO_IDL - Generated from +// be/be_visitor_operation/interceptors_ss.cpp:438 + TAO_ServerRequestInfo_ImplementationRepository_Administration_activate_server::TAO_ServerRequestInfo_ImplementationRepository_Administration_activate_server ( TAO_ServerRequest &_tao_server_request, TAO_Object_Adapter::Servant_Upcall *_tao_servant_upcall, POA_ImplementationRepository::Administration *tao_impl, - const char * server ACE_ENV_ARG_DECL_NOT_USED + const char * server + ACE_ENV_ARG_DECL_NOT_USED ) : TAO_ServerRequestInfo (_tao_server_request, _tao_servant_upcall), _tao_impl (tao_impl), @@ -1130,43 +1365,46 @@ TAO_ServerRequestInfo_ImplementationRepository_Administration_activate_server::T {} Dynamic::ParameterList * -TAO_ServerRequestInfo_ImplementationRepository_Administration_activate_server::arguments (ACE_ENV_SINGLE_ARG_DECL) +TAO_ServerRequestInfo_ImplementationRepository_Administration_activate_server::arguments ( + ACE_ENV_SINGLE_ARG_DECL + ) ACE_THROW_SPEC ((CORBA::SystemException)) { // Generate the argument list on demand. Dynamic::ParameterList *parameter_list = TAO_RequestInfo_Util::make_parameter_list (ACE_ENV_SINGLE_ARG_PARAMETER); ACE_CHECK_RETURN (0); - + Dynamic::ParameterList_var safe_parameter_list = parameter_list; - parameter_list->length (1); CORBA::ULong len = 0; - - (*parameter_list)[len].argument <<= server_; + + (*parameter_list)[len].argument <<= server_; (*parameter_list)[len].mode = CORBA::PARAM_IN; len++; - + return safe_parameter_list._retn (); } Dynamic::ExceptionList * -TAO_ServerRequestInfo_ImplementationRepository_Administration_activate_server::exceptions (ACE_ENV_SINGLE_ARG_DECL) +TAO_ServerRequestInfo_ImplementationRepository_Administration_activate_server::exceptions ( + ACE_ENV_SINGLE_ARG_DECL + ) ACE_THROW_SPEC ((CORBA::SystemException)) { // Generate the exception list on demand. Dynamic::ExceptionList *exception_list = TAO_RequestInfo_Util::make_exception_list (ACE_ENV_SINGLE_ARG_PARAMETER); ACE_CHECK_RETURN (0); - + Dynamic::ExceptionList_var safe_exception_list = exception_list; - - static CORBA::TypeCode_ptr _tao_ImplementationRepository_Administration_activate_server_exceptiondata[] = + + static CORBA::TypeCode_ptr _tao_ImplementationRepository_Administration_activate_server_exceptiondata[] = { ImplementationRepository::_tc_NotFound, ImplementationRepository::_tc_CannotActivate }; - + exception_list->length (2); for (CORBA::ULong i = 0; i < 2; ++i) { @@ -1178,9 +1416,10 @@ TAO_ServerRequestInfo_ImplementationRepository_Administration_activate_server::e return safe_exception_list._retn (); } - -CORBA::Any * -TAO_ServerRequestInfo_ImplementationRepository_Administration_activate_server::result (ACE_ENV_SINGLE_ARG_DECL) +CORBA::Any * +TAO_ServerRequestInfo_ImplementationRepository_Administration_activate_server::result ( + ACE_ENV_SINGLE_ARG_DECL + ) ACE_THROW_SPEC ((CORBA::SystemException)) { // Generate the result on demand. @@ -1188,13 +1427,14 @@ TAO_ServerRequestInfo_ImplementationRepository_Administration_activate_server::r CORBA::Any *result_any = TAO_RequestInfo_Util::make_any (tk_void_any ACE_ENV_ARG_PARAMETER); ACE_CHECK_RETURN (0); - + return result_any; } char * TAO_ServerRequestInfo_ImplementationRepository_Administration_activate_server::target_most_derived_interface ( - ACE_ENV_SINGLE_ARG_DECL_NOT_USED) + ACE_ENV_SINGLE_ARG_DECL_NOT_USED + ) ACE_THROW_SPEC ((CORBA::SystemException)) { return @@ -1204,66 +1444,82 @@ TAO_ServerRequestInfo_ImplementationRepository_Administration_activate_server::t CORBA::Boolean TAO_ServerRequestInfo_ImplementationRepository_Administration_activate_server::target_is_a ( const char * id - ACE_ENV_ARG_DECL) + ACE_ENV_ARG_DECL + ) ACE_THROW_SPEC ((CORBA::SystemException)) { return this->_tao_impl->_is_a (id ACE_ENV_ARG_PARAMETER); } +// TAO_IDL - Generated from +// be/be_visitor_operation/interceptors_ss.cpp:74 + class TAO_ServerRequestInfo_ImplementationRepository_Administration_activate_server_with_startup : public TAO_ServerRequestInfo { public: TAO_ServerRequestInfo_ImplementationRepository_Administration_activate_server_with_startup ( - TAO_ServerRequest &_tao_server_request, - TAO_Object_Adapter::Servant_Upcall *tao_servant_upcall,POA_ImplementationRepository::Administration *tao_impl - , - const char * server, - const CORBA::Long & check_startup ACE_ENV_ARG_DECL_WITH_DEFAULTS - ); - + TAO_ServerRequest &_tao_server_request, + TAO_Object_Adapter::Servant_Upcall *tao_servant_upcall, + POA_ImplementationRepository::Administration *tao_impl, + const char * server, + const CORBA::Long & check_startup + ACE_ENV_ARG_DECL_WITH_DEFAULTS + ); + virtual Dynamic::ParameterList * arguments ( ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS ) ACE_THROW_SPEC ((CORBA::SystemException)); - + virtual Dynamic::ExceptionList * exceptions ( ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS ) ACE_THROW_SPEC ((CORBA::SystemException)); - + virtual CORBA::Any * result ( ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS ) ACE_THROW_SPEC ((CORBA::SystemException)); - + virtual char * target_most_derived_interface ( - ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) + ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS + ) ACE_THROW_SPEC ((CORBA::SystemException)); - + virtual CORBA::Boolean target_is_a ( const char * id - ACE_ENV_ARG_DECL_WITH_DEFAULTS) + ACE_ENV_ARG_DECL_WITH_DEFAULTS + ) ACE_THROW_SPEC ((CORBA::SystemException)); - + void result (char * result); private: - TAO_ServerRequestInfo_ImplementationRepository_Administration_activate_server_with_startup (const TAO_ServerRequestInfo_ImplementationRepository_Administration_activate_server_with_startup &); - void operator= (const TAO_ServerRequestInfo_ImplementationRepository_Administration_activate_server_with_startup &); - + TAO_ServerRequestInfo_ImplementationRepository_Administration_activate_server_with_startup ( + const TAO_ServerRequestInfo_ImplementationRepository_Administration_activate_server_with_startup & + ); + + void operator= ( + const TAO_ServerRequestInfo_ImplementationRepository_Administration_activate_server_with_startup & + ); + private: POA_ImplementationRepository::Administration *_tao_impl; + const char * server_; - const CORBA::Long & check_startup_; - char * _result; + const CORBA::Long & check_startup_;char * _result; }; +// TAO_IDL - Generated from +// be/be_visitor_operation/interceptors_ss.cpp:438 + TAO_ServerRequestInfo_ImplementationRepository_Administration_activate_server_with_startup::TAO_ServerRequestInfo_ImplementationRepository_Administration_activate_server_with_startup ( TAO_ServerRequest &_tao_server_request, TAO_Object_Adapter::Servant_Upcall *_tao_servant_upcall, POA_ImplementationRepository::Administration *tao_impl, const char * server, - const CORBA::Long & check_startup ACE_ENV_ARG_DECL_NOT_USED + const CORBA::Long & check_startup + ACE_ENV_ARG_DECL_NOT_USED ) : TAO_ServerRequestInfo (_tao_server_request, _tao_servant_upcall), _tao_impl (tao_impl), @@ -1272,46 +1528,50 @@ TAO_ServerRequestInfo_ImplementationRepository_Administration_activate_server_wi {} Dynamic::ParameterList * -TAO_ServerRequestInfo_ImplementationRepository_Administration_activate_server_with_startup::arguments (ACE_ENV_SINGLE_ARG_DECL) +TAO_ServerRequestInfo_ImplementationRepository_Administration_activate_server_with_startup::arguments ( + ACE_ENV_SINGLE_ARG_DECL + ) ACE_THROW_SPEC ((CORBA::SystemException)) { // Generate the argument list on demand. Dynamic::ParameterList *parameter_list = TAO_RequestInfo_Util::make_parameter_list (ACE_ENV_SINGLE_ARG_PARAMETER); ACE_CHECK_RETURN (0); - + Dynamic::ParameterList_var safe_parameter_list = parameter_list; - parameter_list->length (2); CORBA::ULong len = 0; - - (*parameter_list)[len].argument <<= server_; + + (*parameter_list)[len].argument <<= server_; (*parameter_list)[len].mode = CORBA::PARAM_IN; len++; - (*parameter_list)[len].argument <<= check_startup_; + + (*parameter_list)[len].argument <<= check_startup_; (*parameter_list)[len].mode = CORBA::PARAM_IN; len++; - + return safe_parameter_list._retn (); } Dynamic::ExceptionList * -TAO_ServerRequestInfo_ImplementationRepository_Administration_activate_server_with_startup::exceptions (ACE_ENV_SINGLE_ARG_DECL) +TAO_ServerRequestInfo_ImplementationRepository_Administration_activate_server_with_startup::exceptions ( + ACE_ENV_SINGLE_ARG_DECL + ) ACE_THROW_SPEC ((CORBA::SystemException)) { // Generate the exception list on demand. Dynamic::ExceptionList *exception_list = TAO_RequestInfo_Util::make_exception_list (ACE_ENV_SINGLE_ARG_PARAMETER); ACE_CHECK_RETURN (0); - + Dynamic::ExceptionList_var safe_exception_list = exception_list; - - static CORBA::TypeCode_ptr _tao_ImplementationRepository_Administration_activate_server_with_startup_exceptiondata[] = + + static CORBA::TypeCode_ptr _tao_ImplementationRepository_Administration_activate_server_with_startup_exceptiondata[] = { ImplementationRepository::_tc_NotFound, ImplementationRepository::_tc_CannotActivate }; - + exception_list->length (2); for (CORBA::ULong i = 0; i < 2; ++i) { @@ -1323,9 +1583,10 @@ TAO_ServerRequestInfo_ImplementationRepository_Administration_activate_server_wi return safe_exception_list._retn (); } - -CORBA::Any * -TAO_ServerRequestInfo_ImplementationRepository_Administration_activate_server_with_startup::result (ACE_ENV_SINGLE_ARG_DECL) +CORBA::Any * +TAO_ServerRequestInfo_ImplementationRepository_Administration_activate_server_with_startup::result ( + ACE_ENV_SINGLE_ARG_DECL + ) ACE_THROW_SPEC ((CORBA::SystemException)) { // Generate the result on demand. @@ -1333,17 +1594,18 @@ TAO_ServerRequestInfo_ImplementationRepository_Administration_activate_server_wi CORBA::Any *result_any = TAO_RequestInfo_Util::make_any (tk_void_any ACE_ENV_ARG_PARAMETER); ACE_CHECK_RETURN (0); - + CORBA::Any_var safe_result_any = result_any; - + (*result_any) <<= this->_result; - + return safe_result_any._retn (); } char * TAO_ServerRequestInfo_ImplementationRepository_Administration_activate_server_with_startup::target_most_derived_interface ( - ACE_ENV_SINGLE_ARG_DECL_NOT_USED) + ACE_ENV_SINGLE_ARG_DECL_NOT_USED + ) ACE_THROW_SPEC ((CORBA::SystemException)) { return @@ -1353,72 +1615,87 @@ TAO_ServerRequestInfo_ImplementationRepository_Administration_activate_server_wi CORBA::Boolean TAO_ServerRequestInfo_ImplementationRepository_Administration_activate_server_with_startup::target_is_a ( const char * id - ACE_ENV_ARG_DECL) + ACE_ENV_ARG_DECL + ) ACE_THROW_SPEC ((CORBA::SystemException)) { return this->_tao_impl->_is_a (id ACE_ENV_ARG_PARAMETER); } -void +void TAO_ServerRequestInfo_ImplementationRepository_Administration_activate_server_with_startup::result (char * result) { // Update the result. this->_result = result; } +// TAO_IDL - Generated from +// be/be_visitor_operation/interceptors_ss.cpp:74 + class TAO_ServerRequestInfo_ImplementationRepository_Administration_register_server : public TAO_ServerRequestInfo { public: TAO_ServerRequestInfo_ImplementationRepository_Administration_register_server ( - TAO_ServerRequest &_tao_server_request, - TAO_Object_Adapter::Servant_Upcall *tao_servant_upcall,POA_ImplementationRepository::Administration *tao_impl - , - const char * server, - const ImplementationRepository::StartupOptions & options ACE_ENV_ARG_DECL_WITH_DEFAULTS - ); - + TAO_ServerRequest &_tao_server_request, + TAO_Object_Adapter::Servant_Upcall *tao_servant_upcall, + POA_ImplementationRepository::Administration *tao_impl, + const char * server, + const ImplementationRepository::StartupOptions & options + ACE_ENV_ARG_DECL_WITH_DEFAULTS + ); + virtual Dynamic::ParameterList * arguments ( ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS ) ACE_THROW_SPEC ((CORBA::SystemException)); - + virtual Dynamic::ExceptionList * exceptions ( ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS ) ACE_THROW_SPEC ((CORBA::SystemException)); - + virtual CORBA::Any * result ( ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS ) ACE_THROW_SPEC ((CORBA::SystemException)); - + virtual char * target_most_derived_interface ( - ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) + ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS + ) ACE_THROW_SPEC ((CORBA::SystemException)); - + virtual CORBA::Boolean target_is_a ( const char * id - ACE_ENV_ARG_DECL_WITH_DEFAULTS) + ACE_ENV_ARG_DECL_WITH_DEFAULTS + ) ACE_THROW_SPEC ((CORBA::SystemException)); - - + private: - TAO_ServerRequestInfo_ImplementationRepository_Administration_register_server (const TAO_ServerRequestInfo_ImplementationRepository_Administration_register_server &); - void operator= (const TAO_ServerRequestInfo_ImplementationRepository_Administration_register_server &); - + TAO_ServerRequestInfo_ImplementationRepository_Administration_register_server ( + const TAO_ServerRequestInfo_ImplementationRepository_Administration_register_server & + ); + + void operator= ( + const TAO_ServerRequestInfo_ImplementationRepository_Administration_register_server & + ); + private: POA_ImplementationRepository::Administration *_tao_impl; + const char * server_; const ImplementationRepository::StartupOptions & options_; - }; +// TAO_IDL - Generated from +// be/be_visitor_operation/interceptors_ss.cpp:438 + TAO_ServerRequestInfo_ImplementationRepository_Administration_register_server::TAO_ServerRequestInfo_ImplementationRepository_Administration_register_server ( TAO_ServerRequest &_tao_server_request, TAO_Object_Adapter::Servant_Upcall *_tao_servant_upcall, POA_ImplementationRepository::Administration *tao_impl, const char * server, - const ImplementationRepository::StartupOptions & options ACE_ENV_ARG_DECL_NOT_USED + const ImplementationRepository::StartupOptions & options + ACE_ENV_ARG_DECL_NOT_USED ) : TAO_ServerRequestInfo (_tao_server_request, _tao_servant_upcall), _tao_impl (tao_impl), @@ -1427,45 +1704,49 @@ TAO_ServerRequestInfo_ImplementationRepository_Administration_register_server::T {} Dynamic::ParameterList * -TAO_ServerRequestInfo_ImplementationRepository_Administration_register_server::arguments (ACE_ENV_SINGLE_ARG_DECL) +TAO_ServerRequestInfo_ImplementationRepository_Administration_register_server::arguments ( + ACE_ENV_SINGLE_ARG_DECL + ) ACE_THROW_SPEC ((CORBA::SystemException)) { // Generate the argument list on demand. Dynamic::ParameterList *parameter_list = TAO_RequestInfo_Util::make_parameter_list (ACE_ENV_SINGLE_ARG_PARAMETER); ACE_CHECK_RETURN (0); - + Dynamic::ParameterList_var safe_parameter_list = parameter_list; - parameter_list->length (2); CORBA::ULong len = 0; - - (*parameter_list)[len].argument <<= server_; + + (*parameter_list)[len].argument <<= server_; (*parameter_list)[len].mode = CORBA::PARAM_IN; len++; - (*parameter_list)[len].argument <<= this->options_; + + (*parameter_list)[len].argument <<= this->options_; (*parameter_list)[len].mode = CORBA::PARAM_IN; len++; - + return safe_parameter_list._retn (); } Dynamic::ExceptionList * -TAO_ServerRequestInfo_ImplementationRepository_Administration_register_server::exceptions (ACE_ENV_SINGLE_ARG_DECL) +TAO_ServerRequestInfo_ImplementationRepository_Administration_register_server::exceptions ( + ACE_ENV_SINGLE_ARG_DECL + ) ACE_THROW_SPEC ((CORBA::SystemException)) { // Generate the exception list on demand. Dynamic::ExceptionList *exception_list = TAO_RequestInfo_Util::make_exception_list (ACE_ENV_SINGLE_ARG_PARAMETER); ACE_CHECK_RETURN (0); - + Dynamic::ExceptionList_var safe_exception_list = exception_list; - - static CORBA::TypeCode_ptr _tao_ImplementationRepository_Administration_register_server_exceptiondata[] = + + static CORBA::TypeCode_ptr _tao_ImplementationRepository_Administration_register_server_exceptiondata[] = { ImplementationRepository::_tc_AlreadyRegistered }; - + exception_list->length (1); for (CORBA::ULong i = 0; i < 1; ++i) { @@ -1477,9 +1758,10 @@ TAO_ServerRequestInfo_ImplementationRepository_Administration_register_server::e return safe_exception_list._retn (); } - -CORBA::Any * -TAO_ServerRequestInfo_ImplementationRepository_Administration_register_server::result (ACE_ENV_SINGLE_ARG_DECL) +CORBA::Any * +TAO_ServerRequestInfo_ImplementationRepository_Administration_register_server::result ( + ACE_ENV_SINGLE_ARG_DECL + ) ACE_THROW_SPEC ((CORBA::SystemException)) { // Generate the result on demand. @@ -1487,13 +1769,14 @@ TAO_ServerRequestInfo_ImplementationRepository_Administration_register_server::r CORBA::Any *result_any = TAO_RequestInfo_Util::make_any (tk_void_any ACE_ENV_ARG_PARAMETER); ACE_CHECK_RETURN (0); - + return result_any; } char * TAO_ServerRequestInfo_ImplementationRepository_Administration_register_server::target_most_derived_interface ( - ACE_ENV_SINGLE_ARG_DECL_NOT_USED) + ACE_ENV_SINGLE_ARG_DECL_NOT_USED + ) ACE_THROW_SPEC ((CORBA::SystemException)) { return @@ -1503,65 +1786,80 @@ TAO_ServerRequestInfo_ImplementationRepository_Administration_register_server::t CORBA::Boolean TAO_ServerRequestInfo_ImplementationRepository_Administration_register_server::target_is_a ( const char * id - ACE_ENV_ARG_DECL) + ACE_ENV_ARG_DECL + ) ACE_THROW_SPEC ((CORBA::SystemException)) { return this->_tao_impl->_is_a (id ACE_ENV_ARG_PARAMETER); } +// TAO_IDL - Generated from +// be/be_visitor_operation/interceptors_ss.cpp:74 + class TAO_ServerRequestInfo_ImplementationRepository_Administration_reregister_server : public TAO_ServerRequestInfo { public: TAO_ServerRequestInfo_ImplementationRepository_Administration_reregister_server ( - TAO_ServerRequest &_tao_server_request, - TAO_Object_Adapter::Servant_Upcall *tao_servant_upcall,POA_ImplementationRepository::Administration *tao_impl - , - const char * server, - const ImplementationRepository::StartupOptions & options ACE_ENV_ARG_DECL_WITH_DEFAULTS - ); - + TAO_ServerRequest &_tao_server_request, + TAO_Object_Adapter::Servant_Upcall *tao_servant_upcall, + POA_ImplementationRepository::Administration *tao_impl, + const char * server, + const ImplementationRepository::StartupOptions & options + ACE_ENV_ARG_DECL_WITH_DEFAULTS + ); + virtual Dynamic::ParameterList * arguments ( ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS ) ACE_THROW_SPEC ((CORBA::SystemException)); - + virtual Dynamic::ExceptionList * exceptions ( ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS ) ACE_THROW_SPEC ((CORBA::SystemException)); - + virtual CORBA::Any * result ( ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS ) ACE_THROW_SPEC ((CORBA::SystemException)); - + virtual char * target_most_derived_interface ( - ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) + ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS + ) ACE_THROW_SPEC ((CORBA::SystemException)); - + virtual CORBA::Boolean target_is_a ( const char * id - ACE_ENV_ARG_DECL_WITH_DEFAULTS) + ACE_ENV_ARG_DECL_WITH_DEFAULTS + ) ACE_THROW_SPEC ((CORBA::SystemException)); - - + private: - TAO_ServerRequestInfo_ImplementationRepository_Administration_reregister_server (const TAO_ServerRequestInfo_ImplementationRepository_Administration_reregister_server &); - void operator= (const TAO_ServerRequestInfo_ImplementationRepository_Administration_reregister_server &); - + TAO_ServerRequestInfo_ImplementationRepository_Administration_reregister_server ( + const TAO_ServerRequestInfo_ImplementationRepository_Administration_reregister_server & + ); + + void operator= ( + const TAO_ServerRequestInfo_ImplementationRepository_Administration_reregister_server & + ); + private: POA_ImplementationRepository::Administration *_tao_impl; + const char * server_; const ImplementationRepository::StartupOptions & options_; - }; +// TAO_IDL - Generated from +// be/be_visitor_operation/interceptors_ss.cpp:438 + TAO_ServerRequestInfo_ImplementationRepository_Administration_reregister_server::TAO_ServerRequestInfo_ImplementationRepository_Administration_reregister_server ( TAO_ServerRequest &_tao_server_request, TAO_Object_Adapter::Servant_Upcall *_tao_servant_upcall, POA_ImplementationRepository::Administration *tao_impl, const char * server, - const ImplementationRepository::StartupOptions & options ACE_ENV_ARG_DECL_NOT_USED + const ImplementationRepository::StartupOptions & options + ACE_ENV_ARG_DECL_NOT_USED ) : TAO_ServerRequestInfo (_tao_server_request, _tao_servant_upcall), _tao_impl (tao_impl), @@ -1570,44 +1868,49 @@ TAO_ServerRequestInfo_ImplementationRepository_Administration_reregister_server: {} Dynamic::ParameterList * -TAO_ServerRequestInfo_ImplementationRepository_Administration_reregister_server::arguments (ACE_ENV_SINGLE_ARG_DECL) +TAO_ServerRequestInfo_ImplementationRepository_Administration_reregister_server::arguments ( + ACE_ENV_SINGLE_ARG_DECL + ) ACE_THROW_SPEC ((CORBA::SystemException)) { // Generate the argument list on demand. Dynamic::ParameterList *parameter_list = TAO_RequestInfo_Util::make_parameter_list (ACE_ENV_SINGLE_ARG_PARAMETER); ACE_CHECK_RETURN (0); - + Dynamic::ParameterList_var safe_parameter_list = parameter_list; - parameter_list->length (2); CORBA::ULong len = 0; - - (*parameter_list)[len].argument <<= server_; + + (*parameter_list)[len].argument <<= server_; (*parameter_list)[len].mode = CORBA::PARAM_IN; len++; - (*parameter_list)[len].argument <<= this->options_; + + (*parameter_list)[len].argument <<= this->options_; (*parameter_list)[len].mode = CORBA::PARAM_IN; len++; - + return safe_parameter_list._retn (); } Dynamic::ExceptionList * -TAO_ServerRequestInfo_ImplementationRepository_Administration_reregister_server::exceptions (ACE_ENV_SINGLE_ARG_DECL) +TAO_ServerRequestInfo_ImplementationRepository_Administration_reregister_server::exceptions ( + ACE_ENV_SINGLE_ARG_DECL + ) ACE_THROW_SPEC ((CORBA::SystemException)) { // Generate the exception list on demand. Dynamic::ExceptionList *exception_list = TAO_RequestInfo_Util::make_exception_list (ACE_ENV_SINGLE_ARG_PARAMETER); ACE_CHECK_RETURN (0); - + return exception_list; } - -CORBA::Any * -TAO_ServerRequestInfo_ImplementationRepository_Administration_reregister_server::result (ACE_ENV_SINGLE_ARG_DECL) +CORBA::Any * +TAO_ServerRequestInfo_ImplementationRepository_Administration_reregister_server::result ( + ACE_ENV_SINGLE_ARG_DECL + ) ACE_THROW_SPEC ((CORBA::SystemException)) { // Generate the result on demand. @@ -1615,13 +1918,14 @@ TAO_ServerRequestInfo_ImplementationRepository_Administration_reregister_server: CORBA::Any *result_any = TAO_RequestInfo_Util::make_any (tk_void_any ACE_ENV_ARG_PARAMETER); ACE_CHECK_RETURN (0); - + return result_any; } char * TAO_ServerRequestInfo_ImplementationRepository_Administration_reregister_server::target_most_derived_interface ( - ACE_ENV_SINGLE_ARG_DECL_NOT_USED) + ACE_ENV_SINGLE_ARG_DECL_NOT_USED + ) ACE_THROW_SPEC ((CORBA::SystemException)) { return @@ -1631,62 +1935,77 @@ TAO_ServerRequestInfo_ImplementationRepository_Administration_reregister_server: CORBA::Boolean TAO_ServerRequestInfo_ImplementationRepository_Administration_reregister_server::target_is_a ( const char * id - ACE_ENV_ARG_DECL) + ACE_ENV_ARG_DECL + ) ACE_THROW_SPEC ((CORBA::SystemException)) { return this->_tao_impl->_is_a (id ACE_ENV_ARG_PARAMETER); } +// TAO_IDL - Generated from +// be/be_visitor_operation/interceptors_ss.cpp:74 + class TAO_ServerRequestInfo_ImplementationRepository_Administration_remove_server : public TAO_ServerRequestInfo { public: TAO_ServerRequestInfo_ImplementationRepository_Administration_remove_server ( - TAO_ServerRequest &_tao_server_request, - TAO_Object_Adapter::Servant_Upcall *tao_servant_upcall,POA_ImplementationRepository::Administration *tao_impl - , - const char * server ACE_ENV_ARG_DECL_WITH_DEFAULTS - ); - + TAO_ServerRequest &_tao_server_request, + TAO_Object_Adapter::Servant_Upcall *tao_servant_upcall, + POA_ImplementationRepository::Administration *tao_impl, + const char * server + ACE_ENV_ARG_DECL_WITH_DEFAULTS + ); + virtual Dynamic::ParameterList * arguments ( ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS ) ACE_THROW_SPEC ((CORBA::SystemException)); - + virtual Dynamic::ExceptionList * exceptions ( ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS ) ACE_THROW_SPEC ((CORBA::SystemException)); - + virtual CORBA::Any * result ( ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS ) ACE_THROW_SPEC ((CORBA::SystemException)); - + virtual char * target_most_derived_interface ( - ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) + ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS + ) ACE_THROW_SPEC ((CORBA::SystemException)); - + virtual CORBA::Boolean target_is_a ( const char * id - ACE_ENV_ARG_DECL_WITH_DEFAULTS) + ACE_ENV_ARG_DECL_WITH_DEFAULTS + ) ACE_THROW_SPEC ((CORBA::SystemException)); - - + private: - TAO_ServerRequestInfo_ImplementationRepository_Administration_remove_server (const TAO_ServerRequestInfo_ImplementationRepository_Administration_remove_server &); - void operator= (const TAO_ServerRequestInfo_ImplementationRepository_Administration_remove_server &); - + TAO_ServerRequestInfo_ImplementationRepository_Administration_remove_server ( + const TAO_ServerRequestInfo_ImplementationRepository_Administration_remove_server & + ); + + void operator= ( + const TAO_ServerRequestInfo_ImplementationRepository_Administration_remove_server & + ); + private: POA_ImplementationRepository::Administration *_tao_impl; + const char * server_; - }; +// TAO_IDL - Generated from +// be/be_visitor_operation/interceptors_ss.cpp:438 + TAO_ServerRequestInfo_ImplementationRepository_Administration_remove_server::TAO_ServerRequestInfo_ImplementationRepository_Administration_remove_server ( TAO_ServerRequest &_tao_server_request, TAO_Object_Adapter::Servant_Upcall *_tao_servant_upcall, POA_ImplementationRepository::Administration *tao_impl, - const char * server ACE_ENV_ARG_DECL_NOT_USED + const char * server + ACE_ENV_ARG_DECL_NOT_USED ) : TAO_ServerRequestInfo (_tao_server_request, _tao_servant_upcall), _tao_impl (tao_impl), @@ -1694,42 +2013,45 @@ TAO_ServerRequestInfo_ImplementationRepository_Administration_remove_server::TAO {} Dynamic::ParameterList * -TAO_ServerRequestInfo_ImplementationRepository_Administration_remove_server::arguments (ACE_ENV_SINGLE_ARG_DECL) +TAO_ServerRequestInfo_ImplementationRepository_Administration_remove_server::arguments ( + ACE_ENV_SINGLE_ARG_DECL + ) ACE_THROW_SPEC ((CORBA::SystemException)) { // Generate the argument list on demand. Dynamic::ParameterList *parameter_list = TAO_RequestInfo_Util::make_parameter_list (ACE_ENV_SINGLE_ARG_PARAMETER); ACE_CHECK_RETURN (0); - + Dynamic::ParameterList_var safe_parameter_list = parameter_list; - parameter_list->length (1); CORBA::ULong len = 0; - - (*parameter_list)[len].argument <<= server_; + + (*parameter_list)[len].argument <<= server_; (*parameter_list)[len].mode = CORBA::PARAM_IN; len++; - + return safe_parameter_list._retn (); } Dynamic::ExceptionList * -TAO_ServerRequestInfo_ImplementationRepository_Administration_remove_server::exceptions (ACE_ENV_SINGLE_ARG_DECL) +TAO_ServerRequestInfo_ImplementationRepository_Administration_remove_server::exceptions ( + ACE_ENV_SINGLE_ARG_DECL + ) ACE_THROW_SPEC ((CORBA::SystemException)) { // Generate the exception list on demand. Dynamic::ExceptionList *exception_list = TAO_RequestInfo_Util::make_exception_list (ACE_ENV_SINGLE_ARG_PARAMETER); ACE_CHECK_RETURN (0); - + Dynamic::ExceptionList_var safe_exception_list = exception_list; - - static CORBA::TypeCode_ptr _tao_ImplementationRepository_Administration_remove_server_exceptiondata[] = + + static CORBA::TypeCode_ptr _tao_ImplementationRepository_Administration_remove_server_exceptiondata[] = { ImplementationRepository::_tc_NotFound }; - + exception_list->length (1); for (CORBA::ULong i = 0; i < 1; ++i) { @@ -1741,9 +2063,10 @@ TAO_ServerRequestInfo_ImplementationRepository_Administration_remove_server::exc return safe_exception_list._retn (); } - -CORBA::Any * -TAO_ServerRequestInfo_ImplementationRepository_Administration_remove_server::result (ACE_ENV_SINGLE_ARG_DECL) +CORBA::Any * +TAO_ServerRequestInfo_ImplementationRepository_Administration_remove_server::result ( + ACE_ENV_SINGLE_ARG_DECL + ) ACE_THROW_SPEC ((CORBA::SystemException)) { // Generate the result on demand. @@ -1751,13 +2074,14 @@ TAO_ServerRequestInfo_ImplementationRepository_Administration_remove_server::res CORBA::Any *result_any = TAO_RequestInfo_Util::make_any (tk_void_any ACE_ENV_ARG_PARAMETER); ACE_CHECK_RETURN (0); - + return result_any; } char * TAO_ServerRequestInfo_ImplementationRepository_Administration_remove_server::target_most_derived_interface ( - ACE_ENV_SINGLE_ARG_DECL_NOT_USED) + ACE_ENV_SINGLE_ARG_DECL_NOT_USED + ) ACE_THROW_SPEC ((CORBA::SystemException)) { return @@ -1767,62 +2091,77 @@ TAO_ServerRequestInfo_ImplementationRepository_Administration_remove_server::tar CORBA::Boolean TAO_ServerRequestInfo_ImplementationRepository_Administration_remove_server::target_is_a ( const char * id - ACE_ENV_ARG_DECL) + ACE_ENV_ARG_DECL + ) ACE_THROW_SPEC ((CORBA::SystemException)) { return this->_tao_impl->_is_a (id ACE_ENV_ARG_PARAMETER); } +// TAO_IDL - Generated from +// be/be_visitor_operation/interceptors_ss.cpp:74 + class TAO_ServerRequestInfo_ImplementationRepository_Administration_shutdown_server : public TAO_ServerRequestInfo { public: TAO_ServerRequestInfo_ImplementationRepository_Administration_shutdown_server ( - TAO_ServerRequest &_tao_server_request, - TAO_Object_Adapter::Servant_Upcall *tao_servant_upcall,POA_ImplementationRepository::Administration *tao_impl - , - const char * server ACE_ENV_ARG_DECL_WITH_DEFAULTS - ); - + TAO_ServerRequest &_tao_server_request, + TAO_Object_Adapter::Servant_Upcall *tao_servant_upcall, + POA_ImplementationRepository::Administration *tao_impl, + const char * server + ACE_ENV_ARG_DECL_WITH_DEFAULTS + ); + virtual Dynamic::ParameterList * arguments ( ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS ) ACE_THROW_SPEC ((CORBA::SystemException)); - + virtual Dynamic::ExceptionList * exceptions ( ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS ) ACE_THROW_SPEC ((CORBA::SystemException)); - + virtual CORBA::Any * result ( ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS ) ACE_THROW_SPEC ((CORBA::SystemException)); - + virtual char * target_most_derived_interface ( - ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) + ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS + ) ACE_THROW_SPEC ((CORBA::SystemException)); - + virtual CORBA::Boolean target_is_a ( const char * id - ACE_ENV_ARG_DECL_WITH_DEFAULTS) + ACE_ENV_ARG_DECL_WITH_DEFAULTS + ) ACE_THROW_SPEC ((CORBA::SystemException)); - - + private: - TAO_ServerRequestInfo_ImplementationRepository_Administration_shutdown_server (const TAO_ServerRequestInfo_ImplementationRepository_Administration_shutdown_server &); - void operator= (const TAO_ServerRequestInfo_ImplementationRepository_Administration_shutdown_server &); - + TAO_ServerRequestInfo_ImplementationRepository_Administration_shutdown_server ( + const TAO_ServerRequestInfo_ImplementationRepository_Administration_shutdown_server & + ); + + void operator= ( + const TAO_ServerRequestInfo_ImplementationRepository_Administration_shutdown_server & + ); + private: POA_ImplementationRepository::Administration *_tao_impl; + const char * server_; - }; +// TAO_IDL - Generated from +// be/be_visitor_operation/interceptors_ss.cpp:438 + TAO_ServerRequestInfo_ImplementationRepository_Administration_shutdown_server::TAO_ServerRequestInfo_ImplementationRepository_Administration_shutdown_server ( TAO_ServerRequest &_tao_server_request, TAO_Object_Adapter::Servant_Upcall *_tao_servant_upcall, POA_ImplementationRepository::Administration *tao_impl, - const char * server ACE_ENV_ARG_DECL_NOT_USED + const char * server + ACE_ENV_ARG_DECL_NOT_USED ) : TAO_ServerRequestInfo (_tao_server_request, _tao_servant_upcall), _tao_impl (tao_impl), @@ -1830,42 +2169,45 @@ TAO_ServerRequestInfo_ImplementationRepository_Administration_shutdown_server::T {} Dynamic::ParameterList * -TAO_ServerRequestInfo_ImplementationRepository_Administration_shutdown_server::arguments (ACE_ENV_SINGLE_ARG_DECL) +TAO_ServerRequestInfo_ImplementationRepository_Administration_shutdown_server::arguments ( + ACE_ENV_SINGLE_ARG_DECL + ) ACE_THROW_SPEC ((CORBA::SystemException)) { // Generate the argument list on demand. Dynamic::ParameterList *parameter_list = TAO_RequestInfo_Util::make_parameter_list (ACE_ENV_SINGLE_ARG_PARAMETER); ACE_CHECK_RETURN (0); - + Dynamic::ParameterList_var safe_parameter_list = parameter_list; - parameter_list->length (1); CORBA::ULong len = 0; - - (*parameter_list)[len].argument <<= server_; + + (*parameter_list)[len].argument <<= server_; (*parameter_list)[len].mode = CORBA::PARAM_IN; len++; - + return safe_parameter_list._retn (); } Dynamic::ExceptionList * -TAO_ServerRequestInfo_ImplementationRepository_Administration_shutdown_server::exceptions (ACE_ENV_SINGLE_ARG_DECL) +TAO_ServerRequestInfo_ImplementationRepository_Administration_shutdown_server::exceptions ( + ACE_ENV_SINGLE_ARG_DECL + ) ACE_THROW_SPEC ((CORBA::SystemException)) { // Generate the exception list on demand. Dynamic::ExceptionList *exception_list = TAO_RequestInfo_Util::make_exception_list (ACE_ENV_SINGLE_ARG_PARAMETER); ACE_CHECK_RETURN (0); - + Dynamic::ExceptionList_var safe_exception_list = exception_list; - - static CORBA::TypeCode_ptr _tao_ImplementationRepository_Administration_shutdown_server_exceptiondata[] = + + static CORBA::TypeCode_ptr _tao_ImplementationRepository_Administration_shutdown_server_exceptiondata[] = { ImplementationRepository::_tc_NotFound }; - + exception_list->length (1); for (CORBA::ULong i = 0; i < 1; ++i) { @@ -1877,9 +2219,10 @@ TAO_ServerRequestInfo_ImplementationRepository_Administration_shutdown_server::e return safe_exception_list._retn (); } - -CORBA::Any * -TAO_ServerRequestInfo_ImplementationRepository_Administration_shutdown_server::result (ACE_ENV_SINGLE_ARG_DECL) +CORBA::Any * +TAO_ServerRequestInfo_ImplementationRepository_Administration_shutdown_server::result ( + ACE_ENV_SINGLE_ARG_DECL + ) ACE_THROW_SPEC ((CORBA::SystemException)) { // Generate the result on demand. @@ -1887,13 +2230,14 @@ TAO_ServerRequestInfo_ImplementationRepository_Administration_shutdown_server::r CORBA::Any *result_any = TAO_RequestInfo_Util::make_any (tk_void_any ACE_ENV_ARG_PARAMETER); ACE_CHECK_RETURN (0); - + return result_any; } char * TAO_ServerRequestInfo_ImplementationRepository_Administration_shutdown_server::target_most_derived_interface ( - ACE_ENV_SINGLE_ARG_DECL_NOT_USED) + ACE_ENV_SINGLE_ARG_DECL_NOT_USED + ) ACE_THROW_SPEC ((CORBA::SystemException)) { return @@ -1903,69 +2247,85 @@ TAO_ServerRequestInfo_ImplementationRepository_Administration_shutdown_server::t CORBA::Boolean TAO_ServerRequestInfo_ImplementationRepository_Administration_shutdown_server::target_is_a ( const char * id - ACE_ENV_ARG_DECL) + ACE_ENV_ARG_DECL + ) ACE_THROW_SPEC ((CORBA::SystemException)) { return this->_tao_impl->_is_a (id ACE_ENV_ARG_PARAMETER); } +// TAO_IDL - Generated from +// be/be_visitor_operation/interceptors_ss.cpp:74 + class TAO_ServerRequestInfo_ImplementationRepository_Administration_server_is_running : public TAO_ServerRequestInfo { public: TAO_ServerRequestInfo_ImplementationRepository_Administration_server_is_running ( - TAO_ServerRequest &_tao_server_request, - TAO_Object_Adapter::Servant_Upcall *tao_servant_upcall,POA_ImplementationRepository::Administration *tao_impl - , - const char * server, - const char * addr, - ImplementationRepository::ServerObject_ptr server_object ACE_ENV_ARG_DECL_WITH_DEFAULTS - ); - + TAO_ServerRequest &_tao_server_request, + TAO_Object_Adapter::Servant_Upcall *tao_servant_upcall, + POA_ImplementationRepository::Administration *tao_impl, + const char * server, + const char * addr, + ImplementationRepository::ServerObject_ptr server_object + ACE_ENV_ARG_DECL_WITH_DEFAULTS + ); + virtual Dynamic::ParameterList * arguments ( ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS ) ACE_THROW_SPEC ((CORBA::SystemException)); - + virtual Dynamic::ExceptionList * exceptions ( ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS ) ACE_THROW_SPEC ((CORBA::SystemException)); - + virtual CORBA::Any * result ( ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS ) ACE_THROW_SPEC ((CORBA::SystemException)); - + virtual char * target_most_derived_interface ( - ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) + ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS + ) ACE_THROW_SPEC ((CORBA::SystemException)); - + virtual CORBA::Boolean target_is_a ( const char * id - ACE_ENV_ARG_DECL_WITH_DEFAULTS) + ACE_ENV_ARG_DECL_WITH_DEFAULTS + ) ACE_THROW_SPEC ((CORBA::SystemException)); - + void result (char * result); private: - TAO_ServerRequestInfo_ImplementationRepository_Administration_server_is_running (const TAO_ServerRequestInfo_ImplementationRepository_Administration_server_is_running &); - void operator= (const TAO_ServerRequestInfo_ImplementationRepository_Administration_server_is_running &); - + TAO_ServerRequestInfo_ImplementationRepository_Administration_server_is_running ( + const TAO_ServerRequestInfo_ImplementationRepository_Administration_server_is_running & + ); + + void operator= ( + const TAO_ServerRequestInfo_ImplementationRepository_Administration_server_is_running & + ); + private: POA_ImplementationRepository::Administration *_tao_impl; + const char * server_; const char * addr_; - ImplementationRepository::ServerObject_ptr server_object_; - char * _result; + ImplementationRepository::ServerObject_ptr server_object_;char * _result; }; +// TAO_IDL - Generated from +// be/be_visitor_operation/interceptors_ss.cpp:438 + TAO_ServerRequestInfo_ImplementationRepository_Administration_server_is_running::TAO_ServerRequestInfo_ImplementationRepository_Administration_server_is_running ( TAO_ServerRequest &_tao_server_request, TAO_Object_Adapter::Servant_Upcall *_tao_servant_upcall, POA_ImplementationRepository::Administration *tao_impl, const char * server, const char * addr, - ImplementationRepository::ServerObject_ptr server_object ACE_ENV_ARG_DECL_NOT_USED + ImplementationRepository::ServerObject_ptr server_object + ACE_ENV_ARG_DECL_NOT_USED ) : TAO_ServerRequestInfo (_tao_server_request, _tao_servant_upcall), _tao_impl (tao_impl), @@ -1975,48 +2335,53 @@ TAO_ServerRequestInfo_ImplementationRepository_Administration_server_is_running: {} Dynamic::ParameterList * -TAO_ServerRequestInfo_ImplementationRepository_Administration_server_is_running::arguments (ACE_ENV_SINGLE_ARG_DECL) +TAO_ServerRequestInfo_ImplementationRepository_Administration_server_is_running::arguments ( + ACE_ENV_SINGLE_ARG_DECL + ) ACE_THROW_SPEC ((CORBA::SystemException)) { // Generate the argument list on demand. Dynamic::ParameterList *parameter_list = TAO_RequestInfo_Util::make_parameter_list (ACE_ENV_SINGLE_ARG_PARAMETER); ACE_CHECK_RETURN (0); - + Dynamic::ParameterList_var safe_parameter_list = parameter_list; - parameter_list->length (3); CORBA::ULong len = 0; - - (*parameter_list)[len].argument <<= server_; + + (*parameter_list)[len].argument <<= server_; (*parameter_list)[len].mode = CORBA::PARAM_IN; len++; - (*parameter_list)[len].argument <<= addr_; + + (*parameter_list)[len].argument <<= addr_; (*parameter_list)[len].mode = CORBA::PARAM_IN; len++; - (*parameter_list)[len].argument <<= this->server_object_; + + (*parameter_list)[len].argument <<= this->server_object_; (*parameter_list)[len].mode = CORBA::PARAM_IN; len++; - + return safe_parameter_list._retn (); } Dynamic::ExceptionList * -TAO_ServerRequestInfo_ImplementationRepository_Administration_server_is_running::exceptions (ACE_ENV_SINGLE_ARG_DECL) +TAO_ServerRequestInfo_ImplementationRepository_Administration_server_is_running::exceptions ( + ACE_ENV_SINGLE_ARG_DECL + ) ACE_THROW_SPEC ((CORBA::SystemException)) { // Generate the exception list on demand. Dynamic::ExceptionList *exception_list = TAO_RequestInfo_Util::make_exception_list (ACE_ENV_SINGLE_ARG_PARAMETER); ACE_CHECK_RETURN (0); - + Dynamic::ExceptionList_var safe_exception_list = exception_list; - - static CORBA::TypeCode_ptr _tao_ImplementationRepository_Administration_server_is_running_exceptiondata[] = + + static CORBA::TypeCode_ptr _tao_ImplementationRepository_Administration_server_is_running_exceptiondata[] = { ImplementationRepository::_tc_NotFound }; - + exception_list->length (1); for (CORBA::ULong i = 0; i < 1; ++i) { @@ -2028,9 +2393,10 @@ TAO_ServerRequestInfo_ImplementationRepository_Administration_server_is_running: return safe_exception_list._retn (); } - -CORBA::Any * -TAO_ServerRequestInfo_ImplementationRepository_Administration_server_is_running::result (ACE_ENV_SINGLE_ARG_DECL) +CORBA::Any * +TAO_ServerRequestInfo_ImplementationRepository_Administration_server_is_running::result ( + ACE_ENV_SINGLE_ARG_DECL + ) ACE_THROW_SPEC ((CORBA::SystemException)) { // Generate the result on demand. @@ -2038,17 +2404,18 @@ TAO_ServerRequestInfo_ImplementationRepository_Administration_server_is_running: CORBA::Any *result_any = TAO_RequestInfo_Util::make_any (tk_void_any ACE_ENV_ARG_PARAMETER); ACE_CHECK_RETURN (0); - + CORBA::Any_var safe_result_any = result_any; - + (*result_any) <<= this->_result; - + return safe_result_any._retn (); } char * TAO_ServerRequestInfo_ImplementationRepository_Administration_server_is_running::target_most_derived_interface ( - ACE_ENV_SINGLE_ARG_DECL_NOT_USED) + ACE_ENV_SINGLE_ARG_DECL_NOT_USED + ) ACE_THROW_SPEC ((CORBA::SystemException)) { return @@ -2058,69 +2425,84 @@ TAO_ServerRequestInfo_ImplementationRepository_Administration_server_is_running: CORBA::Boolean TAO_ServerRequestInfo_ImplementationRepository_Administration_server_is_running::target_is_a ( const char * id - ACE_ENV_ARG_DECL) + ACE_ENV_ARG_DECL + ) ACE_THROW_SPEC ((CORBA::SystemException)) { return this->_tao_impl->_is_a (id ACE_ENV_ARG_PARAMETER); } -void +void TAO_ServerRequestInfo_ImplementationRepository_Administration_server_is_running::result (char * result) { // Update the result. this->_result = result; } +// TAO_IDL - Generated from +// be/be_visitor_operation/interceptors_ss.cpp:74 + class TAO_ServerRequestInfo_ImplementationRepository_Administration_server_is_shutting_down : public TAO_ServerRequestInfo { public: TAO_ServerRequestInfo_ImplementationRepository_Administration_server_is_shutting_down ( - TAO_ServerRequest &_tao_server_request, - TAO_Object_Adapter::Servant_Upcall *tao_servant_upcall,POA_ImplementationRepository::Administration *tao_impl - , - const char * server ACE_ENV_ARG_DECL_WITH_DEFAULTS - ); - + TAO_ServerRequest &_tao_server_request, + TAO_Object_Adapter::Servant_Upcall *tao_servant_upcall, + POA_ImplementationRepository::Administration *tao_impl, + const char * server + ACE_ENV_ARG_DECL_WITH_DEFAULTS + ); + virtual Dynamic::ParameterList * arguments ( ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS ) ACE_THROW_SPEC ((CORBA::SystemException)); - + virtual Dynamic::ExceptionList * exceptions ( ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS ) ACE_THROW_SPEC ((CORBA::SystemException)); - + virtual CORBA::Any * result ( ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS ) ACE_THROW_SPEC ((CORBA::SystemException)); - + virtual char * target_most_derived_interface ( - ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) + ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS + ) ACE_THROW_SPEC ((CORBA::SystemException)); - + virtual CORBA::Boolean target_is_a ( const char * id - ACE_ENV_ARG_DECL_WITH_DEFAULTS) + ACE_ENV_ARG_DECL_WITH_DEFAULTS + ) ACE_THROW_SPEC ((CORBA::SystemException)); - - + private: - TAO_ServerRequestInfo_ImplementationRepository_Administration_server_is_shutting_down (const TAO_ServerRequestInfo_ImplementationRepository_Administration_server_is_shutting_down &); - void operator= (const TAO_ServerRequestInfo_ImplementationRepository_Administration_server_is_shutting_down &); - + TAO_ServerRequestInfo_ImplementationRepository_Administration_server_is_shutting_down ( + const TAO_ServerRequestInfo_ImplementationRepository_Administration_server_is_shutting_down & + ); + + void operator= ( + const TAO_ServerRequestInfo_ImplementationRepository_Administration_server_is_shutting_down & + ); + private: POA_ImplementationRepository::Administration *_tao_impl; + const char * server_; - }; +// TAO_IDL - Generated from +// be/be_visitor_operation/interceptors_ss.cpp:438 + TAO_ServerRequestInfo_ImplementationRepository_Administration_server_is_shutting_down::TAO_ServerRequestInfo_ImplementationRepository_Administration_server_is_shutting_down ( TAO_ServerRequest &_tao_server_request, TAO_Object_Adapter::Servant_Upcall *_tao_servant_upcall, POA_ImplementationRepository::Administration *tao_impl, - const char * server ACE_ENV_ARG_DECL_NOT_USED + const char * server + ACE_ENV_ARG_DECL_NOT_USED ) : TAO_ServerRequestInfo (_tao_server_request, _tao_servant_upcall), _tao_impl (tao_impl), @@ -2128,42 +2510,45 @@ TAO_ServerRequestInfo_ImplementationRepository_Administration_server_is_shutting {} Dynamic::ParameterList * -TAO_ServerRequestInfo_ImplementationRepository_Administration_server_is_shutting_down::arguments (ACE_ENV_SINGLE_ARG_DECL) +TAO_ServerRequestInfo_ImplementationRepository_Administration_server_is_shutting_down::arguments ( + ACE_ENV_SINGLE_ARG_DECL + ) ACE_THROW_SPEC ((CORBA::SystemException)) { // Generate the argument list on demand. Dynamic::ParameterList *parameter_list = TAO_RequestInfo_Util::make_parameter_list (ACE_ENV_SINGLE_ARG_PARAMETER); ACE_CHECK_RETURN (0); - + Dynamic::ParameterList_var safe_parameter_list = parameter_list; - parameter_list->length (1); CORBA::ULong len = 0; - - (*parameter_list)[len].argument <<= server_; + + (*parameter_list)[len].argument <<= server_; (*parameter_list)[len].mode = CORBA::PARAM_IN; len++; - + return safe_parameter_list._retn (); } Dynamic::ExceptionList * -TAO_ServerRequestInfo_ImplementationRepository_Administration_server_is_shutting_down::exceptions (ACE_ENV_SINGLE_ARG_DECL) +TAO_ServerRequestInfo_ImplementationRepository_Administration_server_is_shutting_down::exceptions ( + ACE_ENV_SINGLE_ARG_DECL + ) ACE_THROW_SPEC ((CORBA::SystemException)) { // Generate the exception list on demand. Dynamic::ExceptionList *exception_list = TAO_RequestInfo_Util::make_exception_list (ACE_ENV_SINGLE_ARG_PARAMETER); ACE_CHECK_RETURN (0); - + Dynamic::ExceptionList_var safe_exception_list = exception_list; - - static CORBA::TypeCode_ptr _tao_ImplementationRepository_Administration_server_is_shutting_down_exceptiondata[] = + + static CORBA::TypeCode_ptr _tao_ImplementationRepository_Administration_server_is_shutting_down_exceptiondata[] = { ImplementationRepository::_tc_NotFound }; - + exception_list->length (1); for (CORBA::ULong i = 0; i < 1; ++i) { @@ -2175,9 +2560,10 @@ TAO_ServerRequestInfo_ImplementationRepository_Administration_server_is_shutting return safe_exception_list._retn (); } - -CORBA::Any * -TAO_ServerRequestInfo_ImplementationRepository_Administration_server_is_shutting_down::result (ACE_ENV_SINGLE_ARG_DECL) +CORBA::Any * +TAO_ServerRequestInfo_ImplementationRepository_Administration_server_is_shutting_down::result ( + ACE_ENV_SINGLE_ARG_DECL + ) ACE_THROW_SPEC ((CORBA::SystemException)) { // Generate the result on demand. @@ -2185,13 +2571,14 @@ TAO_ServerRequestInfo_ImplementationRepository_Administration_server_is_shutting CORBA::Any *result_any = TAO_RequestInfo_Util::make_any (tk_void_any ACE_ENV_ARG_PARAMETER); ACE_CHECK_RETURN (0); - + return result_any; } char * TAO_ServerRequestInfo_ImplementationRepository_Administration_server_is_shutting_down::target_most_derived_interface ( - ACE_ENV_SINGLE_ARG_DECL_NOT_USED) + ACE_ENV_SINGLE_ARG_DECL_NOT_USED + ) ACE_THROW_SPEC ((CORBA::SystemException)) { return @@ -2201,62 +2588,77 @@ TAO_ServerRequestInfo_ImplementationRepository_Administration_server_is_shutting CORBA::Boolean TAO_ServerRequestInfo_ImplementationRepository_Administration_server_is_shutting_down::target_is_a ( const char * id - ACE_ENV_ARG_DECL) + ACE_ENV_ARG_DECL + ) ACE_THROW_SPEC ((CORBA::SystemException)) { return this->_tao_impl->_is_a (id ACE_ENV_ARG_PARAMETER); } +// TAO_IDL - Generated from +// be/be_visitor_operation/interceptors_ss.cpp:74 + class TAO_ServerRequestInfo_ImplementationRepository_Administration_find : public TAO_ServerRequestInfo { public: TAO_ServerRequestInfo_ImplementationRepository_Administration_find ( - TAO_ServerRequest &_tao_server_request, - TAO_Object_Adapter::Servant_Upcall *tao_servant_upcall,POA_ImplementationRepository::Administration *tao_impl - , - const char * server ACE_ENV_ARG_DECL_WITH_DEFAULTS - ); - + TAO_ServerRequest &_tao_server_request, + TAO_Object_Adapter::Servant_Upcall *tao_servant_upcall, + POA_ImplementationRepository::Administration *tao_impl, + const char * server + ACE_ENV_ARG_DECL_WITH_DEFAULTS + ); + virtual Dynamic::ParameterList * arguments ( ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS ) ACE_THROW_SPEC ((CORBA::SystemException)); - + virtual Dynamic::ExceptionList * exceptions ( ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS ) ACE_THROW_SPEC ((CORBA::SystemException)); - + virtual CORBA::Any * result ( ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS ) ACE_THROW_SPEC ((CORBA::SystemException)); - + virtual char * target_most_derived_interface ( - ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) + ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS + ) ACE_THROW_SPEC ((CORBA::SystemException)); - + virtual CORBA::Boolean target_is_a ( const char * id - ACE_ENV_ARG_DECL_WITH_DEFAULTS) + ACE_ENV_ARG_DECL_WITH_DEFAULTS + ) ACE_THROW_SPEC ((CORBA::SystemException)); - - + private: - TAO_ServerRequestInfo_ImplementationRepository_Administration_find (const TAO_ServerRequestInfo_ImplementationRepository_Administration_find &); - void operator= (const TAO_ServerRequestInfo_ImplementationRepository_Administration_find &); - + TAO_ServerRequestInfo_ImplementationRepository_Administration_find ( + const TAO_ServerRequestInfo_ImplementationRepository_Administration_find & + ); + + void operator= ( + const TAO_ServerRequestInfo_ImplementationRepository_Administration_find & + ); + private: POA_ImplementationRepository::Administration *_tao_impl; + const char * server_; - }; +// TAO_IDL - Generated from +// be/be_visitor_operation/interceptors_ss.cpp:438 + TAO_ServerRequestInfo_ImplementationRepository_Administration_find::TAO_ServerRequestInfo_ImplementationRepository_Administration_find ( TAO_ServerRequest &_tao_server_request, TAO_Object_Adapter::Servant_Upcall *_tao_servant_upcall, POA_ImplementationRepository::Administration *tao_impl, - const char * server ACE_ENV_ARG_DECL_NOT_USED + const char * server + ACE_ENV_ARG_DECL_NOT_USED ) : TAO_ServerRequestInfo (_tao_server_request, _tao_servant_upcall), _tao_impl (tao_impl), @@ -2264,42 +2666,45 @@ TAO_ServerRequestInfo_ImplementationRepository_Administration_find::TAO_ServerRe {} Dynamic::ParameterList * -TAO_ServerRequestInfo_ImplementationRepository_Administration_find::arguments (ACE_ENV_SINGLE_ARG_DECL) +TAO_ServerRequestInfo_ImplementationRepository_Administration_find::arguments ( + ACE_ENV_SINGLE_ARG_DECL + ) ACE_THROW_SPEC ((CORBA::SystemException)) { // Generate the argument list on demand. Dynamic::ParameterList *parameter_list = TAO_RequestInfo_Util::make_parameter_list (ACE_ENV_SINGLE_ARG_PARAMETER); ACE_CHECK_RETURN (0); - + Dynamic::ParameterList_var safe_parameter_list = parameter_list; - parameter_list->length (1); CORBA::ULong len = 0; - - (*parameter_list)[len].argument <<= server_; + + (*parameter_list)[len].argument <<= server_; (*parameter_list)[len].mode = CORBA::PARAM_IN; len++; - + return safe_parameter_list._retn (); } Dynamic::ExceptionList * -TAO_ServerRequestInfo_ImplementationRepository_Administration_find::exceptions (ACE_ENV_SINGLE_ARG_DECL) +TAO_ServerRequestInfo_ImplementationRepository_Administration_find::exceptions ( + ACE_ENV_SINGLE_ARG_DECL + ) ACE_THROW_SPEC ((CORBA::SystemException)) { // Generate the exception list on demand. Dynamic::ExceptionList *exception_list = TAO_RequestInfo_Util::make_exception_list (ACE_ENV_SINGLE_ARG_PARAMETER); ACE_CHECK_RETURN (0); - + Dynamic::ExceptionList_var safe_exception_list = exception_list; - - static CORBA::TypeCode_ptr _tao_ImplementationRepository_Administration_find_exceptiondata[] = + + static CORBA::TypeCode_ptr _tao_ImplementationRepository_Administration_find_exceptiondata[] = { ImplementationRepository::_tc_NotFound }; - + exception_list->length (1); for (CORBA::ULong i = 0; i < 1; ++i) { @@ -2311,9 +2716,10 @@ TAO_ServerRequestInfo_ImplementationRepository_Administration_find::exceptions ( return safe_exception_list._retn (); } - -CORBA::Any * -TAO_ServerRequestInfo_ImplementationRepository_Administration_find::result (ACE_ENV_SINGLE_ARG_DECL) +CORBA::Any * +TAO_ServerRequestInfo_ImplementationRepository_Administration_find::result ( + ACE_ENV_SINGLE_ARG_DECL + ) ACE_THROW_SPEC ((CORBA::SystemException)) { // Generate the result on demand. @@ -2321,13 +2727,14 @@ TAO_ServerRequestInfo_ImplementationRepository_Administration_find::result (ACE_ CORBA::Any *result_any = TAO_RequestInfo_Util::make_any (tk_void_any ACE_ENV_ARG_PARAMETER); ACE_CHECK_RETURN (0); - + return result_any; } char * TAO_ServerRequestInfo_ImplementationRepository_Administration_find::target_most_derived_interface ( - ACE_ENV_SINGLE_ARG_DECL_NOT_USED) + ACE_ENV_SINGLE_ARG_DECL_NOT_USED + ) ACE_THROW_SPEC ((CORBA::SystemException)) { return @@ -2337,109 +2744,128 @@ TAO_ServerRequestInfo_ImplementationRepository_Administration_find::target_most_ CORBA::Boolean TAO_ServerRequestInfo_ImplementationRepository_Administration_find::target_is_a ( const char * id - ACE_ENV_ARG_DECL) + ACE_ENV_ARG_DECL + ) ACE_THROW_SPEC ((CORBA::SystemException)) { return this->_tao_impl->_is_a (id ACE_ENV_ARG_PARAMETER); } +// TAO_IDL - Generated from +// be/be_visitor_operation/interceptors_ss.cpp:74 + class TAO_ServerRequestInfo_ImplementationRepository_Administration_list : public TAO_ServerRequestInfo { public: TAO_ServerRequestInfo_ImplementationRepository_Administration_list ( - TAO_ServerRequest &_tao_server_request, - TAO_Object_Adapter::Servant_Upcall *tao_servant_upcall,POA_ImplementationRepository::Administration *tao_impl - , - const CORBA::ULong & how_many - ACE_ENV_ARG_DECL_WITH_DEFAULTS - ); + TAO_ServerRequest &_tao_server_request, + TAO_Object_Adapter::Servant_Upcall *tao_servant_upcall, + POA_ImplementationRepository::Administration *tao_impl, + const CORBA::ULong & how_many + ACE_ENV_ARG_DECL_WITH_DEFAULTS + ); + virtual Dynamic::ParameterList * arguments ( ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS ) ACE_THROW_SPEC ((CORBA::SystemException)); - + virtual Dynamic::ExceptionList * exceptions ( ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS ) ACE_THROW_SPEC ((CORBA::SystemException)); - + virtual CORBA::Any * result ( ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS ) ACE_THROW_SPEC ((CORBA::SystemException)); - + virtual char * target_most_derived_interface ( - ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) + ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS + ) ACE_THROW_SPEC ((CORBA::SystemException)); - + virtual CORBA::Boolean target_is_a ( const char * id - ACE_ENV_ARG_DECL_WITH_DEFAULTS) + ACE_ENV_ARG_DECL_WITH_DEFAULTS + ) ACE_THROW_SPEC ((CORBA::SystemException)); - - + private: - TAO_ServerRequestInfo_ImplementationRepository_Administration_list (const TAO_ServerRequestInfo_ImplementationRepository_Administration_list &); - void operator= (const TAO_ServerRequestInfo_ImplementationRepository_Administration_list &); - + TAO_ServerRequestInfo_ImplementationRepository_Administration_list ( + const TAO_ServerRequestInfo_ImplementationRepository_Administration_list & + ); + + void operator= ( + const TAO_ServerRequestInfo_ImplementationRepository_Administration_list & + ); + private: POA_ImplementationRepository::Administration *_tao_impl; - const CORBA::ULong & how_many_; - + + const CORBA::ULong & how_many_; }; +// TAO_IDL - Generated from +// be/be_visitor_operation/interceptors_ss.cpp:438 + TAO_ServerRequestInfo_ImplementationRepository_Administration_list::TAO_ServerRequestInfo_ImplementationRepository_Administration_list ( TAO_ServerRequest &_tao_server_request, TAO_Object_Adapter::Servant_Upcall *_tao_servant_upcall, POA_ImplementationRepository::Administration *tao_impl, - const CORBA::ULong & how_many - ACE_ENV_ARG_DECL_NOT_USED + const CORBA::ULong & how_many + + ACE_ENV_ARG_DECL_NOT_USED ) : TAO_ServerRequestInfo (_tao_server_request, _tao_servant_upcall), _tao_impl (tao_impl), - how_many_ (how_many) + how_many_ (how_many) {} Dynamic::ParameterList * -TAO_ServerRequestInfo_ImplementationRepository_Administration_list::arguments (ACE_ENV_SINGLE_ARG_DECL) +TAO_ServerRequestInfo_ImplementationRepository_Administration_list::arguments ( + ACE_ENV_SINGLE_ARG_DECL + ) ACE_THROW_SPEC ((CORBA::SystemException)) { // Generate the argument list on demand. Dynamic::ParameterList *parameter_list = TAO_RequestInfo_Util::make_parameter_list (ACE_ENV_SINGLE_ARG_PARAMETER); ACE_CHECK_RETURN (0); - + Dynamic::ParameterList_var safe_parameter_list = parameter_list; - parameter_list->length (1); CORBA::ULong len = 0; - - (*parameter_list)[len].argument <<= how_many_; + + (*parameter_list)[len].argument <<= how_many_; (*parameter_list)[len].mode = CORBA::PARAM_IN; len++; - + return safe_parameter_list._retn (); } Dynamic::ExceptionList * -TAO_ServerRequestInfo_ImplementationRepository_Administration_list::exceptions (ACE_ENV_SINGLE_ARG_DECL) +TAO_ServerRequestInfo_ImplementationRepository_Administration_list::exceptions ( + ACE_ENV_SINGLE_ARG_DECL + ) ACE_THROW_SPEC ((CORBA::SystemException)) { // Generate the exception list on demand. Dynamic::ExceptionList *exception_list = TAO_RequestInfo_Util::make_exception_list (ACE_ENV_SINGLE_ARG_PARAMETER); ACE_CHECK_RETURN (0); - + return exception_list; } - -CORBA::Any * -TAO_ServerRequestInfo_ImplementationRepository_Administration_list::result (ACE_ENV_SINGLE_ARG_DECL) +CORBA::Any * +TAO_ServerRequestInfo_ImplementationRepository_Administration_list::result ( + ACE_ENV_SINGLE_ARG_DECL + ) ACE_THROW_SPEC ((CORBA::SystemException)) { // Generate the result on demand. @@ -2447,13 +2873,14 @@ TAO_ServerRequestInfo_ImplementationRepository_Administration_list::result (ACE_ CORBA::Any *result_any = TAO_RequestInfo_Util::make_any (tk_void_any ACE_ENV_ARG_PARAMETER); ACE_CHECK_RETURN (0); - + return result_any; } char * TAO_ServerRequestInfo_ImplementationRepository_Administration_list::target_most_derived_interface ( - ACE_ENV_SINGLE_ARG_DECL_NOT_USED) + ACE_ENV_SINGLE_ARG_DECL_NOT_USED + ) ACE_THROW_SPEC ((CORBA::SystemException)) { return @@ -2463,7 +2890,8 @@ TAO_ServerRequestInfo_ImplementationRepository_Administration_list::target_most_ CORBA::Boolean TAO_ServerRequestInfo_ImplementationRepository_Administration_list::target_is_a ( const char * id - ACE_ENV_ARG_DECL) + ACE_ENV_ARG_DECL + ) ACE_THROW_SPEC ((CORBA::SystemException)) { return this->_tao_impl->_is_a (id ACE_ENV_ARG_PARAMETER); @@ -2475,6 +2903,9 @@ TAO_ServerRequestInfo_ImplementationRepository_Administration_list::target_is_a // Strategized Proxy Broker Implementation // +// TAO_IDL - Generated from +// be/be_visitor_interface/strategized_proxy_broker_ss.cpp:40 + // Factory function Implementation. POA_ImplementationRepository::_TAO_Administration_Strategized_Proxy_Broker *POA_ImplementationRepository::_TAO_Administration_Strategized_Proxy_Broker::the_TAO_Administration_Strategized_Proxy_Broker (void) { @@ -2485,8 +2916,9 @@ POA_ImplementationRepository::_TAO_Administration_Strategized_Proxy_Broker *POA_ POA_ImplementationRepository::_TAO_Administration_Strategized_Proxy_Broker::_TAO_Administration_Strategized_Proxy_Broker (void) { for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i) - this->proxy_cache_[i] = 0; - + { + this->proxy_cache_[i] = 0; + } } POA_ImplementationRepository::_TAO_Administration_Strategized_Proxy_Broker::~_TAO_Administration_Strategized_Proxy_Broker (void) @@ -2494,12 +2926,11 @@ POA_ImplementationRepository::_TAO_Administration_Strategized_Proxy_Broker::~_TA for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i) { delete this->proxy_cache_[i]; - + // Hack to prevent bug mentioned in 1204. Refer to 1204 // for details.. this->proxy_cache_[i] = 0; } - } ImplementationRepository::_TAO_Administration_Proxy_Impl& @@ -2510,26 +2941,27 @@ POA_ImplementationRepository::_TAO_Administration_Strategized_Proxy_Broker::sele { int strategy = TAO_ORB_Core::collocation_strategy (object ACE_ENV_ARG_PARAMETER); - ACE_CHECK_RETURN (*this->proxy_cache_[strategy]); - + ACE_CHECK_RETURN (*this->proxy_cache_[strategy]); + if (this->proxy_cache_[strategy] != 0) - return *this->proxy_cache_[strategy]; - + { + return *this->proxy_cache_[strategy]; + } + this->create_proxy (strategy ACE_ENV_ARG_PARAMETER); ACE_CHECK_RETURN (*this->proxy_cache_[strategy]); - + return *this->proxy_cache_[strategy]; - } -void +void POA_ImplementationRepository::_TAO_Administration_Strategized_Proxy_Broker::create_proxy ( int strategy ACE_ENV_ARG_DECL ) { ACE_GUARD (TAO_SYNCH_MUTEX, guard, this->mutex_); - + if (this->proxy_cache_[strategy] == 0) { switch (strategy) @@ -2542,7 +2974,7 @@ POA_ImplementationRepository::_TAO_Administration_Strategized_Proxy_Broker::crea ); ACE_CHECK; break; - + case TAO_Collocation_Strategies::CS_DIRECT_STRATEGY: ACE_NEW_THROW_EX ( this->proxy_cache_[strategy], @@ -2551,7 +2983,7 @@ POA_ImplementationRepository::_TAO_Administration_Strategized_Proxy_Broker::crea ); ACE_CHECK; break; - + case TAO_Collocation_Strategies::CS_REMOTE_STRATEGY: default: ACE_NEW_THROW_EX ( @@ -2561,17 +2993,16 @@ POA_ImplementationRepository::_TAO_Administration_Strategized_Proxy_Broker::crea ); ACE_CHECK; break; - - } - - } + } + } } - // // End Strategized Proxy Broker Implementation /////////////////////////////////////////////////////////////////////// +// TAO_IDL - Generated from +// be/be_visitor_interface/interface_ss.cpp:598 ImplementationRepository::_TAO_Administration_Proxy_Broker * ImplementationRepository__TAO_Administration_Proxy_Broker_Factory_function (CORBA::Object_ptr obj) @@ -2583,13 +3014,13 @@ ImplementationRepository__TAO_Administration_Proxy_Broker_Factory_function (CORB int ImplementationRepository__TAO_Administration_Proxy_Broker_Factory_Initializer (long) { - ImplementationRepository__TAO_Administration_Proxy_Broker_Factory_function_pointer = + ImplementationRepository__TAO_Administration_Proxy_Broker_Factory_function_pointer = ImplementationRepository__TAO_Administration_Proxy_Broker_Factory_function; - + return 0; } -static int ImplementationRepository__TAO_Administration_Proxy_Broker_Stub_Factory_Initializer_Scarecrow = +static int ImplementationRepository__TAO_Administration_Proxy_Broker_Stub_Factory_Initializer_Scarecrow = ImplementationRepository__TAO_Administration_Proxy_Broker_Factory_Initializer (ACE_reinterpret_cast (long, ImplementationRepository__TAO_Administration_Proxy_Broker_Factory_Initializer)); @@ -2597,11 +3028,17 @@ static int ImplementationRepository__TAO_Administration_Proxy_Broker_Stub_Factor // ThruPOA Proxy Implementation // +// TAO_IDL - Generated from +// be/be_visitor_interface/thru_poa_proxy_impl_ss.cpp:37 + POA_ImplementationRepository::_TAO_Administration_ThruPOA_Proxy_Impl::_TAO_Administration_ThruPOA_Proxy_Impl (void) {} // ThruPOA Implementation of the IDL interface methods +// TAO_IDL - Generated from +// 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_, const char * server @@ -2613,6 +3050,7 @@ void POA_ImplementationRepository::_TAO_Administration_ThruPOA_Proxy_Impl::activ , ImplementationRepository::CannotActivate )) { + TAO_Object_Adapter::Servant_Upcall servant_upcall ( _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core () ); @@ -2623,20 +3061,28 @@ void POA_ImplementationRepository::_TAO_Administration_ThruPOA_Proxy_Impl::activ forward_to.out () ACE_ENV_ARG_PARAMETER ); - ACE_CHECK; - servant_upcall.pre_invoke_collocated_request (ACE_ENV_SINGLE_ARG_PARAMETER); - ACE_CHECK; + ACE_CHECK; + + servant_upcall.pre_invoke_collocated_request ( + ACE_ENV_SINGLE_ARG_PARAMETER + ); + ACE_CHECK; + ACE_reinterpret_cast ( POA_ImplementationRepository::Administration_ptr, servant_upcall.servant ()->_downcast ( "IDL:ImplementationRepository/Administration:1.0" ) )->activate_server ( - server ACE_ENV_ARG_PARAMETER + + server + ACE_ENV_ARG_PARAMETER ); - return; } +// TAO_IDL - Generated from +// 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_, const char * server, @@ -2661,20 +3107,29 @@ char * POA_ImplementationRepository::_TAO_Administration_ThruPOA_Proxy_Impl::act forward_to.out () ACE_ENV_ARG_PARAMETER ); - ACE_CHECK_RETURN (_tao_retval._retn ()); - servant_upcall.pre_invoke_collocated_request (ACE_ENV_SINGLE_ARG_PARAMETER); - ACE_CHECK_RETURN (_tao_retval._retn ()); + ACE_CHECK_RETURN (_tao_retval._retn ()); + + servant_upcall.pre_invoke_collocated_request ( + ACE_ENV_SINGLE_ARG_PARAMETER + ); + ACE_CHECK_RETURN (_tao_retval._retn ()); + return ACE_reinterpret_cast ( POA_ImplementationRepository::Administration_ptr, servant_upcall.servant ()->_downcast ( "IDL:ImplementationRepository/Administration:1.0" ) )->activate_server_with_startup ( + server, - check_startup ACE_ENV_ARG_PARAMETER + check_startup + ACE_ENV_ARG_PARAMETER ); } +// TAO_IDL - Generated from +// 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_, const char * server, @@ -2686,6 +3141,7 @@ void POA_ImplementationRepository::_TAO_Administration_ThruPOA_Proxy_Impl::regis , ImplementationRepository::AlreadyRegistered )) { + TAO_Object_Adapter::Servant_Upcall servant_upcall ( _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core () ); @@ -2696,21 +3152,29 @@ void POA_ImplementationRepository::_TAO_Administration_ThruPOA_Proxy_Impl::regis forward_to.out () ACE_ENV_ARG_PARAMETER ); - ACE_CHECK; - servant_upcall.pre_invoke_collocated_request (ACE_ENV_SINGLE_ARG_PARAMETER); - ACE_CHECK; + ACE_CHECK; + + servant_upcall.pre_invoke_collocated_request ( + ACE_ENV_SINGLE_ARG_PARAMETER + ); + ACE_CHECK; + ACE_reinterpret_cast ( POA_ImplementationRepository::Administration_ptr, servant_upcall.servant ()->_downcast ( "IDL:ImplementationRepository/Administration:1.0" ) )->register_server ( + server, - options ACE_ENV_ARG_PARAMETER + options + ACE_ENV_ARG_PARAMETER ); - return; } +// TAO_IDL - Generated from +// 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_, const char * server, @@ -2721,6 +3185,7 @@ void POA_ImplementationRepository::_TAO_Administration_ThruPOA_Proxy_Impl::rereg CORBA::SystemException )) { + TAO_Object_Adapter::Servant_Upcall servant_upcall ( _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core () ); @@ -2731,21 +3196,29 @@ void POA_ImplementationRepository::_TAO_Administration_ThruPOA_Proxy_Impl::rereg forward_to.out () ACE_ENV_ARG_PARAMETER ); - ACE_CHECK; - servant_upcall.pre_invoke_collocated_request (ACE_ENV_SINGLE_ARG_PARAMETER); - ACE_CHECK; + ACE_CHECK; + + servant_upcall.pre_invoke_collocated_request ( + ACE_ENV_SINGLE_ARG_PARAMETER + ); + ACE_CHECK; + ACE_reinterpret_cast ( POA_ImplementationRepository::Administration_ptr, servant_upcall.servant ()->_downcast ( "IDL:ImplementationRepository/Administration:1.0" ) )->reregister_server ( + server, - options ACE_ENV_ARG_PARAMETER + options + ACE_ENV_ARG_PARAMETER ); - return; } +// TAO_IDL - Generated from +// 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_, const char * server @@ -2756,6 +3229,7 @@ void POA_ImplementationRepository::_TAO_Administration_ThruPOA_Proxy_Impl::remov , ImplementationRepository::NotFound )) { + TAO_Object_Adapter::Servant_Upcall servant_upcall ( _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core () ); @@ -2766,20 +3240,28 @@ void POA_ImplementationRepository::_TAO_Administration_ThruPOA_Proxy_Impl::remov forward_to.out () ACE_ENV_ARG_PARAMETER ); - ACE_CHECK; - servant_upcall.pre_invoke_collocated_request (ACE_ENV_SINGLE_ARG_PARAMETER); - ACE_CHECK; + ACE_CHECK; + + servant_upcall.pre_invoke_collocated_request ( + ACE_ENV_SINGLE_ARG_PARAMETER + ); + ACE_CHECK; + ACE_reinterpret_cast ( POA_ImplementationRepository::Administration_ptr, servant_upcall.servant ()->_downcast ( "IDL:ImplementationRepository/Administration:1.0" ) )->remove_server ( - server ACE_ENV_ARG_PARAMETER + + server + ACE_ENV_ARG_PARAMETER ); - return; } +// TAO_IDL - Generated from +// 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_, const char * server @@ -2790,6 +3272,7 @@ void POA_ImplementationRepository::_TAO_Administration_ThruPOA_Proxy_Impl::shutd , ImplementationRepository::NotFound )) { + TAO_Object_Adapter::Servant_Upcall servant_upcall ( _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core () ); @@ -2800,20 +3283,28 @@ void POA_ImplementationRepository::_TAO_Administration_ThruPOA_Proxy_Impl::shutd forward_to.out () ACE_ENV_ARG_PARAMETER ); - ACE_CHECK; - servant_upcall.pre_invoke_collocated_request (ACE_ENV_SINGLE_ARG_PARAMETER); - ACE_CHECK; + ACE_CHECK; + + servant_upcall.pre_invoke_collocated_request ( + ACE_ENV_SINGLE_ARG_PARAMETER + ); + ACE_CHECK; + ACE_reinterpret_cast ( POA_ImplementationRepository::Administration_ptr, servant_upcall.servant ()->_downcast ( "IDL:ImplementationRepository/Administration:1.0" ) )->shutdown_server ( - server ACE_ENV_ARG_PARAMETER + + server + ACE_ENV_ARG_PARAMETER ); - return; } +// TAO_IDL - Generated from +// 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_, const char * server, @@ -2838,21 +3329,30 @@ char * POA_ImplementationRepository::_TAO_Administration_ThruPOA_Proxy_Impl::ser forward_to.out () ACE_ENV_ARG_PARAMETER ); - ACE_CHECK_RETURN (_tao_retval._retn ()); - servant_upcall.pre_invoke_collocated_request (ACE_ENV_SINGLE_ARG_PARAMETER); - ACE_CHECK_RETURN (_tao_retval._retn ()); + ACE_CHECK_RETURN (_tao_retval._retn ()); + + servant_upcall.pre_invoke_collocated_request ( + ACE_ENV_SINGLE_ARG_PARAMETER + ); + ACE_CHECK_RETURN (_tao_retval._retn ()); + return ACE_reinterpret_cast ( POA_ImplementationRepository::Administration_ptr, servant_upcall.servant ()->_downcast ( "IDL:ImplementationRepository/Administration:1.0" ) )->server_is_running ( + server, addr, - server_object ACE_ENV_ARG_PARAMETER + server_object + ACE_ENV_ARG_PARAMETER ); } +// TAO_IDL - Generated from +// 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_, const char * server @@ -2863,6 +3363,7 @@ void POA_ImplementationRepository::_TAO_Administration_ThruPOA_Proxy_Impl::serve , ImplementationRepository::NotFound )) { + TAO_Object_Adapter::Servant_Upcall servant_upcall ( _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core () ); @@ -2873,20 +3374,28 @@ void POA_ImplementationRepository::_TAO_Administration_ThruPOA_Proxy_Impl::serve forward_to.out () ACE_ENV_ARG_PARAMETER ); - ACE_CHECK; - servant_upcall.pre_invoke_collocated_request (ACE_ENV_SINGLE_ARG_PARAMETER); - ACE_CHECK; + ACE_CHECK; + + servant_upcall.pre_invoke_collocated_request ( + ACE_ENV_SINGLE_ARG_PARAMETER + ); + ACE_CHECK; + ACE_reinterpret_cast ( POA_ImplementationRepository::Administration_ptr, servant_upcall.servant ()->_downcast ( "IDL:ImplementationRepository/Administration:1.0" ) )->server_is_shutting_down ( - server ACE_ENV_ARG_PARAMETER + + server + ACE_ENV_ARG_PARAMETER ); - return; } +// TAO_IDL - Generated from +// 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_, const char * server, @@ -2898,6 +3407,7 @@ void POA_ImplementationRepository::_TAO_Administration_ThruPOA_Proxy_Impl::find , ImplementationRepository::NotFound )) { + TAO_Object_Adapter::Servant_Upcall servant_upcall ( _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core () ); @@ -2908,21 +3418,29 @@ void POA_ImplementationRepository::_TAO_Administration_ThruPOA_Proxy_Impl::find forward_to.out () ACE_ENV_ARG_PARAMETER ); - ACE_CHECK; - servant_upcall.pre_invoke_collocated_request (ACE_ENV_SINGLE_ARG_PARAMETER); - ACE_CHECK; + ACE_CHECK; + + servant_upcall.pre_invoke_collocated_request ( + ACE_ENV_SINGLE_ARG_PARAMETER + ); + ACE_CHECK; + ACE_reinterpret_cast ( POA_ImplementationRepository::Administration_ptr, servant_upcall.servant ()->_downcast ( "IDL:ImplementationRepository/Administration:1.0" ) )->find ( + server, - info ACE_ENV_ARG_PARAMETER + info + ACE_ENV_ARG_PARAMETER ); - return; } +// TAO_IDL - Generated from +// 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::ULong how_many, @@ -2934,6 +3452,7 @@ void POA_ImplementationRepository::_TAO_Administration_ThruPOA_Proxy_Impl::list CORBA::SystemException )) { + TAO_Object_Adapter::Servant_Upcall servant_upcall ( _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core () ); @@ -2944,27 +3463,28 @@ void POA_ImplementationRepository::_TAO_Administration_ThruPOA_Proxy_Impl::list forward_to.out () ACE_ENV_ARG_PARAMETER ); - ACE_CHECK; - servant_upcall.pre_invoke_collocated_request (ACE_ENV_SINGLE_ARG_PARAMETER); - ACE_CHECK; + ACE_CHECK; + + servant_upcall.pre_invoke_collocated_request ( + ACE_ENV_SINGLE_ARG_PARAMETER + ); + ACE_CHECK; + ACE_reinterpret_cast ( POA_ImplementationRepository::Administration_ptr, servant_upcall.servant ()->_downcast ( "IDL:ImplementationRepository/Administration:1.0" ) )->list ( + how_many, server_list, - server_iterator ACE_ENV_ARG_PARAMETER + server_iterator + ACE_ENV_ARG_PARAMETER ); - return; -} - -// +}// // End ThruPOA Proxy Implementation /////////////////////////////////////////////////////////////////////// - - /////////////////////////////////////////////////////////////////////// // Direct Proxy Implementation // @@ -2981,15 +3501,16 @@ void POA_ImplementationRepository::_TAO_Administration_Direct_Proxy_Impl::activa CORBA::SystemException , ImplementationRepository::NotFound , ImplementationRepository::CannotActivate - )) -{ + )){ ACE_reinterpret_cast ( POA_ImplementationRepository::Administration_ptr, _collocated_tao_target_->_servant ()->_downcast ("IDL:ImplementationRepository/Administration:1.0") )->activate_server ( - server ACE_ENV_ARG_PARAMETER + + server + ACE_ENV_ARG_PARAMETER ); - + } char * POA_ImplementationRepository::_TAO_Administration_Direct_Proxy_Impl::activate_server_with_startup ( @@ -3002,16 +3523,17 @@ char * POA_ImplementationRepository::_TAO_Administration_Direct_Proxy_Impl::acti CORBA::SystemException , ImplementationRepository::NotFound , ImplementationRepository::CannotActivate - )) -{ + )){ return ACE_reinterpret_cast ( POA_ImplementationRepository::Administration_ptr, _collocated_tao_target_->_servant ()->_downcast ("IDL:ImplementationRepository/Administration:1.0") )->activate_server_with_startup ( + server, - check_startup ACE_ENV_ARG_PARAMETER + check_startup + ACE_ENV_ARG_PARAMETER ); - + } void POA_ImplementationRepository::_TAO_Administration_Direct_Proxy_Impl::register_server ( @@ -3023,16 +3545,17 @@ void POA_ImplementationRepository::_TAO_Administration_Direct_Proxy_Impl::regist ACE_THROW_SPEC (( CORBA::SystemException , ImplementationRepository::AlreadyRegistered - )) -{ + )){ ACE_reinterpret_cast ( POA_ImplementationRepository::Administration_ptr, _collocated_tao_target_->_servant ()->_downcast ("IDL:ImplementationRepository/Administration:1.0") )->register_server ( + server, - options ACE_ENV_ARG_PARAMETER + options + ACE_ENV_ARG_PARAMETER ); - + } void POA_ImplementationRepository::_TAO_Administration_Direct_Proxy_Impl::reregister_server ( @@ -3043,16 +3566,17 @@ void POA_ImplementationRepository::_TAO_Administration_Direct_Proxy_Impl::reregi ) ACE_THROW_SPEC (( CORBA::SystemException - )) -{ + )){ ACE_reinterpret_cast ( POA_ImplementationRepository::Administration_ptr, _collocated_tao_target_->_servant ()->_downcast ("IDL:ImplementationRepository/Administration:1.0") )->reregister_server ( + server, - options ACE_ENV_ARG_PARAMETER + options + ACE_ENV_ARG_PARAMETER ); - + } void POA_ImplementationRepository::_TAO_Administration_Direct_Proxy_Impl::remove_server ( @@ -3063,15 +3587,16 @@ void POA_ImplementationRepository::_TAO_Administration_Direct_Proxy_Impl::remove ACE_THROW_SPEC (( CORBA::SystemException , ImplementationRepository::NotFound - )) -{ + )){ ACE_reinterpret_cast ( POA_ImplementationRepository::Administration_ptr, _collocated_tao_target_->_servant ()->_downcast ("IDL:ImplementationRepository/Administration:1.0") )->remove_server ( - server ACE_ENV_ARG_PARAMETER + + server + ACE_ENV_ARG_PARAMETER ); - + } void POA_ImplementationRepository::_TAO_Administration_Direct_Proxy_Impl::shutdown_server ( @@ -3082,15 +3607,16 @@ void POA_ImplementationRepository::_TAO_Administration_Direct_Proxy_Impl::shutdo ACE_THROW_SPEC (( CORBA::SystemException , ImplementationRepository::NotFound - )) -{ + )){ ACE_reinterpret_cast ( POA_ImplementationRepository::Administration_ptr, _collocated_tao_target_->_servant ()->_downcast ("IDL:ImplementationRepository/Administration:1.0") )->shutdown_server ( - server ACE_ENV_ARG_PARAMETER + + server + ACE_ENV_ARG_PARAMETER ); - + } char * POA_ImplementationRepository::_TAO_Administration_Direct_Proxy_Impl::server_is_running ( @@ -3103,17 +3629,18 @@ char * POA_ImplementationRepository::_TAO_Administration_Direct_Proxy_Impl::serv ACE_THROW_SPEC (( CORBA::SystemException , ImplementationRepository::NotFound - )) -{ + )){ return ACE_reinterpret_cast ( POA_ImplementationRepository::Administration_ptr, _collocated_tao_target_->_servant ()->_downcast ("IDL:ImplementationRepository/Administration:1.0") )->server_is_running ( + server, addr, - server_object ACE_ENV_ARG_PARAMETER + server_object + ACE_ENV_ARG_PARAMETER ); - + } void POA_ImplementationRepository::_TAO_Administration_Direct_Proxy_Impl::server_is_shutting_down ( @@ -3124,15 +3651,16 @@ void POA_ImplementationRepository::_TAO_Administration_Direct_Proxy_Impl::server ACE_THROW_SPEC (( CORBA::SystemException , ImplementationRepository::NotFound - )) -{ + )){ ACE_reinterpret_cast ( POA_ImplementationRepository::Administration_ptr, _collocated_tao_target_->_servant ()->_downcast ("IDL:ImplementationRepository/Administration:1.0") )->server_is_shutting_down ( - server ACE_ENV_ARG_PARAMETER + + server + ACE_ENV_ARG_PARAMETER ); - + } void POA_ImplementationRepository::_TAO_Administration_Direct_Proxy_Impl::find ( @@ -3144,16 +3672,17 @@ void POA_ImplementationRepository::_TAO_Administration_Direct_Proxy_Impl::find ACE_THROW_SPEC (( CORBA::SystemException , ImplementationRepository::NotFound - )) -{ + )){ ACE_reinterpret_cast ( POA_ImplementationRepository::Administration_ptr, _collocated_tao_target_->_servant ()->_downcast ("IDL:ImplementationRepository/Administration:1.0") )->find ( + server, - info ACE_ENV_ARG_PARAMETER + info + ACE_ENV_ARG_PARAMETER ); - + } void POA_ImplementationRepository::_TAO_Administration_Direct_Proxy_Impl::list ( @@ -3165,25 +3694,29 @@ void POA_ImplementationRepository::_TAO_Administration_Direct_Proxy_Impl::list ) ACE_THROW_SPEC (( CORBA::SystemException - )) -{ + )){ ACE_reinterpret_cast ( POA_ImplementationRepository::Administration_ptr, _collocated_tao_target_->_servant ()->_downcast ("IDL:ImplementationRepository/Administration:1.0") )->list ( + how_many, server_list, - server_iterator ACE_ENV_ARG_PARAMETER + server_iterator + ACE_ENV_ARG_PARAMETER ); - + } // // End Direct Proxy Implementation /////////////////////////////////////////////////////////////////////// -// TAO_IDL - Generated from -// be/be_visitor_interface/interface_ss.cpp:100 + + +// TAO_IDL - Generated from +// be/be_visitor_interface/interface_ss.cpp:98 + POA_ImplementationRepository::Administration::Administration (void) { this->optable_ = &tao_ImplementationRepository_Administration_optable; @@ -3197,9 +3730,12 @@ POA_ImplementationRepository::Administration::~Administration (void) { } +// TAO_IDL - Generated from +// be/be_visitor_operation/operation_ss.cpp:100 + void POA_ImplementationRepository::Administration::activate_server_skel ( TAO_ServerRequest &_tao_server_request, - void *_tao_object_reference, + void *_tao_servant, void *_tao_servant_upcall ACE_ENV_ARG_DECL ) @@ -3208,54 +3744,67 @@ void POA_ImplementationRepository::Administration::activate_server_skel ( POA_ImplementationRepository::Administration *_tao_impl = ACE_static_cast ( POA_ImplementationRepository::Administration *, - _tao_object_reference + _tao_servant ); _tao_server_request.argument_flag (0); - CORBA::String_var server; + + CORBA::String_var server; + if (!( - (_tao_in >> server.out ()) - )) -ACE_THROW (CORBA::MARSHAL ()); - + (_tao_in >> server.out ()) + )) + ACE_THROW (CORBA::MARSHAL ()); #if (TAO_HAS_INTERCEPTORS == 1) TAO_Object_Adapter::Servant_Upcall *_tao_upcall = ACE_static_cast (TAO_Object_Adapter::Servant_Upcall *, _tao_servant_upcall); - + TAO_ServerRequestInterceptor_Adapter _tao_vfr ( _tao_server_request.orb_core ()->server_request_interceptors (), _tao_server_request.interceptor_count () ); - + TAO_ServerRequestInfo_ImplementationRepository_Administration_activate_server _tao_ri ( _tao_server_request, _tao_upcall, _tao_impl, - server.in () ACE_ENV_ARG_PARAMETER + + server.in () + ACE_ENV_ARG_PARAMETER ); - + ACE_TRY { { TAO_PICurrent_Guard _tao_pi_guard (_tao_ri.server_request (), 1 /* Copy TSC to RSC */); - + _tao_vfr.receive_request (&_tao_ri ACE_ENV_ARG_PARAMETER); ACE_TRY_CHECK; - + + if (!_tao_vfr.location_forwarded ()) + { + #endif /* TAO_HAS_INTERCEPTORS */ - - _tao_impl->activate_server ( - server.in () ACE_ENV_ARG_PARAMETER - ); - TAO_INTERCEPTOR_CHECK; + + _tao_impl->activate_server ( + + server.in () + ACE_ENV_ARG_PARAMETER + ); + TAO_INTERCEPTOR_CHECK; #if (TAO_HAS_INTERCEPTORS == 1) + + } + } + + if (!_tao_vfr.location_forwarded ()) + { + _tao_ri.reply_status (PortableInterceptor::SUCCESSFUL); + _tao_vfr.send_reply (&_tao_ri ACE_ENV_ARG_PARAMETER); + ACE_TRY_CHECK; } - - _tao_ri.reply_status (PortableInterceptor::SUCCESSFUL); - _tao_vfr.send_reply (&_tao_ri ACE_ENV_ARG_PARAMETER); - ACE_TRY_CHECK; } ACE_CATCHANY { @@ -3265,29 +3814,56 @@ ACE_THROW (CORBA::MARSHAL ()); ACE_ENV_ARG_PARAMETER ); ACE_TRY_CHECK; - + PortableInterceptor::ReplyStatus _tao_status = _tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER); ACE_TRY_CHECK; - + if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION || _tao_status == PortableInterceptor::USER_EXCEPTION) - ACE_RE_THROW; + { + ACE_RE_THROW; + } + } + +# if defined (ACE_HAS_EXCEPTIONS) \ + && defined (ACE_HAS_BROKEN_UNEXPECTED_EXCEPTIONS) + ACE_CATCHALL + { + CORBA::UNKNOWN ex; + + _tao_ri.exception (&ex); + _tao_vfr.send_exception ( + &_tao_ri + ACE_ENV_ARG_PARAMETER + ); + ACE_TRY_CHECK; + + PortableInterceptor::ReplyStatus _tao_status = + _tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER); + ACE_TRY_CHECK; + + if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION) + ACE_TRY_THROW (ex); } +# endif /* ACE_HAS_EXCEPTIONS && ACE_HAS_BROKEN_UNEXPECTED_EXCEPTIONS */ + ACE_ENDTRY; ACE_CHECK; #endif /* TAO_HAS_INTERCEPTORS */ - + _tao_server_request.init_reply (); - + // In case _tao_servant_upcall is not used in this function ACE_UNUSED_ARG (_tao_servant_upcall); +} - } +// TAO_IDL - Generated from +// be/be_visitor_operation/operation_ss.cpp:100 void POA_ImplementationRepository::Administration::activate_server_with_startup_skel ( TAO_ServerRequest &_tao_server_request, - void *_tao_object_reference, + void *_tao_servant, void *_tao_servant_upcall ACE_ENV_ARG_DECL ) @@ -3296,61 +3872,75 @@ void POA_ImplementationRepository::Administration::activate_server_with_startup_ POA_ImplementationRepository::Administration *_tao_impl = ACE_static_cast ( POA_ImplementationRepository::Administration *, - _tao_object_reference + _tao_servant ); CORBA::String_var _tao_retval; CORBA::String_var server; CORBA::Long check_startup; + if (!( - (_tao_in >> server.out ()) && - (_tao_in >> check_startup) - )) -ACE_THROW (CORBA::MARSHAL ()); - + (_tao_in >> server.out ()) && + (_tao_in >> check_startup) + )) + ACE_THROW (CORBA::MARSHAL ()); #if (TAO_HAS_INTERCEPTORS == 1) TAO_Object_Adapter::Servant_Upcall *_tao_upcall = ACE_static_cast (TAO_Object_Adapter::Servant_Upcall *, _tao_servant_upcall); - + TAO_ServerRequestInterceptor_Adapter _tao_vfr ( _tao_server_request.orb_core ()->server_request_interceptors (), _tao_server_request.interceptor_count () ); - + TAO_ServerRequestInfo_ImplementationRepository_Administration_activate_server_with_startup _tao_ri ( _tao_server_request, _tao_upcall, _tao_impl, + server.in (), - check_startup ACE_ENV_ARG_PARAMETER + + check_startup + ACE_ENV_ARG_PARAMETER ); - + ACE_TRY { { TAO_PICurrent_Guard _tao_pi_guard (_tao_ri.server_request (), 1 /* Copy TSC to RSC */); - + _tao_vfr.receive_request (&_tao_ri ACE_ENV_ARG_PARAMETER); ACE_TRY_CHECK; - + + if (!_tao_vfr.location_forwarded ()) + { + #endif /* TAO_HAS_INTERCEPTORS */ - _tao_retval = - _tao_impl->activate_server_with_startup ( - server.in (), - check_startup ACE_ENV_ARG_PARAMETER - ); - TAO_INTERCEPTOR_CHECK; + _tao_retval = + _tao_impl->activate_server_with_startup ( + + server.in (), + + check_startup + ACE_ENV_ARG_PARAMETER + ); + TAO_INTERCEPTOR_CHECK; #if (TAO_HAS_INTERCEPTORS == 1) + + } + } + + if (!_tao_vfr.location_forwarded ()) + { + char * _tao_retval_info = _tao_retval._retn (); + _tao_ri.result (_tao_retval_info); + _tao_retval = _tao_retval_info; + _tao_ri.reply_status (PortableInterceptor::SUCCESSFUL); + _tao_vfr.send_reply (&_tao_ri ACE_ENV_ARG_PARAMETER); + ACE_TRY_CHECK; } - - char * _tao_retval_info = _tao_retval._retn (); - _tao_ri.result (_tao_retval_info); - _tao_retval = _tao_retval_info; - _tao_ri.reply_status (PortableInterceptor::SUCCESSFUL); - _tao_vfr.send_reply (&_tao_ri ACE_ENV_ARG_PARAMETER); - ACE_TRY_CHECK; } ACE_CATCHANY { @@ -3360,36 +3950,63 @@ ACE_THROW (CORBA::MARSHAL ()); ACE_ENV_ARG_PARAMETER ); ACE_TRY_CHECK; - + PortableInterceptor::ReplyStatus _tao_status = _tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER); ACE_TRY_CHECK; - + if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION || _tao_status == PortableInterceptor::USER_EXCEPTION) - ACE_RE_THROW; + { + ACE_RE_THROW; + } } + +# if defined (ACE_HAS_EXCEPTIONS) \ + && defined (ACE_HAS_BROKEN_UNEXPECTED_EXCEPTIONS) + ACE_CATCHALL + { + CORBA::UNKNOWN ex; + + _tao_ri.exception (&ex); + _tao_vfr.send_exception ( + &_tao_ri + ACE_ENV_ARG_PARAMETER + ); + ACE_TRY_CHECK; + + PortableInterceptor::ReplyStatus _tao_status = + _tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER); + ACE_TRY_CHECK; + + if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION) + ACE_TRY_THROW (ex); + } +# endif /* ACE_HAS_EXCEPTIONS && ACE_HAS_BROKEN_UNEXPECTED_EXCEPTIONS */ + ACE_ENDTRY; ACE_CHECK; #endif /* TAO_HAS_INTERCEPTORS */ - + _tao_server_request.init_reply (); - + TAO_OutputCDR &_tao_out = _tao_server_request.outgoing (); - + if (!( (_tao_out << _tao_retval.in ()) )) -ACE_THROW (CORBA::MARSHAL ()); - + ACE_THROW (CORBA::MARSHAL ()); + // In case _tao_servant_upcall is not used in this function ACE_UNUSED_ARG (_tao_servant_upcall); +} - } +// TAO_IDL - Generated from +// be/be_visitor_operation/operation_ss.cpp:100 void POA_ImplementationRepository::Administration::register_server_skel ( TAO_ServerRequest &_tao_server_request, - void *_tao_object_reference, + void *_tao_servant, void *_tao_servant_upcall ACE_ENV_ARG_DECL ) @@ -3398,58 +4015,73 @@ void POA_ImplementationRepository::Administration::register_server_skel ( POA_ImplementationRepository::Administration *_tao_impl = ACE_static_cast ( POA_ImplementationRepository::Administration *, - _tao_object_reference + _tao_servant ); _tao_server_request.argument_flag (0); - CORBA::String_var server; + + CORBA::String_var server; ImplementationRepository::StartupOptions options; + if (!( - (_tao_in >> server.out ()) && - (_tao_in >> options) - )) -ACE_THROW (CORBA::MARSHAL ()); - + (_tao_in >> server.out ()) && + (_tao_in >> options) + )) + ACE_THROW (CORBA::MARSHAL ()); #if (TAO_HAS_INTERCEPTORS == 1) TAO_Object_Adapter::Servant_Upcall *_tao_upcall = ACE_static_cast (TAO_Object_Adapter::Servant_Upcall *, _tao_servant_upcall); - + TAO_ServerRequestInterceptor_Adapter _tao_vfr ( _tao_server_request.orb_core ()->server_request_interceptors (), _tao_server_request.interceptor_count () ); - + TAO_ServerRequestInfo_ImplementationRepository_Administration_register_server _tao_ri ( _tao_server_request, _tao_upcall, _tao_impl, + server.in (), - options ACE_ENV_ARG_PARAMETER + + options + ACE_ENV_ARG_PARAMETER ); - + ACE_TRY { { TAO_PICurrent_Guard _tao_pi_guard (_tao_ri.server_request (), 1 /* Copy TSC to RSC */); - + _tao_vfr.receive_request (&_tao_ri ACE_ENV_ARG_PARAMETER); ACE_TRY_CHECK; - + + if (!_tao_vfr.location_forwarded ()) + { + #endif /* TAO_HAS_INTERCEPTORS */ - - _tao_impl->register_server ( - server.in (), - options ACE_ENV_ARG_PARAMETER - ); - TAO_INTERCEPTOR_CHECK; + + _tao_impl->register_server ( + + server.in (), + + options + ACE_ENV_ARG_PARAMETER + ); + TAO_INTERCEPTOR_CHECK; #if (TAO_HAS_INTERCEPTORS == 1) + + } + } + + if (!_tao_vfr.location_forwarded ()) + { + _tao_ri.reply_status (PortableInterceptor::SUCCESSFUL); + _tao_vfr.send_reply (&_tao_ri ACE_ENV_ARG_PARAMETER); + ACE_TRY_CHECK; } - - _tao_ri.reply_status (PortableInterceptor::SUCCESSFUL); - _tao_vfr.send_reply (&_tao_ri ACE_ENV_ARG_PARAMETER); - ACE_TRY_CHECK; } ACE_CATCHANY { @@ -3459,29 +4091,56 @@ ACE_THROW (CORBA::MARSHAL ()); ACE_ENV_ARG_PARAMETER ); ACE_TRY_CHECK; - + PortableInterceptor::ReplyStatus _tao_status = _tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER); ACE_TRY_CHECK; - + if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION || _tao_status == PortableInterceptor::USER_EXCEPTION) - ACE_RE_THROW; + { + ACE_RE_THROW; + } } + +# if defined (ACE_HAS_EXCEPTIONS) \ + && defined (ACE_HAS_BROKEN_UNEXPECTED_EXCEPTIONS) + ACE_CATCHALL + { + CORBA::UNKNOWN ex; + + _tao_ri.exception (&ex); + _tao_vfr.send_exception ( + &_tao_ri + ACE_ENV_ARG_PARAMETER + ); + ACE_TRY_CHECK; + + PortableInterceptor::ReplyStatus _tao_status = + _tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER); + ACE_TRY_CHECK; + + if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION) + ACE_TRY_THROW (ex); + } +# endif /* ACE_HAS_EXCEPTIONS && ACE_HAS_BROKEN_UNEXPECTED_EXCEPTIONS */ + ACE_ENDTRY; ACE_CHECK; #endif /* TAO_HAS_INTERCEPTORS */ - + _tao_server_request.init_reply (); - + // In case _tao_servant_upcall is not used in this function ACE_UNUSED_ARG (_tao_servant_upcall); +} - } +// TAO_IDL - Generated from +// be/be_visitor_operation/operation_ss.cpp:100 void POA_ImplementationRepository::Administration::reregister_server_skel ( TAO_ServerRequest &_tao_server_request, - void *_tao_object_reference, + void *_tao_servant, void *_tao_servant_upcall ACE_ENV_ARG_DECL ) @@ -3490,58 +4149,73 @@ void POA_ImplementationRepository::Administration::reregister_server_skel ( POA_ImplementationRepository::Administration *_tao_impl = ACE_static_cast ( POA_ImplementationRepository::Administration *, - _tao_object_reference + _tao_servant ); _tao_server_request.argument_flag (0); - CORBA::String_var server; + + CORBA::String_var server; ImplementationRepository::StartupOptions options; + if (!( - (_tao_in >> server.out ()) && - (_tao_in >> options) - )) -ACE_THROW (CORBA::MARSHAL ()); - + (_tao_in >> server.out ()) && + (_tao_in >> options) + )) + ACE_THROW (CORBA::MARSHAL ()); #if (TAO_HAS_INTERCEPTORS == 1) TAO_Object_Adapter::Servant_Upcall *_tao_upcall = ACE_static_cast (TAO_Object_Adapter::Servant_Upcall *, _tao_servant_upcall); - + TAO_ServerRequestInterceptor_Adapter _tao_vfr ( _tao_server_request.orb_core ()->server_request_interceptors (), _tao_server_request.interceptor_count () ); - + TAO_ServerRequestInfo_ImplementationRepository_Administration_reregister_server _tao_ri ( _tao_server_request, _tao_upcall, _tao_impl, + server.in (), - options ACE_ENV_ARG_PARAMETER + + options + ACE_ENV_ARG_PARAMETER ); - + ACE_TRY { { TAO_PICurrent_Guard _tao_pi_guard (_tao_ri.server_request (), 1 /* Copy TSC to RSC */); - + _tao_vfr.receive_request (&_tao_ri ACE_ENV_ARG_PARAMETER); ACE_TRY_CHECK; - + + if (!_tao_vfr.location_forwarded ()) + { + #endif /* TAO_HAS_INTERCEPTORS */ - - _tao_impl->reregister_server ( - server.in (), - options ACE_ENV_ARG_PARAMETER - ); - TAO_INTERCEPTOR_CHECK; + + _tao_impl->reregister_server ( + + server.in (), + + options + ACE_ENV_ARG_PARAMETER + ); + TAO_INTERCEPTOR_CHECK; #if (TAO_HAS_INTERCEPTORS == 1) + + } + } + + if (!_tao_vfr.location_forwarded ()) + { + _tao_ri.reply_status (PortableInterceptor::SUCCESSFUL); + _tao_vfr.send_reply (&_tao_ri ACE_ENV_ARG_PARAMETER); + ACE_TRY_CHECK; } - - _tao_ri.reply_status (PortableInterceptor::SUCCESSFUL); - _tao_vfr.send_reply (&_tao_ri ACE_ENV_ARG_PARAMETER); - ACE_TRY_CHECK; } ACE_CATCHANY { @@ -3551,29 +4225,56 @@ ACE_THROW (CORBA::MARSHAL ()); ACE_ENV_ARG_PARAMETER ); ACE_TRY_CHECK; - + PortableInterceptor::ReplyStatus _tao_status = _tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER); ACE_TRY_CHECK; - + if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION || _tao_status == PortableInterceptor::USER_EXCEPTION) - ACE_RE_THROW; + { + ACE_RE_THROW; + } + } + +# if defined (ACE_HAS_EXCEPTIONS) \ + && defined (ACE_HAS_BROKEN_UNEXPECTED_EXCEPTIONS) + ACE_CATCHALL + { + CORBA::UNKNOWN ex; + + _tao_ri.exception (&ex); + _tao_vfr.send_exception ( + &_tao_ri + ACE_ENV_ARG_PARAMETER + ); + ACE_TRY_CHECK; + + PortableInterceptor::ReplyStatus _tao_status = + _tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER); + ACE_TRY_CHECK; + + if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION) + ACE_TRY_THROW (ex); } +# endif /* ACE_HAS_EXCEPTIONS && ACE_HAS_BROKEN_UNEXPECTED_EXCEPTIONS */ + ACE_ENDTRY; ACE_CHECK; #endif /* TAO_HAS_INTERCEPTORS */ - + _tao_server_request.init_reply (); - + // In case _tao_servant_upcall is not used in this function ACE_UNUSED_ARG (_tao_servant_upcall); +} - } +// TAO_IDL - Generated from +// be/be_visitor_operation/operation_ss.cpp:100 void POA_ImplementationRepository::Administration::remove_server_skel ( TAO_ServerRequest &_tao_server_request, - void *_tao_object_reference, + void *_tao_servant, void *_tao_servant_upcall ACE_ENV_ARG_DECL ) @@ -3582,54 +4283,67 @@ void POA_ImplementationRepository::Administration::remove_server_skel ( POA_ImplementationRepository::Administration *_tao_impl = ACE_static_cast ( POA_ImplementationRepository::Administration *, - _tao_object_reference + _tao_servant ); _tao_server_request.argument_flag (0); - CORBA::String_var server; + + CORBA::String_var server; + if (!( - (_tao_in >> server.out ()) - )) -ACE_THROW (CORBA::MARSHAL ()); - + (_tao_in >> server.out ()) + )) + ACE_THROW (CORBA::MARSHAL ()); #if (TAO_HAS_INTERCEPTORS == 1) TAO_Object_Adapter::Servant_Upcall *_tao_upcall = ACE_static_cast (TAO_Object_Adapter::Servant_Upcall *, _tao_servant_upcall); - + TAO_ServerRequestInterceptor_Adapter _tao_vfr ( _tao_server_request.orb_core ()->server_request_interceptors (), _tao_server_request.interceptor_count () ); - + TAO_ServerRequestInfo_ImplementationRepository_Administration_remove_server _tao_ri ( _tao_server_request, _tao_upcall, _tao_impl, - server.in () ACE_ENV_ARG_PARAMETER + + server.in () + ACE_ENV_ARG_PARAMETER ); - + ACE_TRY { { TAO_PICurrent_Guard _tao_pi_guard (_tao_ri.server_request (), 1 /* Copy TSC to RSC */); - + _tao_vfr.receive_request (&_tao_ri ACE_ENV_ARG_PARAMETER); ACE_TRY_CHECK; - + + if (!_tao_vfr.location_forwarded ()) + { + #endif /* TAO_HAS_INTERCEPTORS */ - - _tao_impl->remove_server ( - server.in () ACE_ENV_ARG_PARAMETER - ); - TAO_INTERCEPTOR_CHECK; + + _tao_impl->remove_server ( + + server.in () + ACE_ENV_ARG_PARAMETER + ); + TAO_INTERCEPTOR_CHECK; #if (TAO_HAS_INTERCEPTORS == 1) + + } + } + + if (!_tao_vfr.location_forwarded ()) + { + _tao_ri.reply_status (PortableInterceptor::SUCCESSFUL); + _tao_vfr.send_reply (&_tao_ri ACE_ENV_ARG_PARAMETER); + ACE_TRY_CHECK; } - - _tao_ri.reply_status (PortableInterceptor::SUCCESSFUL); - _tao_vfr.send_reply (&_tao_ri ACE_ENV_ARG_PARAMETER); - ACE_TRY_CHECK; } ACE_CATCHANY { @@ -3639,29 +4353,56 @@ ACE_THROW (CORBA::MARSHAL ()); ACE_ENV_ARG_PARAMETER ); ACE_TRY_CHECK; - + PortableInterceptor::ReplyStatus _tao_status = _tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER); ACE_TRY_CHECK; - + if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION || _tao_status == PortableInterceptor::USER_EXCEPTION) - ACE_RE_THROW; + { + ACE_RE_THROW; + } } + +# if defined (ACE_HAS_EXCEPTIONS) \ + && defined (ACE_HAS_BROKEN_UNEXPECTED_EXCEPTIONS) + ACE_CATCHALL + { + CORBA::UNKNOWN ex; + + _tao_ri.exception (&ex); + _tao_vfr.send_exception ( + &_tao_ri + ACE_ENV_ARG_PARAMETER + ); + ACE_TRY_CHECK; + + PortableInterceptor::ReplyStatus _tao_status = + _tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER); + ACE_TRY_CHECK; + + if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION) + ACE_TRY_THROW (ex); + } +# endif /* ACE_HAS_EXCEPTIONS && ACE_HAS_BROKEN_UNEXPECTED_EXCEPTIONS */ + ACE_ENDTRY; ACE_CHECK; #endif /* TAO_HAS_INTERCEPTORS */ - + _tao_server_request.init_reply (); - + // In case _tao_servant_upcall is not used in this function ACE_UNUSED_ARG (_tao_servant_upcall); +} - } +// TAO_IDL - Generated from +// be/be_visitor_operation/operation_ss.cpp:100 void POA_ImplementationRepository::Administration::shutdown_server_skel ( TAO_ServerRequest &_tao_server_request, - void *_tao_object_reference, + void *_tao_servant, void *_tao_servant_upcall ACE_ENV_ARG_DECL ) @@ -3670,54 +4411,67 @@ void POA_ImplementationRepository::Administration::shutdown_server_skel ( POA_ImplementationRepository::Administration *_tao_impl = ACE_static_cast ( POA_ImplementationRepository::Administration *, - _tao_object_reference + _tao_servant ); _tao_server_request.argument_flag (0); - CORBA::String_var server; + + CORBA::String_var server; + if (!( - (_tao_in >> server.out ()) - )) -ACE_THROW (CORBA::MARSHAL ()); - + (_tao_in >> server.out ()) + )) + ACE_THROW (CORBA::MARSHAL ()); #if (TAO_HAS_INTERCEPTORS == 1) TAO_Object_Adapter::Servant_Upcall *_tao_upcall = ACE_static_cast (TAO_Object_Adapter::Servant_Upcall *, _tao_servant_upcall); - + TAO_ServerRequestInterceptor_Adapter _tao_vfr ( _tao_server_request.orb_core ()->server_request_interceptors (), _tao_server_request.interceptor_count () ); - + TAO_ServerRequestInfo_ImplementationRepository_Administration_shutdown_server _tao_ri ( _tao_server_request, _tao_upcall, _tao_impl, - server.in () ACE_ENV_ARG_PARAMETER + + server.in () + ACE_ENV_ARG_PARAMETER ); - + ACE_TRY { { TAO_PICurrent_Guard _tao_pi_guard (_tao_ri.server_request (), 1 /* Copy TSC to RSC */); - + _tao_vfr.receive_request (&_tao_ri ACE_ENV_ARG_PARAMETER); ACE_TRY_CHECK; - + + if (!_tao_vfr.location_forwarded ()) + { + #endif /* TAO_HAS_INTERCEPTORS */ - - _tao_impl->shutdown_server ( - server.in () ACE_ENV_ARG_PARAMETER - ); - TAO_INTERCEPTOR_CHECK; + + _tao_impl->shutdown_server ( + + server.in () + ACE_ENV_ARG_PARAMETER + ); + TAO_INTERCEPTOR_CHECK; #if (TAO_HAS_INTERCEPTORS == 1) + + } + } + + if (!_tao_vfr.location_forwarded ()) + { + _tao_ri.reply_status (PortableInterceptor::SUCCESSFUL); + _tao_vfr.send_reply (&_tao_ri ACE_ENV_ARG_PARAMETER); + ACE_TRY_CHECK; } - - _tao_ri.reply_status (PortableInterceptor::SUCCESSFUL); - _tao_vfr.send_reply (&_tao_ri ACE_ENV_ARG_PARAMETER); - ACE_TRY_CHECK; } ACE_CATCHANY { @@ -3727,29 +4481,56 @@ ACE_THROW (CORBA::MARSHAL ()); ACE_ENV_ARG_PARAMETER ); ACE_TRY_CHECK; - + PortableInterceptor::ReplyStatus _tao_status = _tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER); ACE_TRY_CHECK; - + if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION || _tao_status == PortableInterceptor::USER_EXCEPTION) - ACE_RE_THROW; + { + ACE_RE_THROW; + } } + +# if defined (ACE_HAS_EXCEPTIONS) \ + && defined (ACE_HAS_BROKEN_UNEXPECTED_EXCEPTIONS) + ACE_CATCHALL + { + CORBA::UNKNOWN ex; + + _tao_ri.exception (&ex); + _tao_vfr.send_exception ( + &_tao_ri + ACE_ENV_ARG_PARAMETER + ); + ACE_TRY_CHECK; + + PortableInterceptor::ReplyStatus _tao_status = + _tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER); + ACE_TRY_CHECK; + + if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION) + ACE_TRY_THROW (ex); + } +# endif /* ACE_HAS_EXCEPTIONS && ACE_HAS_BROKEN_UNEXPECTED_EXCEPTIONS */ + ACE_ENDTRY; ACE_CHECK; #endif /* TAO_HAS_INTERCEPTORS */ - + _tao_server_request.init_reply (); - + // In case _tao_servant_upcall is not used in this function ACE_UNUSED_ARG (_tao_servant_upcall); +} - } +// TAO_IDL - Generated from +// be/be_visitor_operation/operation_ss.cpp:100 void POA_ImplementationRepository::Administration::server_is_running_skel ( TAO_ServerRequest &_tao_server_request, - void *_tao_object_reference, + void *_tao_servant, void *_tao_servant_upcall ACE_ENV_ARG_DECL ) @@ -3758,65 +4539,81 @@ void POA_ImplementationRepository::Administration::server_is_running_skel ( POA_ImplementationRepository::Administration *_tao_impl = ACE_static_cast ( POA_ImplementationRepository::Administration *, - _tao_object_reference + _tao_servant ); CORBA::String_var _tao_retval; CORBA::String_var server; CORBA::String_var addr; ImplementationRepository::ServerObject_var server_object; + if (!( - (_tao_in >> server.out ()) && - (_tao_in >> addr.out ()) && - (_tao_in >> server_object.out ()) - )) -ACE_THROW (CORBA::MARSHAL ()); - + (_tao_in >> server.out ()) && + (_tao_in >> addr.out ()) && + (_tao_in >> server_object.out ()) + )) + ACE_THROW (CORBA::MARSHAL ()); #if (TAO_HAS_INTERCEPTORS == 1) TAO_Object_Adapter::Servant_Upcall *_tao_upcall = ACE_static_cast (TAO_Object_Adapter::Servant_Upcall *, _tao_servant_upcall); - + TAO_ServerRequestInterceptor_Adapter _tao_vfr ( _tao_server_request.orb_core ()->server_request_interceptors (), _tao_server_request.interceptor_count () ); - + TAO_ServerRequestInfo_ImplementationRepository_Administration_server_is_running _tao_ri ( _tao_server_request, _tao_upcall, _tao_impl, + server.in (), + addr.in (), - server_object.in () ACE_ENV_ARG_PARAMETER + + server_object.in () + ACE_ENV_ARG_PARAMETER ); - + ACE_TRY { { TAO_PICurrent_Guard _tao_pi_guard (_tao_ri.server_request (), 1 /* Copy TSC to RSC */); - + _tao_vfr.receive_request (&_tao_ri ACE_ENV_ARG_PARAMETER); ACE_TRY_CHECK; - + + if (!_tao_vfr.location_forwarded ()) + { + #endif /* TAO_HAS_INTERCEPTORS */ - _tao_retval = - _tao_impl->server_is_running ( - server.in (), - addr.in (), - server_object.in () ACE_ENV_ARG_PARAMETER - ); - TAO_INTERCEPTOR_CHECK; + _tao_retval = + _tao_impl->server_is_running ( + + server.in (), + + addr.in (), + + server_object.in () + ACE_ENV_ARG_PARAMETER + ); + TAO_INTERCEPTOR_CHECK; #if (TAO_HAS_INTERCEPTORS == 1) + + } + } + + if (!_tao_vfr.location_forwarded ()) + { + char * _tao_retval_info = _tao_retval._retn (); + _tao_ri.result (_tao_retval_info); + _tao_retval = _tao_retval_info; + _tao_ri.reply_status (PortableInterceptor::SUCCESSFUL); + _tao_vfr.send_reply (&_tao_ri ACE_ENV_ARG_PARAMETER); + ACE_TRY_CHECK; } - - char * _tao_retval_info = _tao_retval._retn (); - _tao_ri.result (_tao_retval_info); - _tao_retval = _tao_retval_info; - _tao_ri.reply_status (PortableInterceptor::SUCCESSFUL); - _tao_vfr.send_reply (&_tao_ri ACE_ENV_ARG_PARAMETER); - ACE_TRY_CHECK; } ACE_CATCHANY { @@ -3826,36 +4623,63 @@ ACE_THROW (CORBA::MARSHAL ()); ACE_ENV_ARG_PARAMETER ); ACE_TRY_CHECK; - + PortableInterceptor::ReplyStatus _tao_status = _tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER); ACE_TRY_CHECK; - + if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION || _tao_status == PortableInterceptor::USER_EXCEPTION) - ACE_RE_THROW; + { + ACE_RE_THROW; + } } + +# if defined (ACE_HAS_EXCEPTIONS) \ + && defined (ACE_HAS_BROKEN_UNEXPECTED_EXCEPTIONS) + ACE_CATCHALL + { + CORBA::UNKNOWN ex; + + _tao_ri.exception (&ex); + _tao_vfr.send_exception ( + &_tao_ri + ACE_ENV_ARG_PARAMETER + ); + ACE_TRY_CHECK; + + PortableInterceptor::ReplyStatus _tao_status = + _tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER); + ACE_TRY_CHECK; + + if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION) + ACE_TRY_THROW (ex); + } +# endif /* ACE_HAS_EXCEPTIONS && ACE_HAS_BROKEN_UNEXPECTED_EXCEPTIONS */ + ACE_ENDTRY; ACE_CHECK; #endif /* TAO_HAS_INTERCEPTORS */ - + _tao_server_request.init_reply (); - + TAO_OutputCDR &_tao_out = _tao_server_request.outgoing (); - + if (!( (_tao_out << _tao_retval.in ()) )) -ACE_THROW (CORBA::MARSHAL ()); - + ACE_THROW (CORBA::MARSHAL ()); + // In case _tao_servant_upcall is not used in this function ACE_UNUSED_ARG (_tao_servant_upcall); +} - } +// TAO_IDL - Generated from +// be/be_visitor_operation/operation_ss.cpp:100 void POA_ImplementationRepository::Administration::server_is_shutting_down_skel ( TAO_ServerRequest &_tao_server_request, - void *_tao_object_reference, + void *_tao_servant, void *_tao_servant_upcall ACE_ENV_ARG_DECL ) @@ -3864,54 +4688,67 @@ void POA_ImplementationRepository::Administration::server_is_shutting_down_skel POA_ImplementationRepository::Administration *_tao_impl = ACE_static_cast ( POA_ImplementationRepository::Administration *, - _tao_object_reference + _tao_servant ); _tao_server_request.argument_flag (0); - CORBA::String_var server; + + CORBA::String_var server; + if (!( - (_tao_in >> server.out ()) - )) -ACE_THROW (CORBA::MARSHAL ()); - + (_tao_in >> server.out ()) + )) + ACE_THROW (CORBA::MARSHAL ()); #if (TAO_HAS_INTERCEPTORS == 1) TAO_Object_Adapter::Servant_Upcall *_tao_upcall = ACE_static_cast (TAO_Object_Adapter::Servant_Upcall *, _tao_servant_upcall); - + TAO_ServerRequestInterceptor_Adapter _tao_vfr ( _tao_server_request.orb_core ()->server_request_interceptors (), _tao_server_request.interceptor_count () ); - + TAO_ServerRequestInfo_ImplementationRepository_Administration_server_is_shutting_down _tao_ri ( _tao_server_request, _tao_upcall, _tao_impl, - server.in () ACE_ENV_ARG_PARAMETER + + server.in () + ACE_ENV_ARG_PARAMETER ); - + ACE_TRY { { TAO_PICurrent_Guard _tao_pi_guard (_tao_ri.server_request (), 1 /* Copy TSC to RSC */); - + _tao_vfr.receive_request (&_tao_ri ACE_ENV_ARG_PARAMETER); ACE_TRY_CHECK; - + + if (!_tao_vfr.location_forwarded ()) + { + #endif /* TAO_HAS_INTERCEPTORS */ - - _tao_impl->server_is_shutting_down ( - server.in () ACE_ENV_ARG_PARAMETER - ); - TAO_INTERCEPTOR_CHECK; + + _tao_impl->server_is_shutting_down ( + + server.in () + ACE_ENV_ARG_PARAMETER + ); + TAO_INTERCEPTOR_CHECK; #if (TAO_HAS_INTERCEPTORS == 1) + + } + } + + if (!_tao_vfr.location_forwarded ()) + { + _tao_ri.reply_status (PortableInterceptor::SUCCESSFUL); + _tao_vfr.send_reply (&_tao_ri ACE_ENV_ARG_PARAMETER); + ACE_TRY_CHECK; } - - _tao_ri.reply_status (PortableInterceptor::SUCCESSFUL); - _tao_vfr.send_reply (&_tao_ri ACE_ENV_ARG_PARAMETER); - ACE_TRY_CHECK; } ACE_CATCHANY { @@ -3921,29 +4758,56 @@ ACE_THROW (CORBA::MARSHAL ()); ACE_ENV_ARG_PARAMETER ); ACE_TRY_CHECK; - + PortableInterceptor::ReplyStatus _tao_status = _tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER); ACE_TRY_CHECK; - + if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION || _tao_status == PortableInterceptor::USER_EXCEPTION) - ACE_RE_THROW; + { + ACE_RE_THROW; + } } + +# if defined (ACE_HAS_EXCEPTIONS) \ + && defined (ACE_HAS_BROKEN_UNEXPECTED_EXCEPTIONS) + ACE_CATCHALL + { + CORBA::UNKNOWN ex; + + _tao_ri.exception (&ex); + _tao_vfr.send_exception ( + &_tao_ri + ACE_ENV_ARG_PARAMETER + ); + ACE_TRY_CHECK; + + PortableInterceptor::ReplyStatus _tao_status = + _tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER); + ACE_TRY_CHECK; + + if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION) + ACE_TRY_THROW (ex); + } +# endif /* ACE_HAS_EXCEPTIONS && ACE_HAS_BROKEN_UNEXPECTED_EXCEPTIONS */ + ACE_ENDTRY; ACE_CHECK; #endif /* TAO_HAS_INTERCEPTORS */ - + _tao_server_request.init_reply (); - + // In case _tao_servant_upcall is not used in this function ACE_UNUSED_ARG (_tao_servant_upcall); +} - } +// TAO_IDL - Generated from +// be/be_visitor_operation/operation_ss.cpp:100 void POA_ImplementationRepository::Administration::find_skel ( TAO_ServerRequest &_tao_server_request, - void *_tao_object_reference, + void *_tao_servant, void *_tao_servant_upcall ACE_ENV_ARG_DECL ) @@ -3952,55 +4816,69 @@ void POA_ImplementationRepository::Administration::find_skel ( POA_ImplementationRepository::Administration *_tao_impl = ACE_static_cast ( POA_ImplementationRepository::Administration *, - _tao_object_reference + _tao_servant ); - CORBA::String_var server; + + CORBA::String_var server; ImplementationRepository::ServerInformation_var info; + if (!( - (_tao_in >> server.out ()) - )) -ACE_THROW (CORBA::MARSHAL ()); - + (_tao_in >> server.out ()) + )) + ACE_THROW (CORBA::MARSHAL ()); #if (TAO_HAS_INTERCEPTORS == 1) TAO_Object_Adapter::Servant_Upcall *_tao_upcall = ACE_static_cast (TAO_Object_Adapter::Servant_Upcall *, _tao_servant_upcall); - + TAO_ServerRequestInterceptor_Adapter _tao_vfr ( _tao_server_request.orb_core ()->server_request_interceptors (), _tao_server_request.interceptor_count () ); - + TAO_ServerRequestInfo_ImplementationRepository_Administration_find _tao_ri ( _tao_server_request, _tao_upcall, _tao_impl, - server.in () ACE_ENV_ARG_PARAMETER + + server.in () + ACE_ENV_ARG_PARAMETER ); - + ACE_TRY { { TAO_PICurrent_Guard _tao_pi_guard (_tao_ri.server_request (), 1 /* Copy TSC to RSC */); - + _tao_vfr.receive_request (&_tao_ri ACE_ENV_ARG_PARAMETER); ACE_TRY_CHECK; - + + if (!_tao_vfr.location_forwarded ()) + { + #endif /* TAO_HAS_INTERCEPTORS */ - - _tao_impl->find ( - server.in (), - info.out () ACE_ENV_ARG_PARAMETER - ); - TAO_INTERCEPTOR_CHECK; + + _tao_impl->find ( + + server.in (), + + info.out () + ACE_ENV_ARG_PARAMETER + ); + TAO_INTERCEPTOR_CHECK; #if (TAO_HAS_INTERCEPTORS == 1) + + } + } + + if (!_tao_vfr.location_forwarded ()) + { + _tao_ri.reply_status (PortableInterceptor::SUCCESSFUL); + _tao_vfr.send_reply (&_tao_ri ACE_ENV_ARG_PARAMETER); + ACE_TRY_CHECK; } - - _tao_ri.reply_status (PortableInterceptor::SUCCESSFUL); - _tao_vfr.send_reply (&_tao_ri ACE_ENV_ARG_PARAMETER); - ACE_TRY_CHECK; } ACE_CATCHANY { @@ -4010,36 +4888,63 @@ ACE_THROW (CORBA::MARSHAL ()); ACE_ENV_ARG_PARAMETER ); ACE_TRY_CHECK; - + PortableInterceptor::ReplyStatus _tao_status = _tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER); ACE_TRY_CHECK; - + if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION || _tao_status == PortableInterceptor::USER_EXCEPTION) - ACE_RE_THROW; + { + ACE_RE_THROW; + } + } + +# if defined (ACE_HAS_EXCEPTIONS) \ + && defined (ACE_HAS_BROKEN_UNEXPECTED_EXCEPTIONS) + ACE_CATCHALL + { + CORBA::UNKNOWN ex; + + _tao_ri.exception (&ex); + _tao_vfr.send_exception ( + &_tao_ri + ACE_ENV_ARG_PARAMETER + ); + ACE_TRY_CHECK; + + PortableInterceptor::ReplyStatus _tao_status = + _tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER); + ACE_TRY_CHECK; + + if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION) + ACE_TRY_THROW (ex); } +# endif /* ACE_HAS_EXCEPTIONS && ACE_HAS_BROKEN_UNEXPECTED_EXCEPTIONS */ + ACE_ENDTRY; ACE_CHECK; #endif /* TAO_HAS_INTERCEPTORS */ - + _tao_server_request.init_reply (); - + TAO_OutputCDR &_tao_out = _tao_server_request.outgoing (); - + if (!( (_tao_out << info.in ()) )) -ACE_THROW (CORBA::MARSHAL ()); - + ACE_THROW (CORBA::MARSHAL ()); + // In case _tao_servant_upcall is not used in this function ACE_UNUSED_ARG (_tao_servant_upcall); +} - } +// TAO_IDL - Generated from +// be/be_visitor_operation/operation_ss.cpp:100 void POA_ImplementationRepository::Administration::list_skel ( TAO_ServerRequest &_tao_server_request, - void *_tao_object_reference, + void *_tao_servant, void *_tao_servant_upcall ACE_ENV_ARG_DECL ) @@ -4048,58 +4953,74 @@ void POA_ImplementationRepository::Administration::list_skel ( POA_ImplementationRepository::Administration *_tao_impl = ACE_static_cast ( POA_ImplementationRepository::Administration *, - _tao_object_reference + _tao_servant ); - CORBA::ULong how_many; + + CORBA::ULong how_many; ImplementationRepository::ServerInformationList_var server_list; - ImplementationRepository::ServerInformationIterator_var server_iterator; + + ImplementationRepository::ServerInformationIterator_var server_iterator; + if (!( - (_tao_in >> how_many) - )) -ACE_THROW (CORBA::MARSHAL ()); - + (_tao_in >> how_many) + )) + ACE_THROW (CORBA::MARSHAL ()); #if (TAO_HAS_INTERCEPTORS == 1) TAO_Object_Adapter::Servant_Upcall *_tao_upcall = ACE_static_cast (TAO_Object_Adapter::Servant_Upcall *, _tao_servant_upcall); - + TAO_ServerRequestInterceptor_Adapter _tao_vfr ( _tao_server_request.orb_core ()->server_request_interceptors (), _tao_server_request.interceptor_count () ); - + TAO_ServerRequestInfo_ImplementationRepository_Administration_list _tao_ri ( _tao_server_request, _tao_upcall, _tao_impl, - how_many - ACE_ENV_ARG_PARAMETER - ); + + how_many + ACE_ENV_ARG_PARAMETER + ); + ACE_TRY { { TAO_PICurrent_Guard _tao_pi_guard (_tao_ri.server_request (), 1 /* Copy TSC to RSC */); - + _tao_vfr.receive_request (&_tao_ri ACE_ENV_ARG_PARAMETER); ACE_TRY_CHECK; - + + if (!_tao_vfr.location_forwarded ()) + { + #endif /* TAO_HAS_INTERCEPTORS */ - - _tao_impl->list ( - how_many, - server_list.out (), - server_iterator.out () ACE_ENV_ARG_PARAMETER - ); - TAO_INTERCEPTOR_CHECK; + + _tao_impl->list ( + + how_many, + + server_list.out (), + + server_iterator.out () + ACE_ENV_ARG_PARAMETER + ); + TAO_INTERCEPTOR_CHECK; #if (TAO_HAS_INTERCEPTORS == 1) + + } + } + + if (!_tao_vfr.location_forwarded ()) + { + _tao_ri.reply_status (PortableInterceptor::SUCCESSFUL); + _tao_vfr.send_reply (&_tao_ri ACE_ENV_ARG_PARAMETER); + ACE_TRY_CHECK; } - - _tao_ri.reply_status (PortableInterceptor::SUCCESSFUL); - _tao_vfr.send_reply (&_tao_ri ACE_ENV_ARG_PARAMETER); - ACE_TRY_CHECK; } ACE_CATCHANY { @@ -4109,106 +5030,136 @@ ACE_THROW (CORBA::MARSHAL ()); ACE_ENV_ARG_PARAMETER ); ACE_TRY_CHECK; - + PortableInterceptor::ReplyStatus _tao_status = _tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER); ACE_TRY_CHECK; - + if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION || _tao_status == PortableInterceptor::USER_EXCEPTION) - ACE_RE_THROW; + { + ACE_RE_THROW; + } } + +# if defined (ACE_HAS_EXCEPTIONS) \ + && defined (ACE_HAS_BROKEN_UNEXPECTED_EXCEPTIONS) + ACE_CATCHALL + { + CORBA::UNKNOWN ex; + + _tao_ri.exception (&ex); + _tao_vfr.send_exception ( + &_tao_ri + ACE_ENV_ARG_PARAMETER + ); + ACE_TRY_CHECK; + + PortableInterceptor::ReplyStatus _tao_status = + _tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER); + ACE_TRY_CHECK; + + if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION) + ACE_TRY_THROW (ex); + } +# endif /* ACE_HAS_EXCEPTIONS && ACE_HAS_BROKEN_UNEXPECTED_EXCEPTIONS */ + ACE_ENDTRY; ACE_CHECK; #endif /* TAO_HAS_INTERCEPTORS */ - + _tao_server_request.init_reply (); - + TAO_OutputCDR &_tao_out = _tao_server_request.outgoing (); - + if (!( (_tao_out << server_list.in ()) && (_tao_out << server_iterator.in ()) )) -ACE_THROW (CORBA::MARSHAL ()); - + ACE_THROW (CORBA::MARSHAL ()); + // In case _tao_servant_upcall is not used in this function ACE_UNUSED_ARG (_tao_servant_upcall); +} - } +// TAO_IDL - Generated from +// be/be_visitor_interface/interface_ss.cpp:163 void POA_ImplementationRepository::Administration::_is_a_skel ( - TAO_ServerRequest &_tao_server_request, - void * _tao_object_reference, + TAO_ServerRequest &_tao_server_request, + void * _tao_servant, void * /* Servant_Upcall */ ACE_ENV_ARG_DECL ) { TAO_InputCDR &_tao_in = _tao_server_request.incoming (); - POA_ImplementationRepository::Administration *_tao_impl = (POA_ImplementationRepository::Administration *) _tao_object_reference; + POA_ImplementationRepository::Administration *_tao_impl = (POA_ImplementationRepository::Administration *) _tao_servant; CORBA::Boolean _tao_retval = 0; CORBA::String_var value; + if (!(_tao_in >> value.out ())) ACE_THROW (CORBA::MARSHAL ()); - + _tao_retval = _tao_impl->_is_a (value.in () ACE_ENV_ARG_PARAMETER); ACE_CHECK; - + _tao_server_request.init_reply (); TAO_OutputCDR &_tao_out = _tao_server_request.outgoing (); + if (!(_tao_out << CORBA::Any::from_boolean (_tao_retval))) ACE_THROW (CORBA::MARSHAL ()); } void POA_ImplementationRepository::Administration::_non_existent_skel ( - TAO_ServerRequest &_tao_server_request, - void * _tao_object_reference, + TAO_ServerRequest &_tao_server_request, + void * _tao_servant, void * /* Servant_Upcall */ ACE_ENV_ARG_DECL ) { - POA_ImplementationRepository::Administration *_tao_impl = (POA_ImplementationRepository::Administration *) _tao_object_reference; + POA_ImplementationRepository::Administration *_tao_impl = (POA_ImplementationRepository::Administration *) _tao_servant; CORBA::Boolean _tao_retval = _tao_impl->_non_existent (ACE_ENV_SINGLE_ARG_PARAMETER); ACE_CHECK; - + _tao_server_request.init_reply (); TAO_OutputCDR &_tao_out = _tao_server_request.outgoing (); + if (!(_tao_out << CORBA::Any::from_boolean (_tao_retval))) ACE_THROW (CORBA::MARSHAL ()); } void POA_ImplementationRepository::Administration::_interface_skel ( - TAO_ServerRequest &_tao_server_request, - void * _tao_object_reference, + TAO_ServerRequest &_tao_server_request, + void * _tao_servant, void * /* Servant_Upcall */ ACE_ENV_ARG_DECL ) { - POA_ImplementationRepository::Administration *_tao_impl = (POA_ImplementationRepository::Administration *) _tao_object_reference; + POA_ImplementationRepository::Administration *_tao_impl = (POA_ImplementationRepository::Administration *) _tao_servant; CORBA_InterfaceDef_ptr _tao_retval = 0; CORBA::Boolean _tao_result = 0; - + TAO_IFR_Client_Adapter *_tao_adapter = ACE_Dynamic_Service<TAO_IFR_Client_Adapter>::instance ( TAO_ORB_Core::ifr_client_adapter_name () ); - + if (_tao_adapter == 0) { ACE_THROW (CORBA::INTF_REPOS ()); } - + ACE_TRY { - _tao_retval = + _tao_retval = _tao_impl->_get_interface (ACE_ENV_SINGLE_ARG_PARAMETER); ACE_TRY_CHECK; - + _tao_server_request.init_reply (); - + TAO_OutputCDR &_tao_out = _tao_server_request.outgoing (); - + _tao_result = _tao_adapter->interfacedef_cdr_insert ( _tao_out, @@ -4220,35 +5171,72 @@ void POA_ImplementationRepository::Administration::_interface_skel ( _tao_adapter->dispose (_tao_retval); } ACE_ENDTRY; - + if (_tao_result == 0) { ACE_THROW (CORBA::MARSHAL ()); } } +void POA_ImplementationRepository::Administration::_component_skel ( + TAO_ServerRequest &_tao_server_request, + void * _tao_object_reference, + void * /* Servant_Upcall */ + ACE_ENV_ARG_DECL + ) +{ + POA_ImplementationRepository::Administration *_tao_impl = (POA_ImplementationRepository::Administration *) _tao_object_reference; + CORBA::Object_var _tao_retval = + _tao_impl->_get_component (ACE_ENV_SINGLE_ARG_PARAMETER); + ACE_CHECK; + + _tao_server_request.init_reply (); + TAO_OutputCDR &_tao_out = _tao_server_request.outgoing (); + + if (!(_tao_out << _tao_retval._retn ())) + ACE_THROW (CORBA::MARSHAL ()); +} + CORBA::Boolean POA_ImplementationRepository::Administration::_is_a ( const char* value ACE_ENV_ARG_DECL_NOT_USED ) { - const char *base_id = "IDL:org.omg/CORBA/Object:1.0"; if ( - (!ACE_OS::strcmp ((char *)value, "IDL:ImplementationRepository/Administration:1.0")) || - (!ACE_OS::strcmp ((char *)value, base_id))) + !ACE_OS::strcmp ( + (char *)value, + "IDL:ImplementationRepository/Administration:1.0" + ) || + !ACE_OS::strcmp ( + (char *)value, + "IDL:org.omg/CORBA/Object:1.0" + ) + ) + { return 1; - else + } + else + { return 0; + } } void* POA_ImplementationRepository::Administration::_downcast ( const char* logical_type_id ) { - if (ACE_OS::strcmp (logical_type_id, "IDL:ImplementationRepository/Administration:1.0") == 0) - return ACE_static_cast (POA_ImplementationRepository::Administration_ptr, this); - if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/Object:1.0") == 0) - return ACE_static_cast(PortableServer::Servant, this); + if (ACE_OS::strcmp (logical_type_id, + "IDL:ImplementationRepository/Administration:1.0") == 0) + { + return ACE_static_cast (POA_ImplementationRepository::Administration_ptr, this); + } + + if (ACE_OS::strcmp (logical_type_id, + "IDL:omg.org/CORBA/Object:1.0") == 0) + { + return ACE_static_cast(PortableServer::Servant, this); + } + return 0; } @@ -4257,6 +5245,9 @@ const char* POA_ImplementationRepository::Administration::_interface_repository_ return "IDL:ImplementationRepository/Administration:1.0"; } +// TAO_IDL - Generated from +// be/be_visitor_interface/interface_ss.cpp:532 + void POA_ImplementationRepository::Administration::_dispatch ( TAO_ServerRequest &req, void *servant_upcall @@ -4269,29 +5260,50 @@ void POA_ImplementationRepository::Administration::_dispatch ( ACE_ENV_ARG_PARAMETER); } +// TAO_IDL - Generated from +// be/be_visitor_interface/interface_ss.cpp:478 -ImplementationRepository::Administration* +ImplementationRepository::Administration * POA_ImplementationRepository::Administration::_this (ACE_ENV_SINGLE_ARG_DECL) { TAO_Stub *stub = this->_create_stub (ACE_ENV_SINGLE_ARG_PARAMETER); ACE_CHECK_RETURN (0); - + TAO_Stub_Auto_Ptr safe_stub (stub); - CORBA::Object_ptr tmp = CORBA::Object::_nil (); - + if (stub->servant_orb_var ()->orb_core ()->optimize_collocation_objects ()) - ACE_NEW_RETURN (tmp, CORBA::Object (stub, 1, this), 0); + { + ACE_NEW_RETURN ( + tmp, + CORBA::Object ( + stub, + 1, + this + ), + 0 + ); + } else - ACE_NEW_RETURN (tmp, CORBA::Object (stub, 0, this), 0); - + { + ACE_NEW_RETURN ( + tmp, + CORBA::Object ( + stub, + 0, + this + ), + 0 + ); + } + CORBA::Object_var obj = tmp; - (void) safe_stub.release (); - return ::ImplementationRepository::Administration::_unchecked_narrow (obj.in ()); } +// TAO_IDL - Generated from +// be/be_interface.cpp:1731 class TAO_ImplementationRepository_ServerInformationIterator_Perfect_Hash_OpTable : public TAO_Perfect_Hash_OpTable { @@ -4300,55 +5312,55 @@ private: public: const TAO_operation_db_entry * lookup (const char *str, unsigned int len); }; -/* starting time is 8:56:49 */ + /* C++ code produced by gperf version 2.8 (ACE version) */ -/* Command-line: /project/doctmp/pgontla/ImR/ACE_wrappers/bin/gperf -m -M -J -c -C -D -E -T -f 0 -F 0 -a -o -t -p -K opname_ -L C++ -Z TAO_ImplementationRepository_ServerInformationIterator_Perfect_Hash_OpTable -N lookup */ +/* Command-line: /export/home/boris/cvs-ace/range/ACE_wrappers/bin/gperf -m -M -J -c -C -D -E -T -f 0 -F 0 -a -o -t -p -K opname_ -L C++ -Z TAO_ImplementationRepository_ServerInformationIterator_Perfect_Hash_OpTable -N lookup */ unsigned int TAO_ImplementationRepository_ServerInformationIterator_Perfect_Hash_OpTable::hash (const char *str, unsigned int len) { static const unsigned char asso_values[] = { #if defined (ACE_MVS) - 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, - 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, - 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, - 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, - 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, - 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, - 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, - 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, - 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, - 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, - 14, 14, 14, 14, 14, 14, 14, 14, 14, 0, - 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, - 14, 14, 14, 14, 14, 14, 14, 14, 14, 0, - 14, 14, 0, 0, 14, 14, 14, 14, 14, 14, - 14, 14, 14, 14, 14, 14, 14, 14, 14, 0, - 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, - 14, 14, 14, 0, 14, 14, 14, 14, 0, 14, - 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, - 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, - 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, - 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, - 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, - 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, - 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, - 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, - 14, 14, 14, 14, 14, 14, + 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, + 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, + 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, + 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, + 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, + 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, + 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, + 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, + 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, + 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, + 16, 16, 16, 16, 16, 16, 16, 16, 16, 0, + 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, + 16, 16, 16, 16, 16, 16, 16, 16, 16, 0, + 16, 16, 0, 5, 16, 16, 16, 16, 16, 16, + 16, 16, 16, 16, 16, 16, 16, 16, 16, 0, + 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, + 16, 16, 16, 0, 16, 16, 16, 16, 0, 16, + 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, + 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, + 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, + 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, + 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, + 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, + 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, + 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, + 16, 16, 16, 16, 16, 16, #else - 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, - 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, - 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, - 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, - 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, - 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, - 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, - 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, - 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, - 14, 14, 14, 14, 14, 0, 14, 0, 14, 14, - 0, 0, 14, 14, 14, 14, 14, 14, 14, 14, - 0, 14, 14, 14, 14, 14, 0, 14, 14, 14, - 14, 0, 14, 14, 14, 14, 14, 14, + 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, + 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, + 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, + 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, + 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, + 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, + 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, + 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, + 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, + 16, 16, 16, 16, 16, 0, 16, 0, 16, 16, + 0, 5, 16, 16, 16, 16, 16, 16, 16, 16, + 0, 16, 16, 16, 16, 16, 0, 16, 16, 16, + 16, 0, 16, 16, 16, 16, 16, 16, #endif /* ACE_MVS */ }; return len + asso_values[str[len - 1]] + asso_values[str[0]]; @@ -4359,14 +5371,14 @@ TAO_ImplementationRepository_ServerInformationIterator_Perfect_Hash_OpTable::loo { enum { - TOTAL_KEYWORDS = 5, + TOTAL_KEYWORDS = 6, MIN_WORD_LENGTH = 5, MAX_WORD_LENGTH = 13, MIN_HASH_VALUE = 5, - MAX_HASH_VALUE = 13, - HASH_VALUE_RANGE = 9, + MAX_HASH_VALUE = 15, + HASH_VALUE_RANGE = 11, DUPLICATES = 0, - WORDLIST_SIZE = 10 + WORDLIST_SIZE = 11 }; static const class TAO_operation_db_entry wordlist[] = @@ -4376,9 +5388,11 @@ TAO_ImplementationRepository_ServerInformationIterator_Perfect_Hash_OpTable::loo {"next_n", &POA_ImplementationRepository::ServerInformationIterator::next_n_skel}, {"destroy", &POA_ImplementationRepository::ServerInformationIterator::destroy_skel}, {"",0},{"",0}, - {"_interface", &POA_ImplementationRepository::ServerInformationIterator::_interface_skel}, + {"_component", &POA_ImplementationRepository::ServerInformationIterator::_component_skel}, {"",0},{"",0}, {"_non_existent", &POA_ImplementationRepository::ServerInformationIterator::_non_existent_skel}, + {"",0}, + {"_interface", &POA_ImplementationRepository::ServerInformationIterator::_interface_skel}, }; if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH) @@ -4395,61 +5409,79 @@ TAO_ImplementationRepository_ServerInformationIterator_Perfect_Hash_OpTable::loo } return 0; } -/* ending time is 8:56:49 */ static TAO_ImplementationRepository_ServerInformationIterator_Perfect_Hash_OpTable tao_ImplementationRepository_ServerInformationIterator_optable; +// TAO_IDL - Generated from +// be/be_visitor_interface/interceptors_ss.cpp:52 + #if (TAO_HAS_INTERCEPTORS == 1) + +// TAO_IDL - Generated from +// be/be_visitor_operation/interceptors_ss.cpp:74 + class TAO_ServerRequestInfo_ImplementationRepository_ServerInformationIterator_next_n : public TAO_ServerRequestInfo { public: TAO_ServerRequestInfo_ImplementationRepository_ServerInformationIterator_next_n ( - TAO_ServerRequest &_tao_server_request, - TAO_Object_Adapter::Servant_Upcall *tao_servant_upcall,POA_ImplementationRepository::ServerInformationIterator *tao_impl - , - const CORBA::ULong & how_many ACE_ENV_ARG_DECL_WITH_DEFAULTS - ); - + TAO_ServerRequest &_tao_server_request, + TAO_Object_Adapter::Servant_Upcall *tao_servant_upcall, + POA_ImplementationRepository::ServerInformationIterator *tao_impl, + const CORBA::ULong & how_many + ACE_ENV_ARG_DECL_WITH_DEFAULTS + ); + virtual Dynamic::ParameterList * arguments ( ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS ) ACE_THROW_SPEC ((CORBA::SystemException)); - + virtual Dynamic::ExceptionList * exceptions ( ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS ) ACE_THROW_SPEC ((CORBA::SystemException)); - + virtual CORBA::Any * result ( ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS ) ACE_THROW_SPEC ((CORBA::SystemException)); - + virtual char * target_most_derived_interface ( - ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) + ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS + ) ACE_THROW_SPEC ((CORBA::SystemException)); - + virtual CORBA::Boolean target_is_a ( const char * id - ACE_ENV_ARG_DECL_WITH_DEFAULTS) + ACE_ENV_ARG_DECL_WITH_DEFAULTS + ) ACE_THROW_SPEC ((CORBA::SystemException)); - + void result (CORBA::Boolean result); private: - TAO_ServerRequestInfo_ImplementationRepository_ServerInformationIterator_next_n (const TAO_ServerRequestInfo_ImplementationRepository_ServerInformationIterator_next_n &); - void operator= (const TAO_ServerRequestInfo_ImplementationRepository_ServerInformationIterator_next_n &); - + TAO_ServerRequestInfo_ImplementationRepository_ServerInformationIterator_next_n ( + const TAO_ServerRequestInfo_ImplementationRepository_ServerInformationIterator_next_n & + ); + + void operator= ( + const TAO_ServerRequestInfo_ImplementationRepository_ServerInformationIterator_next_n & + ); + private: POA_ImplementationRepository::ServerInformationIterator *_tao_impl; - const CORBA::ULong & how_many_; - CORBA::Boolean _result; + + const CORBA::ULong & how_many_;CORBA::Boolean _result; }; +// TAO_IDL - Generated from +// be/be_visitor_operation/interceptors_ss.cpp:438 + TAO_ServerRequestInfo_ImplementationRepository_ServerInformationIterator_next_n::TAO_ServerRequestInfo_ImplementationRepository_ServerInformationIterator_next_n ( TAO_ServerRequest &_tao_server_request, TAO_Object_Adapter::Servant_Upcall *_tao_servant_upcall, POA_ImplementationRepository::ServerInformationIterator *tao_impl, - const CORBA::ULong & how_many ACE_ENV_ARG_DECL_NOT_USED + const CORBA::ULong & how_many + ACE_ENV_ARG_DECL_NOT_USED ) : TAO_ServerRequestInfo (_tao_server_request, _tao_servant_upcall), _tao_impl (tao_impl), @@ -4457,41 +5489,45 @@ TAO_ServerRequestInfo_ImplementationRepository_ServerInformationIterator_next_n: {} Dynamic::ParameterList * -TAO_ServerRequestInfo_ImplementationRepository_ServerInformationIterator_next_n::arguments (ACE_ENV_SINGLE_ARG_DECL) +TAO_ServerRequestInfo_ImplementationRepository_ServerInformationIterator_next_n::arguments ( + ACE_ENV_SINGLE_ARG_DECL + ) ACE_THROW_SPEC ((CORBA::SystemException)) { // Generate the argument list on demand. Dynamic::ParameterList *parameter_list = TAO_RequestInfo_Util::make_parameter_list (ACE_ENV_SINGLE_ARG_PARAMETER); ACE_CHECK_RETURN (0); - + Dynamic::ParameterList_var safe_parameter_list = parameter_list; - parameter_list->length (1); CORBA::ULong len = 0; - - (*parameter_list)[len].argument <<= how_many_; + + (*parameter_list)[len].argument <<= how_many_; (*parameter_list)[len].mode = CORBA::PARAM_IN; len++; - + return safe_parameter_list._retn (); } Dynamic::ExceptionList * -TAO_ServerRequestInfo_ImplementationRepository_ServerInformationIterator_next_n::exceptions (ACE_ENV_SINGLE_ARG_DECL) +TAO_ServerRequestInfo_ImplementationRepository_ServerInformationIterator_next_n::exceptions ( + ACE_ENV_SINGLE_ARG_DECL + ) ACE_THROW_SPEC ((CORBA::SystemException)) { // Generate the exception list on demand. Dynamic::ExceptionList *exception_list = TAO_RequestInfo_Util::make_exception_list (ACE_ENV_SINGLE_ARG_PARAMETER); ACE_CHECK_RETURN (0); - + return exception_list; } - -CORBA::Any * -TAO_ServerRequestInfo_ImplementationRepository_ServerInformationIterator_next_n::result (ACE_ENV_SINGLE_ARG_DECL) +CORBA::Any * +TAO_ServerRequestInfo_ImplementationRepository_ServerInformationIterator_next_n::result ( + ACE_ENV_SINGLE_ARG_DECL + ) ACE_THROW_SPEC ((CORBA::SystemException)) { // Generate the result on demand. @@ -4499,17 +5535,18 @@ TAO_ServerRequestInfo_ImplementationRepository_ServerInformationIterator_next_n: CORBA::Any *result_any = TAO_RequestInfo_Util::make_any (tk_void_any ACE_ENV_ARG_PARAMETER); ACE_CHECK_RETURN (0); - + CORBA::Any_var safe_result_any = result_any; - + (*result_any) <<= CORBA::Any::from_boolean (this->_result); - + return safe_result_any._retn (); } char * TAO_ServerRequestInfo_ImplementationRepository_ServerInformationIterator_next_n::target_most_derived_interface ( - ACE_ENV_SINGLE_ARG_DECL_NOT_USED) + ACE_ENV_SINGLE_ARG_DECL_NOT_USED + ) ACE_THROW_SPEC ((CORBA::SystemException)) { return @@ -4519,98 +5556,118 @@ TAO_ServerRequestInfo_ImplementationRepository_ServerInformationIterator_next_n: CORBA::Boolean TAO_ServerRequestInfo_ImplementationRepository_ServerInformationIterator_next_n::target_is_a ( const char * id - ACE_ENV_ARG_DECL) + ACE_ENV_ARG_DECL + ) ACE_THROW_SPEC ((CORBA::SystemException)) { return this->_tao_impl->_is_a (id ACE_ENV_ARG_PARAMETER); } -void +void TAO_ServerRequestInfo_ImplementationRepository_ServerInformationIterator_next_n::result (CORBA::Boolean result) { // Update the result. this->_result = result; } +// TAO_IDL - Generated from +// be/be_visitor_operation/interceptors_ss.cpp:74 + class TAO_ServerRequestInfo_ImplementationRepository_ServerInformationIterator_destroy : public TAO_ServerRequestInfo { public: TAO_ServerRequestInfo_ImplementationRepository_ServerInformationIterator_destroy ( - TAO_ServerRequest &_tao_server_request, - TAO_Object_Adapter::Servant_Upcall *tao_servant_upcall,POA_ImplementationRepository::ServerInformationIterator *tao_impl - ACE_ENV_ARG_DECL_WITH_DEFAULTS - ); - + TAO_ServerRequest &_tao_server_request, + TAO_Object_Adapter::Servant_Upcall *tao_servant_upcall, + POA_ImplementationRepository::ServerInformationIterator *tao_impl + ACE_ENV_ARG_DECL_WITH_DEFAULTS + ); + virtual Dynamic::ParameterList * arguments ( ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS ) ACE_THROW_SPEC ((CORBA::SystemException)); - + virtual Dynamic::ExceptionList * exceptions ( ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS ) ACE_THROW_SPEC ((CORBA::SystemException)); - + virtual CORBA::Any * result ( ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS ) ACE_THROW_SPEC ((CORBA::SystemException)); - + virtual char * target_most_derived_interface ( - ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) + ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS + ) ACE_THROW_SPEC ((CORBA::SystemException)); - + virtual CORBA::Boolean target_is_a ( const char * id - ACE_ENV_ARG_DECL_WITH_DEFAULTS) + ACE_ENV_ARG_DECL_WITH_DEFAULTS + ) ACE_THROW_SPEC ((CORBA::SystemException)); - - + private: - TAO_ServerRequestInfo_ImplementationRepository_ServerInformationIterator_destroy (const TAO_ServerRequestInfo_ImplementationRepository_ServerInformationIterator_destroy &); - void operator= (const TAO_ServerRequestInfo_ImplementationRepository_ServerInformationIterator_destroy &); - + TAO_ServerRequestInfo_ImplementationRepository_ServerInformationIterator_destroy ( + const TAO_ServerRequestInfo_ImplementationRepository_ServerInformationIterator_destroy & + ); + + void operator= ( + const TAO_ServerRequestInfo_ImplementationRepository_ServerInformationIterator_destroy & + ); + private: POA_ImplementationRepository::ServerInformationIterator *_tao_impl; - + }; +// TAO_IDL - Generated from +// be/be_visitor_operation/interceptors_ss.cpp:438 + TAO_ServerRequestInfo_ImplementationRepository_ServerInformationIterator_destroy::TAO_ServerRequestInfo_ImplementationRepository_ServerInformationIterator_destroy ( TAO_ServerRequest &_tao_server_request, TAO_Object_Adapter::Servant_Upcall *_tao_servant_upcall, - POA_ImplementationRepository::ServerInformationIterator *tao_impl ACE_ENV_ARG_DECL_NOT_USED + POA_ImplementationRepository::ServerInformationIterator *tao_impl + ACE_ENV_ARG_DECL_NOT_USED ) : TAO_ServerRequestInfo (_tao_server_request, _tao_servant_upcall), _tao_impl (tao_impl) {} Dynamic::ParameterList * -TAO_ServerRequestInfo_ImplementationRepository_ServerInformationIterator_destroy::arguments (ACE_ENV_SINGLE_ARG_DECL) +TAO_ServerRequestInfo_ImplementationRepository_ServerInformationIterator_destroy::arguments ( + ACE_ENV_SINGLE_ARG_DECL + ) ACE_THROW_SPEC ((CORBA::SystemException)) { // Generate the argument list on demand. Dynamic::ParameterList *parameter_list = TAO_RequestInfo_Util::make_parameter_list (ACE_ENV_SINGLE_ARG_PARAMETER); ACE_CHECK_RETURN (0); - + return parameter_list; } Dynamic::ExceptionList * -TAO_ServerRequestInfo_ImplementationRepository_ServerInformationIterator_destroy::exceptions (ACE_ENV_SINGLE_ARG_DECL) +TAO_ServerRequestInfo_ImplementationRepository_ServerInformationIterator_destroy::exceptions ( + ACE_ENV_SINGLE_ARG_DECL + ) ACE_THROW_SPEC ((CORBA::SystemException)) { // Generate the exception list on demand. Dynamic::ExceptionList *exception_list = TAO_RequestInfo_Util::make_exception_list (ACE_ENV_SINGLE_ARG_PARAMETER); ACE_CHECK_RETURN (0); - + return exception_list; } - -CORBA::Any * -TAO_ServerRequestInfo_ImplementationRepository_ServerInformationIterator_destroy::result (ACE_ENV_SINGLE_ARG_DECL) +CORBA::Any * +TAO_ServerRequestInfo_ImplementationRepository_ServerInformationIterator_destroy::result ( + ACE_ENV_SINGLE_ARG_DECL + ) ACE_THROW_SPEC ((CORBA::SystemException)) { // Generate the result on demand. @@ -4618,13 +5675,14 @@ TAO_ServerRequestInfo_ImplementationRepository_ServerInformationIterator_destroy CORBA::Any *result_any = TAO_RequestInfo_Util::make_any (tk_void_any ACE_ENV_ARG_PARAMETER); ACE_CHECK_RETURN (0); - + return result_any; } char * TAO_ServerRequestInfo_ImplementationRepository_ServerInformationIterator_destroy::target_most_derived_interface ( - ACE_ENV_SINGLE_ARG_DECL_NOT_USED) + ACE_ENV_SINGLE_ARG_DECL_NOT_USED + ) ACE_THROW_SPEC ((CORBA::SystemException)) { return @@ -4634,7 +5692,8 @@ TAO_ServerRequestInfo_ImplementationRepository_ServerInformationIterator_destroy CORBA::Boolean TAO_ServerRequestInfo_ImplementationRepository_ServerInformationIterator_destroy::target_is_a ( const char * id - ACE_ENV_ARG_DECL) + ACE_ENV_ARG_DECL + ) ACE_THROW_SPEC ((CORBA::SystemException)) { return this->_tao_impl->_is_a (id ACE_ENV_ARG_PARAMETER); @@ -4646,6 +5705,9 @@ TAO_ServerRequestInfo_ImplementationRepository_ServerInformationIterator_destroy // Strategized Proxy Broker Implementation // +// TAO_IDL - Generated from +// be/be_visitor_interface/strategized_proxy_broker_ss.cpp:40 + // Factory function Implementation. POA_ImplementationRepository::_TAO_ServerInformationIterator_Strategized_Proxy_Broker *POA_ImplementationRepository::_TAO_ServerInformationIterator_Strategized_Proxy_Broker::the_TAO_ServerInformationIterator_Strategized_Proxy_Broker (void) { @@ -4656,8 +5718,9 @@ POA_ImplementationRepository::_TAO_ServerInformationIterator_Strategized_Proxy_B POA_ImplementationRepository::_TAO_ServerInformationIterator_Strategized_Proxy_Broker::_TAO_ServerInformationIterator_Strategized_Proxy_Broker (void) { for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i) - this->proxy_cache_[i] = 0; - + { + this->proxy_cache_[i] = 0; + } } POA_ImplementationRepository::_TAO_ServerInformationIterator_Strategized_Proxy_Broker::~_TAO_ServerInformationIterator_Strategized_Proxy_Broker (void) @@ -4665,12 +5728,11 @@ POA_ImplementationRepository::_TAO_ServerInformationIterator_Strategized_Proxy_B for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i) { delete this->proxy_cache_[i]; - + // Hack to prevent bug mentioned in 1204. Refer to 1204 // for details.. this->proxy_cache_[i] = 0; } - } ImplementationRepository::_TAO_ServerInformationIterator_Proxy_Impl& @@ -4681,26 +5743,27 @@ POA_ImplementationRepository::_TAO_ServerInformationIterator_Strategized_Proxy_B { int strategy = TAO_ORB_Core::collocation_strategy (object ACE_ENV_ARG_PARAMETER); - ACE_CHECK_RETURN (*this->proxy_cache_[strategy]); - + ACE_CHECK_RETURN (*this->proxy_cache_[strategy]); + if (this->proxy_cache_[strategy] != 0) - return *this->proxy_cache_[strategy]; - + { + return *this->proxy_cache_[strategy]; + } + this->create_proxy (strategy ACE_ENV_ARG_PARAMETER); ACE_CHECK_RETURN (*this->proxy_cache_[strategy]); - + return *this->proxy_cache_[strategy]; - } -void +void POA_ImplementationRepository::_TAO_ServerInformationIterator_Strategized_Proxy_Broker::create_proxy ( int strategy ACE_ENV_ARG_DECL ) { ACE_GUARD (TAO_SYNCH_MUTEX, guard, this->mutex_); - + if (this->proxy_cache_[strategy] == 0) { switch (strategy) @@ -4713,7 +5776,7 @@ POA_ImplementationRepository::_TAO_ServerInformationIterator_Strategized_Proxy_B ); ACE_CHECK; break; - + case TAO_Collocation_Strategies::CS_DIRECT_STRATEGY: ACE_NEW_THROW_EX ( this->proxy_cache_[strategy], @@ -4722,7 +5785,7 @@ POA_ImplementationRepository::_TAO_ServerInformationIterator_Strategized_Proxy_B ); ACE_CHECK; break; - + case TAO_Collocation_Strategies::CS_REMOTE_STRATEGY: default: ACE_NEW_THROW_EX ( @@ -4732,17 +5795,16 @@ POA_ImplementationRepository::_TAO_ServerInformationIterator_Strategized_Proxy_B ); ACE_CHECK; break; - - } - - } + } + } } - // // End Strategized Proxy Broker Implementation /////////////////////////////////////////////////////////////////////// +// TAO_IDL - Generated from +// be/be_visitor_interface/interface_ss.cpp:598 ImplementationRepository::_TAO_ServerInformationIterator_Proxy_Broker * ImplementationRepository__TAO_ServerInformationIterator_Proxy_Broker_Factory_function (CORBA::Object_ptr obj) @@ -4754,13 +5816,13 @@ ImplementationRepository__TAO_ServerInformationIterator_Proxy_Broker_Factory_fun int ImplementationRepository__TAO_ServerInformationIterator_Proxy_Broker_Factory_Initializer (long) { - ImplementationRepository__TAO_ServerInformationIterator_Proxy_Broker_Factory_function_pointer = + ImplementationRepository__TAO_ServerInformationIterator_Proxy_Broker_Factory_function_pointer = ImplementationRepository__TAO_ServerInformationIterator_Proxy_Broker_Factory_function; - + return 0; } -static int ImplementationRepository__TAO_ServerInformationIterator_Proxy_Broker_Stub_Factory_Initializer_Scarecrow = +static int ImplementationRepository__TAO_ServerInformationIterator_Proxy_Broker_Stub_Factory_Initializer_Scarecrow = ImplementationRepository__TAO_ServerInformationIterator_Proxy_Broker_Factory_Initializer (ACE_reinterpret_cast (long, ImplementationRepository__TAO_ServerInformationIterator_Proxy_Broker_Factory_Initializer)); @@ -4768,11 +5830,17 @@ static int ImplementationRepository__TAO_ServerInformationIterator_Proxy_Broker_ // ThruPOA Proxy Implementation // +// TAO_IDL - Generated from +// be/be_visitor_interface/thru_poa_proxy_impl_ss.cpp:37 + POA_ImplementationRepository::_TAO_ServerInformationIterator_ThruPOA_Proxy_Impl::_TAO_ServerInformationIterator_ThruPOA_Proxy_Impl (void) {} // ThruPOA Implementation of the IDL interface methods +// TAO_IDL - Generated from +// 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::ULong how_many, @@ -4795,20 +5863,29 @@ CORBA::Boolean POA_ImplementationRepository::_TAO_ServerInformationIterator_Thru forward_to.out () ACE_ENV_ARG_PARAMETER ); - ACE_CHECK_RETURN (_tao_retval); - servant_upcall.pre_invoke_collocated_request (ACE_ENV_SINGLE_ARG_PARAMETER); - ACE_CHECK_RETURN (_tao_retval); + ACE_CHECK_RETURN (_tao_retval); + + servant_upcall.pre_invoke_collocated_request ( + ACE_ENV_SINGLE_ARG_PARAMETER + ); + ACE_CHECK_RETURN (_tao_retval); + return ACE_reinterpret_cast ( POA_ImplementationRepository::ServerInformationIterator_ptr, servant_upcall.servant ()->_downcast ( "IDL:ImplementationRepository/ServerInformationIterator:1.0" ) )->next_n ( + how_many, - server_list ACE_ENV_ARG_PARAMETER + server_list + ACE_ENV_ARG_PARAMETER ); } +// TAO_IDL - Generated from +// 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_ ACE_ENV_ARG_DECL @@ -4817,6 +5894,7 @@ void POA_ImplementationRepository::_TAO_ServerInformationIterator_ThruPOA_Proxy_ CORBA::SystemException )) { + TAO_Object_Adapter::Servant_Upcall servant_upcall ( _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core () ); @@ -4827,25 +5905,25 @@ void POA_ImplementationRepository::_TAO_ServerInformationIterator_ThruPOA_Proxy_ forward_to.out () ACE_ENV_ARG_PARAMETER ); - ACE_CHECK; - servant_upcall.pre_invoke_collocated_request (ACE_ENV_SINGLE_ARG_PARAMETER); - ACE_CHECK; + ACE_CHECK; + + servant_upcall.pre_invoke_collocated_request ( + ACE_ENV_SINGLE_ARG_PARAMETER + ); + ACE_CHECK; + ACE_reinterpret_cast ( POA_ImplementationRepository::ServerInformationIterator_ptr, servant_upcall.servant ()->_downcast ( "IDL:ImplementationRepository/ServerInformationIterator:1.0" ) )->destroy ( + ACE_ENV_SINGLE_ARG_PARAMETER ); - return; -} - -// +}// // End ThruPOA Proxy Implementation /////////////////////////////////////////////////////////////////////// - - /////////////////////////////////////////////////////////////////////// // Direct Proxy Implementation // @@ -4861,16 +5939,17 @@ CORBA::Boolean POA_ImplementationRepository::_TAO_ServerInformationIterator_Dire ) ACE_THROW_SPEC (( CORBA::SystemException - )) -{ + )){ return ACE_reinterpret_cast ( POA_ImplementationRepository::ServerInformationIterator_ptr, _collocated_tao_target_->_servant ()->_downcast ("IDL:ImplementationRepository/ServerInformationIterator:1.0") )->next_n ( + how_many, - server_list ACE_ENV_ARG_PARAMETER + server_list + ACE_ENV_ARG_PARAMETER ); - + } void POA_ImplementationRepository::_TAO_ServerInformationIterator_Direct_Proxy_Impl::destroy ( @@ -4879,23 +5958,26 @@ void POA_ImplementationRepository::_TAO_ServerInformationIterator_Direct_Proxy_I ) ACE_THROW_SPEC (( CORBA::SystemException - )) -{ + )){ ACE_reinterpret_cast ( POA_ImplementationRepository::ServerInformationIterator_ptr, _collocated_tao_target_->_servant ()->_downcast ("IDL:ImplementationRepository/ServerInformationIterator:1.0") )->destroy ( + ACE_ENV_SINGLE_ARG_PARAMETER ); - + } // // End Direct Proxy Implementation /////////////////////////////////////////////////////////////////////// -// TAO_IDL - Generated from -// be/be_visitor_interface/interface_ss.cpp:100 + + +// TAO_IDL - Generated from +// be/be_visitor_interface/interface_ss.cpp:98 + POA_ImplementationRepository::ServerInformationIterator::ServerInformationIterator (void) { this->optable_ = &tao_ImplementationRepository_ServerInformationIterator_optable; @@ -4909,9 +5991,12 @@ POA_ImplementationRepository::ServerInformationIterator::~ServerInformationItera { } +// TAO_IDL - Generated from +// be/be_visitor_operation/operation_ss.cpp:100 + void POA_ImplementationRepository::ServerInformationIterator::next_n_skel ( TAO_ServerRequest &_tao_server_request, - void *_tao_object_reference, + void *_tao_servant, void *_tao_servant_upcall ACE_ENV_ARG_DECL ) @@ -4920,58 +6005,72 @@ void POA_ImplementationRepository::ServerInformationIterator::next_n_skel ( POA_ImplementationRepository::ServerInformationIterator *_tao_impl = ACE_static_cast ( POA_ImplementationRepository::ServerInformationIterator *, - _tao_object_reference + _tao_servant ); CORBA::Boolean _tao_retval = 0; CORBA::ULong how_many; ImplementationRepository::ServerInformationList_var server_list; - if (!( - (_tao_in >> how_many) - )) -ACE_THROW (CORBA::MARSHAL ()); - + + + if (!( + (_tao_in >> how_many) + )) + ACE_THROW (CORBA::MARSHAL ()); #if (TAO_HAS_INTERCEPTORS == 1) TAO_Object_Adapter::Servant_Upcall *_tao_upcall = ACE_static_cast (TAO_Object_Adapter::Servant_Upcall *, _tao_servant_upcall); - + TAO_ServerRequestInterceptor_Adapter _tao_vfr ( _tao_server_request.orb_core ()->server_request_interceptors (), _tao_server_request.interceptor_count () ); - + TAO_ServerRequestInfo_ImplementationRepository_ServerInformationIterator_next_n _tao_ri ( _tao_server_request, _tao_upcall, _tao_impl, - how_many ACE_ENV_ARG_PARAMETER + + how_many + ACE_ENV_ARG_PARAMETER ); - + ACE_TRY { { TAO_PICurrent_Guard _tao_pi_guard (_tao_ri.server_request (), 1 /* Copy TSC to RSC */); - + _tao_vfr.receive_request (&_tao_ri ACE_ENV_ARG_PARAMETER); ACE_TRY_CHECK; - + + if (!_tao_vfr.location_forwarded ()) + { + #endif /* TAO_HAS_INTERCEPTORS */ - _tao_retval = - _tao_impl->next_n ( - how_many, - server_list.out () ACE_ENV_ARG_PARAMETER - ); - TAO_INTERCEPTOR_CHECK; + _tao_retval = + _tao_impl->next_n ( + + how_many, + + server_list.out () + ACE_ENV_ARG_PARAMETER + ); + TAO_INTERCEPTOR_CHECK; #if (TAO_HAS_INTERCEPTORS == 1) + + } + } + + if (!_tao_vfr.location_forwarded ()) + { + CORBA::Boolean _tao_retval_info = _tao_retval; + _tao_ri.result (_tao_retval_info); + _tao_ri.reply_status (PortableInterceptor::SUCCESSFUL); + _tao_vfr.send_reply (&_tao_ri ACE_ENV_ARG_PARAMETER); + ACE_TRY_CHECK; } - - CORBA::Boolean _tao_retval_info = _tao_retval; - _tao_ri.result (_tao_retval_info); - _tao_ri.reply_status (PortableInterceptor::SUCCESSFUL); - _tao_vfr.send_reply (&_tao_ri ACE_ENV_ARG_PARAMETER); - ACE_TRY_CHECK; } ACE_CATCHANY { @@ -4981,37 +6080,64 @@ ACE_THROW (CORBA::MARSHAL ()); ACE_ENV_ARG_PARAMETER ); ACE_TRY_CHECK; - + PortableInterceptor::ReplyStatus _tao_status = _tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER); ACE_TRY_CHECK; - + if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION || _tao_status == PortableInterceptor::USER_EXCEPTION) - ACE_RE_THROW; + { + ACE_RE_THROW; + } + } + +# if defined (ACE_HAS_EXCEPTIONS) \ + && defined (ACE_HAS_BROKEN_UNEXPECTED_EXCEPTIONS) + ACE_CATCHALL + { + CORBA::UNKNOWN ex; + + _tao_ri.exception (&ex); + _tao_vfr.send_exception ( + &_tao_ri + ACE_ENV_ARG_PARAMETER + ); + ACE_TRY_CHECK; + + PortableInterceptor::ReplyStatus _tao_status = + _tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER); + ACE_TRY_CHECK; + + if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION) + ACE_TRY_THROW (ex); } +# endif /* ACE_HAS_EXCEPTIONS && ACE_HAS_BROKEN_UNEXPECTED_EXCEPTIONS */ + ACE_ENDTRY; ACE_CHECK; #endif /* TAO_HAS_INTERCEPTORS */ - + _tao_server_request.init_reply (); - + TAO_OutputCDR &_tao_out = _tao_server_request.outgoing (); - + if (!( (_tao_out << CORBA::Any::from_boolean (_tao_retval)) && (_tao_out << server_list.in ()) )) -ACE_THROW (CORBA::MARSHAL ()); - + ACE_THROW (CORBA::MARSHAL ()); + // In case _tao_servant_upcall is not used in this function ACE_UNUSED_ARG (_tao_servant_upcall); +} - } +// TAO_IDL - Generated from +// be/be_visitor_operation/operation_ss.cpp:100 void POA_ImplementationRepository::ServerInformationIterator::destroy_skel ( TAO_ServerRequest &_tao_server_request, - void *_tao_object_reference, + void *_tao_servant, void *_tao_servant_upcall ACE_ENV_ARG_DECL ) @@ -5019,47 +6145,58 @@ void POA_ImplementationRepository::ServerInformationIterator::destroy_skel ( POA_ImplementationRepository::ServerInformationIterator *_tao_impl = ACE_static_cast ( POA_ImplementationRepository::ServerInformationIterator *, - _tao_object_reference + _tao_servant ); _tao_server_request.argument_flag (0); + #if (TAO_HAS_INTERCEPTORS == 1) TAO_Object_Adapter::Servant_Upcall *_tao_upcall = ACE_static_cast (TAO_Object_Adapter::Servant_Upcall *, _tao_servant_upcall); - + TAO_ServerRequestInterceptor_Adapter _tao_vfr ( _tao_server_request.orb_core ()->server_request_interceptors (), _tao_server_request.interceptor_count () ); - + TAO_ServerRequestInfo_ImplementationRepository_ServerInformationIterator_destroy _tao_ri ( _tao_server_request, _tao_upcall, - _tao_impl ACE_ENV_ARG_PARAMETER + _tao_impl + ACE_ENV_ARG_PARAMETER ); - + ACE_TRY { { TAO_PICurrent_Guard _tao_pi_guard (_tao_ri.server_request (), 1 /* Copy TSC to RSC */); - + _tao_vfr.receive_request (&_tao_ri ACE_ENV_ARG_PARAMETER); ACE_TRY_CHECK; - + + if (!_tao_vfr.location_forwarded ()) + { + #endif /* TAO_HAS_INTERCEPTORS */ - - _tao_impl->destroy ( - ACE_ENV_SINGLE_ARG_PARAMETER - ); - TAO_INTERCEPTOR_CHECK; + + _tao_impl->destroy ( + + ACE_ENV_SINGLE_ARG_PARAMETER + ); + TAO_INTERCEPTOR_CHECK; #if (TAO_HAS_INTERCEPTORS == 1) + + } + } + + if (!_tao_vfr.location_forwarded ()) + { + _tao_ri.reply_status (PortableInterceptor::SUCCESSFUL); + _tao_vfr.send_reply (&_tao_ri ACE_ENV_ARG_PARAMETER); + ACE_TRY_CHECK; } - - _tao_ri.reply_status (PortableInterceptor::SUCCESSFUL); - _tao_vfr.send_reply (&_tao_ri ACE_ENV_ARG_PARAMETER); - ACE_TRY_CHECK; } ACE_CATCHANY { @@ -5069,98 +6206,128 @@ void POA_ImplementationRepository::ServerInformationIterator::destroy_skel ( ACE_ENV_ARG_PARAMETER ); ACE_TRY_CHECK; - + PortableInterceptor::ReplyStatus _tao_status = _tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER); ACE_TRY_CHECK; - + if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION || _tao_status == PortableInterceptor::USER_EXCEPTION) - ACE_RE_THROW; + { + ACE_RE_THROW; + } } + +# if defined (ACE_HAS_EXCEPTIONS) \ + && defined (ACE_HAS_BROKEN_UNEXPECTED_EXCEPTIONS) + ACE_CATCHALL + { + CORBA::UNKNOWN ex; + + _tao_ri.exception (&ex); + _tao_vfr.send_exception ( + &_tao_ri + ACE_ENV_ARG_PARAMETER + ); + ACE_TRY_CHECK; + + PortableInterceptor::ReplyStatus _tao_status = + _tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER); + ACE_TRY_CHECK; + + if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION) + ACE_TRY_THROW (ex); + } +# endif /* ACE_HAS_EXCEPTIONS && ACE_HAS_BROKEN_UNEXPECTED_EXCEPTIONS */ + ACE_ENDTRY; ACE_CHECK; #endif /* TAO_HAS_INTERCEPTORS */ - + _tao_server_request.init_reply (); - + // In case _tao_servant_upcall is not used in this function ACE_UNUSED_ARG (_tao_servant_upcall); +} - } +// TAO_IDL - Generated from +// be/be_visitor_interface/interface_ss.cpp:163 void POA_ImplementationRepository::ServerInformationIterator::_is_a_skel ( - TAO_ServerRequest &_tao_server_request, - void * _tao_object_reference, + TAO_ServerRequest &_tao_server_request, + void * _tao_servant, void * /* Servant_Upcall */ ACE_ENV_ARG_DECL ) { TAO_InputCDR &_tao_in = _tao_server_request.incoming (); - POA_ImplementationRepository::ServerInformationIterator *_tao_impl = (POA_ImplementationRepository::ServerInformationIterator *) _tao_object_reference; + POA_ImplementationRepository::ServerInformationIterator *_tao_impl = (POA_ImplementationRepository::ServerInformationIterator *) _tao_servant; CORBA::Boolean _tao_retval = 0; CORBA::String_var value; + if (!(_tao_in >> value.out ())) ACE_THROW (CORBA::MARSHAL ()); - + _tao_retval = _tao_impl->_is_a (value.in () ACE_ENV_ARG_PARAMETER); ACE_CHECK; - + _tao_server_request.init_reply (); TAO_OutputCDR &_tao_out = _tao_server_request.outgoing (); + if (!(_tao_out << CORBA::Any::from_boolean (_tao_retval))) ACE_THROW (CORBA::MARSHAL ()); } void POA_ImplementationRepository::ServerInformationIterator::_non_existent_skel ( - TAO_ServerRequest &_tao_server_request, - void * _tao_object_reference, + TAO_ServerRequest &_tao_server_request, + void * _tao_servant, void * /* Servant_Upcall */ ACE_ENV_ARG_DECL ) { - POA_ImplementationRepository::ServerInformationIterator *_tao_impl = (POA_ImplementationRepository::ServerInformationIterator *) _tao_object_reference; + POA_ImplementationRepository::ServerInformationIterator *_tao_impl = (POA_ImplementationRepository::ServerInformationIterator *) _tao_servant; CORBA::Boolean _tao_retval = _tao_impl->_non_existent (ACE_ENV_SINGLE_ARG_PARAMETER); ACE_CHECK; - + _tao_server_request.init_reply (); TAO_OutputCDR &_tao_out = _tao_server_request.outgoing (); + if (!(_tao_out << CORBA::Any::from_boolean (_tao_retval))) ACE_THROW (CORBA::MARSHAL ()); } void POA_ImplementationRepository::ServerInformationIterator::_interface_skel ( - TAO_ServerRequest &_tao_server_request, - void * _tao_object_reference, + TAO_ServerRequest &_tao_server_request, + void * _tao_servant, void * /* Servant_Upcall */ ACE_ENV_ARG_DECL ) { - POA_ImplementationRepository::ServerInformationIterator *_tao_impl = (POA_ImplementationRepository::ServerInformationIterator *) _tao_object_reference; + POA_ImplementationRepository::ServerInformationIterator *_tao_impl = (POA_ImplementationRepository::ServerInformationIterator *) _tao_servant; CORBA_InterfaceDef_ptr _tao_retval = 0; CORBA::Boolean _tao_result = 0; - + TAO_IFR_Client_Adapter *_tao_adapter = ACE_Dynamic_Service<TAO_IFR_Client_Adapter>::instance ( TAO_ORB_Core::ifr_client_adapter_name () ); - + if (_tao_adapter == 0) { ACE_THROW (CORBA::INTF_REPOS ()); } - + ACE_TRY { - _tao_retval = + _tao_retval = _tao_impl->_get_interface (ACE_ENV_SINGLE_ARG_PARAMETER); ACE_TRY_CHECK; - + _tao_server_request.init_reply (); - + TAO_OutputCDR &_tao_out = _tao_server_request.outgoing (); - + _tao_result = _tao_adapter->interfacedef_cdr_insert ( _tao_out, @@ -5172,35 +6339,72 @@ void POA_ImplementationRepository::ServerInformationIterator::_interface_skel ( _tao_adapter->dispose (_tao_retval); } ACE_ENDTRY; - + if (_tao_result == 0) { ACE_THROW (CORBA::MARSHAL ()); } } +void POA_ImplementationRepository::ServerInformationIterator::_component_skel ( + TAO_ServerRequest &_tao_server_request, + void * _tao_object_reference, + void * /* Servant_Upcall */ + ACE_ENV_ARG_DECL + ) +{ + POA_ImplementationRepository::ServerInformationIterator *_tao_impl = (POA_ImplementationRepository::ServerInformationIterator *) _tao_object_reference; + CORBA::Object_var _tao_retval = + _tao_impl->_get_component (ACE_ENV_SINGLE_ARG_PARAMETER); + ACE_CHECK; + + _tao_server_request.init_reply (); + TAO_OutputCDR &_tao_out = _tao_server_request.outgoing (); + + if (!(_tao_out << _tao_retval._retn ())) + ACE_THROW (CORBA::MARSHAL ()); +} + CORBA::Boolean POA_ImplementationRepository::ServerInformationIterator::_is_a ( const char* value ACE_ENV_ARG_DECL_NOT_USED ) { - const char *base_id = "IDL:org.omg/CORBA/Object:1.0"; if ( - (!ACE_OS::strcmp ((char *)value, "IDL:ImplementationRepository/ServerInformationIterator:1.0")) || - (!ACE_OS::strcmp ((char *)value, base_id))) + !ACE_OS::strcmp ( + (char *)value, + "IDL:ImplementationRepository/ServerInformationIterator:1.0" + ) || + !ACE_OS::strcmp ( + (char *)value, + "IDL:org.omg/CORBA/Object:1.0" + ) + ) + { return 1; - else + } + else + { return 0; + } } void* POA_ImplementationRepository::ServerInformationIterator::_downcast ( const char* logical_type_id ) { - if (ACE_OS::strcmp (logical_type_id, "IDL:ImplementationRepository/ServerInformationIterator:1.0") == 0) - return ACE_static_cast (POA_ImplementationRepository::ServerInformationIterator_ptr, this); - if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/Object:1.0") == 0) - return ACE_static_cast(PortableServer::Servant, this); + if (ACE_OS::strcmp (logical_type_id, + "IDL:ImplementationRepository/ServerInformationIterator:1.0") == 0) + { + return ACE_static_cast (POA_ImplementationRepository::ServerInformationIterator_ptr, this); + } + + if (ACE_OS::strcmp (logical_type_id, + "IDL:omg.org/CORBA/Object:1.0") == 0) + { + return ACE_static_cast(PortableServer::Servant, this); + } + return 0; } @@ -5209,6 +6413,9 @@ const char* POA_ImplementationRepository::ServerInformationIterator::_interface_ return "IDL:ImplementationRepository/ServerInformationIterator:1.0"; } +// TAO_IDL - Generated from +// be/be_visitor_interface/interface_ss.cpp:532 + void POA_ImplementationRepository::ServerInformationIterator::_dispatch ( TAO_ServerRequest &req, void *servant_upcall @@ -5221,29 +6428,45 @@ void POA_ImplementationRepository::ServerInformationIterator::_dispatch ( ACE_ENV_ARG_PARAMETER); } +// TAO_IDL - Generated from +// be/be_visitor_interface/interface_ss.cpp:478 -ImplementationRepository::ServerInformationIterator* +ImplementationRepository::ServerInformationIterator * POA_ImplementationRepository::ServerInformationIterator::_this (ACE_ENV_SINGLE_ARG_DECL) { TAO_Stub *stub = this->_create_stub (ACE_ENV_SINGLE_ARG_PARAMETER); ACE_CHECK_RETURN (0); - + TAO_Stub_Auto_Ptr safe_stub (stub); - CORBA::Object_ptr tmp = CORBA::Object::_nil (); - + if (stub->servant_orb_var ()->orb_core ()->optimize_collocation_objects ()) - ACE_NEW_RETURN (tmp, CORBA::Object (stub, 1, this), 0); + { + ACE_NEW_RETURN ( + tmp, + CORBA::Object ( + stub, + 1, + this + ), + 0 + ); + } else - ACE_NEW_RETURN (tmp, CORBA::Object (stub, 0, this), 0); - + { + ACE_NEW_RETURN ( + tmp, + CORBA::Object ( + stub, + 0, + this + ), + 0 + ); + } + CORBA::Object_var obj = tmp; - (void) safe_stub.release (); - return ::ImplementationRepository::ServerInformationIterator::_unchecked_narrow (obj.in ()); } - - - #endif /* ifndef */ diff --git a/TAO/tao/PortableServer/ImplRepoS.h b/TAO/tao/PortableServer/ImplRepoS.h index 870f2188194..72624f4e987 100644 --- a/TAO/tao/PortableServer/ImplRepoS.h +++ b/TAO/tao/PortableServer/ImplRepoS.h @@ -19,13 +19,15 @@ // Information about TAO is available at: // http://www.cs.wustl.edu/~schmidt/TAO.html -#ifndef _TAO_IDL_IMPLREPOS_H_ -#define _TAO_IDL_IMPLREPOS_H_ +// TAO_IDL - Generated from +// be/be_codegen.cpp:443 + +#ifndef _TAO_IDL_ORIG_IMPLREPOS_H_ +#define _TAO_IDL_ORIG_IMPLREPOS_H_ #include "ace/pre.h" #include "ImplRepoC.h" - #if !defined (ACE_LACKS_PRAGMA_ONCE) # pragma once #endif /* ACE_LACKS_PRAGMA_ONCE */ @@ -47,11 +49,17 @@ #pragma option push -w-rvl -w-rch -w-ccc -w-inl #endif /* __BORLANDC__ */ +// TAO_IDL - Generated from +// be/be_visitor_module/module_sh.cpp:49 + TAO_NAMESPACE POA_ImplementationRepository { + // TAO_IDL - Generated from + // be/be_visitor_interface/interface_sh.cpp:86 + class ServerObject; typedef ServerObject *ServerObject_ptr; - // Forward Classes Declaration + class _TAO_ServerObject_ThruPOA_Proxy_Impl; class _TAO_ServerObject_Direct_Proxy_Impl; class _TAO_ServerObject_Strategized_Proxy_Broker; @@ -61,92 +69,102 @@ TAO_NAMESPACE POA_ImplementationRepository { protected: ServerObject (void); - + public: ServerObject (const ServerObject& rhs); virtual ~ServerObject (void); - - + virtual CORBA::Boolean _is_a ( const char* logical_type_id ACE_ENV_ARG_DECL_WITH_DEFAULTS ); - + virtual void* _downcast ( const char* logical_type_id ); - + static void _is_a_skel ( TAO_ServerRequest &req, - void *obj, + void *servant, void *servant_upcall ACE_ENV_ARG_DECL ); - + static void _non_existent_skel ( TAO_ServerRequest &req, - void *obj, + void *servant, void *servant_upcall ACE_ENV_ARG_DECL ); - + static void _interface_skel ( TAO_ServerRequest &req, + void *servant, + void *servant_upcall + ACE_ENV_ARG_DECL + ); + + static void _component_skel ( + TAO_ServerRequest &req, void *obj, void *servant_upcall ACE_ENV_ARG_DECL ); - + virtual void _dispatch ( TAO_ServerRequest &req, void *_servant_upcall ACE_ENV_ARG_DECL ); - + ::ImplementationRepository::ServerObject *_this ( ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS ); - + virtual const char* _interface_repository_id (void) const; - + + // TAO_IDL - Generated from + // be/be_visitor_operation/operation_sh.cpp:45 + virtual void ping ( - ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS ) ACE_THROW_SPEC (( CORBA::SystemException )) = 0; - static void ping_skel ( + static void ping_skel ( TAO_ServerRequest &_tao_req, - void *_tao_obj, + void *_tao_servant, void *_tao_servant_upcall ACE_ENV_ARG_DECL ); - + + // TAO_IDL - Generated from + // be/be_visitor_operation/operation_sh.cpp:45 + virtual void shutdown ( - ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS ) ACE_THROW_SPEC (( CORBA::SystemException )) = 0; - static void shutdown_skel ( + static void shutdown_skel ( TAO_ServerRequest &_tao_req, - void *_tao_obj, + void *_tao_servant, void *_tao_servant_upcall ACE_ENV_ARG_DECL ); - - - }; - + }; /////////////////////////////////////////////////////////////////////// // Strategized Proxy Broker Declaration // + // TAO_IDL - Generated from + // be/be_visitor_interface/strategized_proxy_broker_sh.cpp:39 + class TAO_PortableServer_Export _TAO_ServerObject_Strategized_Proxy_Broker : public virtual ::ImplementationRepository::_TAO_ServerObject_Proxy_Broker { public: @@ -182,7 +200,6 @@ TAO_NAMESPACE POA_ImplementationRepository static _TAO_ServerObject_Strategized_Proxy_Broker *the_TAO_ServerObject_Strategized_Proxy_Broker (void); }; - // // End Strategized Proxy Broker Declaration /////////////////////////////////////////////////////////////////////// @@ -192,6 +209,9 @@ TAO_NAMESPACE POA_ImplementationRepository // ThruPOA Impl. Declaration // + // TAO_IDL - Generated from + // be/be_visitor_interface/thru_poa_proxy_impl_sh.cpp:37 + class TAO_PortableServer_Export _TAO_ServerObject_ThruPOA_Proxy_Impl : public virtual ::ImplementationRepository::_TAO_ServerObject_Proxy_Impl, public virtual TAO_ThruPOA_Object_Proxy_Impl @@ -199,7 +219,10 @@ TAO_NAMESPACE POA_ImplementationRepository public: _TAO_ServerObject_ThruPOA_Proxy_Impl (void); - virtual ~_TAO_ServerObject_ThruPOA_Proxy_Impl (void) { } + virtual ~_TAO_ServerObject_ThruPOA_Proxy_Impl (void) {} + + // TAO_IDL - Generated from + // be/be_visitor_operation/proxy_impl_xh.cpp:24 virtual void ping ( CORBA_Object *_collocated_tao_target_ @@ -209,6 +232,9 @@ TAO_NAMESPACE POA_ImplementationRepository CORBA::SystemException )); + // TAO_IDL - Generated from + // be/be_visitor_operation/proxy_impl_xh.cpp:24 + virtual void shutdown ( CORBA_Object *_collocated_tao_target_ ACE_ENV_ARG_DECL @@ -216,15 +242,11 @@ TAO_NAMESPACE POA_ImplementationRepository ACE_THROW_SPEC (( CORBA::SystemException )); - - }; // // ThruPOA Proxy Impl. Declaration /////////////////////////////////////////////////////////////////////// - - /////////////////////////////////////////////////////////////////////// // Direct Impl. Declaration // @@ -236,7 +258,10 @@ class TAO_PortableServer_Export _TAO_ServerObject_Direct_Proxy_Impl : public: _TAO_ServerObject_Direct_Proxy_Impl (void); - virtual ~_TAO_ServerObject_Direct_Proxy_Impl (void) { } + virtual ~_TAO_ServerObject_Direct_Proxy_Impl (void) {} + + // TAO_IDL - Generated from + // be/be_visitor_operation/proxy_impl_xh.cpp:24 virtual void ping ( CORBA_Object *_collocated_tao_target_ @@ -246,25 +271,28 @@ public: CORBA::SystemException )); + // TAO_IDL - Generated from + // be/be_visitor_operation/proxy_impl_xh.cpp:24 + virtual void shutdown ( CORBA_Object *_collocated_tao_target_ ACE_ENV_ARG_DECL ) ACE_THROW_SPEC (( CORBA::SystemException - )); - - }; + ));}; // // Direct Proxy Impl. Declaration /////////////////////////////////////////////////////////////////////// +// TAO_IDL - Generated from +// be/be_visitor_interface/interface_sh.cpp:86 class Administration; typedef Administration *Administration_ptr; -// Forward Classes Declaration + class _TAO_Administration_ThruPOA_Proxy_Impl; class _TAO_Administration_Direct_Proxy_Impl; class _TAO_Administration_Strategized_Proxy_Broker; @@ -278,50 +306,59 @@ protected: public: Administration (const Administration& rhs); virtual ~Administration (void); - - + virtual CORBA::Boolean _is_a ( const char* logical_type_id ACE_ENV_ARG_DECL_WITH_DEFAULTS ); - + virtual void* _downcast ( const char* logical_type_id ); - + static void _is_a_skel ( TAO_ServerRequest &req, - void *obj, + void *servant, void *servant_upcall ACE_ENV_ARG_DECL ); - + static void _non_existent_skel ( TAO_ServerRequest &req, - void *obj, + void *servant, void *servant_upcall ACE_ENV_ARG_DECL ); - + static void _interface_skel ( TAO_ServerRequest &req, + void *servant, + void *servant_upcall + ACE_ENV_ARG_DECL + ); + + static void _component_skel ( + TAO_ServerRequest &req, void *obj, void *servant_upcall ACE_ENV_ARG_DECL ); - + virtual void _dispatch ( TAO_ServerRequest &req, void *_servant_upcall ACE_ENV_ARG_DECL ); - + ::ImplementationRepository::Administration *_this ( ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS ); - + virtual const char* _interface_repository_id (void) const; - + + // TAO_IDL - Generated from + // be/be_visitor_operation/operation_sh.cpp:45 + virtual void activate_server ( const char * server ACE_ENV_ARG_DECL_WITH_DEFAULTS @@ -332,13 +369,16 @@ public: , ImplementationRepository::CannotActivate )) = 0; - static void activate_server_skel ( + static void activate_server_skel ( TAO_ServerRequest &_tao_req, - void *_tao_obj, + void *_tao_servant, void *_tao_servant_upcall ACE_ENV_ARG_DECL ); - + + // TAO_IDL - Generated from + // be/be_visitor_operation/operation_sh.cpp:45 + virtual char * activate_server_with_startup ( const char * server, CORBA::Long check_startup @@ -350,13 +390,16 @@ public: , ImplementationRepository::CannotActivate )) = 0; - static void activate_server_with_startup_skel ( + static void activate_server_with_startup_skel ( TAO_ServerRequest &_tao_req, - void *_tao_obj, + void *_tao_servant, void *_tao_servant_upcall ACE_ENV_ARG_DECL ); - + + // TAO_IDL - Generated from + // be/be_visitor_operation/operation_sh.cpp:45 + virtual void register_server ( const char * server, const ImplementationRepository::StartupOptions & options @@ -367,13 +410,16 @@ public: , ImplementationRepository::AlreadyRegistered )) = 0; - static void register_server_skel ( + static void register_server_skel ( TAO_ServerRequest &_tao_req, - void *_tao_obj, + void *_tao_servant, void *_tao_servant_upcall ACE_ENV_ARG_DECL ); - + + // TAO_IDL - Generated from + // be/be_visitor_operation/operation_sh.cpp:45 + virtual void reregister_server ( const char * server, const ImplementationRepository::StartupOptions & options @@ -383,13 +429,16 @@ public: CORBA::SystemException )) = 0; - static void reregister_server_skel ( + static void reregister_server_skel ( TAO_ServerRequest &_tao_req, - void *_tao_obj, + void *_tao_servant, void *_tao_servant_upcall ACE_ENV_ARG_DECL ); - + + // TAO_IDL - Generated from + // be/be_visitor_operation/operation_sh.cpp:45 + virtual void remove_server ( const char * server ACE_ENV_ARG_DECL_WITH_DEFAULTS @@ -399,13 +448,16 @@ public: , ImplementationRepository::NotFound )) = 0; - static void remove_server_skel ( + static void remove_server_skel ( TAO_ServerRequest &_tao_req, - void *_tao_obj, + void *_tao_servant, void *_tao_servant_upcall ACE_ENV_ARG_DECL ); - + + // TAO_IDL - Generated from + // be/be_visitor_operation/operation_sh.cpp:45 + virtual void shutdown_server ( const char * server ACE_ENV_ARG_DECL_WITH_DEFAULTS @@ -415,13 +467,16 @@ public: , ImplementationRepository::NotFound )) = 0; - static void shutdown_server_skel ( + static void shutdown_server_skel ( TAO_ServerRequest &_tao_req, - void *_tao_obj, + void *_tao_servant, void *_tao_servant_upcall ACE_ENV_ARG_DECL ); - + + // TAO_IDL - Generated from + // be/be_visitor_operation/operation_sh.cpp:45 + virtual char * server_is_running ( const char * server, const char * addr, @@ -433,13 +488,16 @@ public: , ImplementationRepository::NotFound )) = 0; - static void server_is_running_skel ( + static void server_is_running_skel ( TAO_ServerRequest &_tao_req, - void *_tao_obj, + void *_tao_servant, void *_tao_servant_upcall ACE_ENV_ARG_DECL ); - + + // TAO_IDL - Generated from + // be/be_visitor_operation/operation_sh.cpp:45 + virtual void server_is_shutting_down ( const char * server ACE_ENV_ARG_DECL_WITH_DEFAULTS @@ -449,13 +507,16 @@ public: , ImplementationRepository::NotFound )) = 0; - static void server_is_shutting_down_skel ( + static void server_is_shutting_down_skel ( TAO_ServerRequest &_tao_req, - void *_tao_obj, + void *_tao_servant, void *_tao_servant_upcall ACE_ENV_ARG_DECL ); - + + // TAO_IDL - Generated from + // be/be_visitor_operation/operation_sh.cpp:45 + virtual void find ( const char * server, ImplementationRepository::ServerInformation_out info @@ -466,13 +527,16 @@ public: , ImplementationRepository::NotFound )) = 0; - static void find_skel ( + static void find_skel ( TAO_ServerRequest &_tao_req, - void *_tao_obj, + void *_tao_servant, void *_tao_servant_upcall ACE_ENV_ARG_DECL ); - + + // TAO_IDL - Generated from + // be/be_visitor_operation/operation_sh.cpp:45 + virtual void list ( CORBA::ULong how_many, ImplementationRepository::ServerInformationList_out server_list, @@ -483,21 +547,21 @@ public: CORBA::SystemException )) = 0; - static void list_skel ( + static void list_skel ( TAO_ServerRequest &_tao_req, - void *_tao_obj, + void *_tao_servant, void *_tao_servant_upcall ACE_ENV_ARG_DECL ); - - }; - /////////////////////////////////////////////////////////////////////// // Strategized Proxy Broker Declaration // +// TAO_IDL - Generated from +// be/be_visitor_interface/strategized_proxy_broker_sh.cpp:39 + class TAO_PortableServer_Export _TAO_Administration_Strategized_Proxy_Broker : public virtual ::ImplementationRepository::_TAO_Administration_Proxy_Broker { public: @@ -533,7 +597,6 @@ public: static _TAO_Administration_Strategized_Proxy_Broker *the_TAO_Administration_Strategized_Proxy_Broker (void); }; - // // End Strategized Proxy Broker Declaration /////////////////////////////////////////////////////////////////////// @@ -543,6 +606,9 @@ public: // ThruPOA Impl. Declaration // +// TAO_IDL - Generated from +// be/be_visitor_interface/thru_poa_proxy_impl_sh.cpp:37 + class TAO_PortableServer_Export _TAO_Administration_ThruPOA_Proxy_Impl : public virtual ::ImplementationRepository::_TAO_Administration_Proxy_Impl, public virtual TAO_ThruPOA_Object_Proxy_Impl @@ -550,7 +616,10 @@ class TAO_PortableServer_Export _TAO_Administration_ThruPOA_Proxy_Impl : public: _TAO_Administration_ThruPOA_Proxy_Impl (void); - virtual ~_TAO_Administration_ThruPOA_Proxy_Impl (void) { } + virtual ~_TAO_Administration_ThruPOA_Proxy_Impl (void) {} + + // TAO_IDL - Generated from + // be/be_visitor_operation/proxy_impl_xh.cpp:24 virtual void activate_server ( CORBA_Object *_collocated_tao_target_, @@ -563,6 +632,9 @@ public: , ImplementationRepository::CannotActivate )); + // TAO_IDL - Generated from + // be/be_visitor_operation/proxy_impl_xh.cpp:24 + virtual char * activate_server_with_startup ( CORBA_Object *_collocated_tao_target_, const char * server, @@ -575,6 +647,9 @@ public: , ImplementationRepository::CannotActivate )); + // TAO_IDL - Generated from + // be/be_visitor_operation/proxy_impl_xh.cpp:24 + virtual void register_server ( CORBA_Object *_collocated_tao_target_, const char * server, @@ -586,6 +661,9 @@ public: , ImplementationRepository::AlreadyRegistered )); + // TAO_IDL - Generated from + // be/be_visitor_operation/proxy_impl_xh.cpp:24 + virtual void reregister_server ( CORBA_Object *_collocated_tao_target_, const char * server, @@ -596,6 +674,9 @@ public: CORBA::SystemException )); + // TAO_IDL - Generated from + // be/be_visitor_operation/proxy_impl_xh.cpp:24 + virtual void remove_server ( CORBA_Object *_collocated_tao_target_, const char * server @@ -606,6 +687,9 @@ public: , ImplementationRepository::NotFound )); + // TAO_IDL - Generated from + // be/be_visitor_operation/proxy_impl_xh.cpp:24 + virtual void shutdown_server ( CORBA_Object *_collocated_tao_target_, const char * server @@ -616,6 +700,9 @@ public: , ImplementationRepository::NotFound )); + // TAO_IDL - Generated from + // be/be_visitor_operation/proxy_impl_xh.cpp:24 + virtual char * server_is_running ( CORBA_Object *_collocated_tao_target_, const char * server, @@ -628,6 +715,9 @@ public: , ImplementationRepository::NotFound )); + // TAO_IDL - Generated from + // be/be_visitor_operation/proxy_impl_xh.cpp:24 + virtual void server_is_shutting_down ( CORBA_Object *_collocated_tao_target_, const char * server @@ -638,6 +728,9 @@ public: , ImplementationRepository::NotFound )); + // TAO_IDL - Generated from + // be/be_visitor_operation/proxy_impl_xh.cpp:24 + virtual void find ( CORBA_Object *_collocated_tao_target_, const char * server, @@ -649,6 +742,9 @@ public: , ImplementationRepository::NotFound )); + // TAO_IDL - Generated from + // be/be_visitor_operation/proxy_impl_xh.cpp:24 + virtual void list ( CORBA_Object *_collocated_tao_target_, CORBA::ULong how_many, @@ -659,15 +755,11 @@ public: ACE_THROW_SPEC (( CORBA::SystemException )); - - }; // // ThruPOA Proxy Impl. Declaration /////////////////////////////////////////////////////////////////////// - - /////////////////////////////////////////////////////////////////////// // Direct Impl. Declaration // @@ -679,7 +771,10 @@ class TAO_PortableServer_Export _TAO_Administration_Direct_Proxy_Impl : public: _TAO_Administration_Direct_Proxy_Impl (void); - virtual ~_TAO_Administration_Direct_Proxy_Impl (void) { } + virtual ~_TAO_Administration_Direct_Proxy_Impl (void) {} + + // TAO_IDL - Generated from + // be/be_visitor_operation/proxy_impl_xh.cpp:24 virtual void activate_server ( CORBA_Object *_collocated_tao_target_, @@ -692,6 +787,9 @@ public: , ImplementationRepository::CannotActivate )); + // TAO_IDL - Generated from + // be/be_visitor_operation/proxy_impl_xh.cpp:24 + virtual char * activate_server_with_startup ( CORBA_Object *_collocated_tao_target_, const char * server, @@ -704,6 +802,9 @@ public: , ImplementationRepository::CannotActivate )); + // TAO_IDL - Generated from + // be/be_visitor_operation/proxy_impl_xh.cpp:24 + virtual void register_server ( CORBA_Object *_collocated_tao_target_, const char * server, @@ -715,6 +816,9 @@ public: , ImplementationRepository::AlreadyRegistered )); + // TAO_IDL - Generated from + // be/be_visitor_operation/proxy_impl_xh.cpp:24 + virtual void reregister_server ( CORBA_Object *_collocated_tao_target_, const char * server, @@ -725,6 +829,9 @@ public: CORBA::SystemException )); + // TAO_IDL - Generated from + // be/be_visitor_operation/proxy_impl_xh.cpp:24 + virtual void remove_server ( CORBA_Object *_collocated_tao_target_, const char * server @@ -735,6 +842,9 @@ public: , ImplementationRepository::NotFound )); + // TAO_IDL - Generated from + // be/be_visitor_operation/proxy_impl_xh.cpp:24 + virtual void shutdown_server ( CORBA_Object *_collocated_tao_target_, const char * server @@ -745,6 +855,9 @@ public: , ImplementationRepository::NotFound )); + // TAO_IDL - Generated from + // be/be_visitor_operation/proxy_impl_xh.cpp:24 + virtual char * server_is_running ( CORBA_Object *_collocated_tao_target_, const char * server, @@ -757,6 +870,9 @@ public: , ImplementationRepository::NotFound )); + // TAO_IDL - Generated from + // be/be_visitor_operation/proxy_impl_xh.cpp:24 + virtual void server_is_shutting_down ( CORBA_Object *_collocated_tao_target_, const char * server @@ -767,6 +883,9 @@ public: , ImplementationRepository::NotFound )); + // TAO_IDL - Generated from + // be/be_visitor_operation/proxy_impl_xh.cpp:24 + virtual void find ( CORBA_Object *_collocated_tao_target_, const char * server, @@ -778,6 +897,9 @@ public: , ImplementationRepository::NotFound )); + // TAO_IDL - Generated from + // be/be_visitor_operation/proxy_impl_xh.cpp:24 + virtual void list ( CORBA_Object *_collocated_tao_target_, CORBA::ULong how_many, @@ -787,19 +909,19 @@ public: ) ACE_THROW_SPEC (( CORBA::SystemException - )); - - }; + ));}; // // Direct Proxy Impl. Declaration /////////////////////////////////////////////////////////////////////// +// TAO_IDL - Generated from +// be/be_visitor_interface/interface_sh.cpp:86 class ServerInformationIterator; typedef ServerInformationIterator *ServerInformationIterator_ptr; -// Forward Classes Declaration + class _TAO_ServerInformationIterator_ThruPOA_Proxy_Impl; class _TAO_ServerInformationIterator_Direct_Proxy_Impl; class _TAO_ServerInformationIterator_Strategized_Proxy_Broker; @@ -813,50 +935,59 @@ protected: public: ServerInformationIterator (const ServerInformationIterator& rhs); virtual ~ServerInformationIterator (void); - - + virtual CORBA::Boolean _is_a ( const char* logical_type_id ACE_ENV_ARG_DECL_WITH_DEFAULTS ); - + virtual void* _downcast ( const char* logical_type_id ); - + static void _is_a_skel ( TAO_ServerRequest &req, - void *obj, + void *servant, void *servant_upcall ACE_ENV_ARG_DECL ); - + static void _non_existent_skel ( TAO_ServerRequest &req, - void *obj, + void *servant, void *servant_upcall ACE_ENV_ARG_DECL ); - + static void _interface_skel ( TAO_ServerRequest &req, + void *servant, + void *servant_upcall + ACE_ENV_ARG_DECL + ); + + static void _component_skel ( + TAO_ServerRequest &req, void *obj, void *servant_upcall ACE_ENV_ARG_DECL ); - + virtual void _dispatch ( TAO_ServerRequest &req, void *_servant_upcall ACE_ENV_ARG_DECL ); - + ::ImplementationRepository::ServerInformationIterator *_this ( ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS ); - + virtual const char* _interface_repository_id (void) const; - + + // TAO_IDL - Generated from + // be/be_visitor_operation/operation_sh.cpp:45 + virtual CORBA::Boolean next_n ( CORBA::ULong how_many, ImplementationRepository::ServerInformationList_out server_list @@ -866,36 +997,38 @@ public: CORBA::SystemException )) = 0; - static void next_n_skel ( + static void next_n_skel ( TAO_ServerRequest &_tao_req, - void *_tao_obj, + void *_tao_servant, void *_tao_servant_upcall ACE_ENV_ARG_DECL ); - + + // TAO_IDL - Generated from + // be/be_visitor_operation/operation_sh.cpp:45 + virtual void destroy ( - ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS ) ACE_THROW_SPEC (( CORBA::SystemException )) = 0; - static void destroy_skel ( + static void destroy_skel ( TAO_ServerRequest &_tao_req, - void *_tao_obj, + void *_tao_servant, void *_tao_servant_upcall ACE_ENV_ARG_DECL ); - - }; - /////////////////////////////////////////////////////////////////////// // Strategized Proxy Broker Declaration // +// TAO_IDL - Generated from +// be/be_visitor_interface/strategized_proxy_broker_sh.cpp:39 + class TAO_PortableServer_Export _TAO_ServerInformationIterator_Strategized_Proxy_Broker : public virtual ::ImplementationRepository::_TAO_ServerInformationIterator_Proxy_Broker { public: @@ -931,7 +1064,6 @@ public: static _TAO_ServerInformationIterator_Strategized_Proxy_Broker *the_TAO_ServerInformationIterator_Strategized_Proxy_Broker (void); }; - // // End Strategized Proxy Broker Declaration /////////////////////////////////////////////////////////////////////// @@ -941,6 +1073,9 @@ public: // ThruPOA Impl. Declaration // +// TAO_IDL - Generated from +// be/be_visitor_interface/thru_poa_proxy_impl_sh.cpp:37 + class TAO_PortableServer_Export _TAO_ServerInformationIterator_ThruPOA_Proxy_Impl : public virtual ::ImplementationRepository::_TAO_ServerInformationIterator_Proxy_Impl, public virtual TAO_ThruPOA_Object_Proxy_Impl @@ -948,7 +1083,10 @@ class TAO_PortableServer_Export _TAO_ServerInformationIterator_ThruPOA_Proxy_Imp public: _TAO_ServerInformationIterator_ThruPOA_Proxy_Impl (void); - virtual ~_TAO_ServerInformationIterator_ThruPOA_Proxy_Impl (void) { } + virtual ~_TAO_ServerInformationIterator_ThruPOA_Proxy_Impl (void) {} + + // TAO_IDL - Generated from + // be/be_visitor_operation/proxy_impl_xh.cpp:24 virtual CORBA::Boolean next_n ( CORBA_Object *_collocated_tao_target_, @@ -960,6 +1098,9 @@ public: CORBA::SystemException )); + // TAO_IDL - Generated from + // be/be_visitor_operation/proxy_impl_xh.cpp:24 + virtual void destroy ( CORBA_Object *_collocated_tao_target_ ACE_ENV_ARG_DECL @@ -967,15 +1108,11 @@ public: ACE_THROW_SPEC (( CORBA::SystemException )); - - }; // // ThruPOA Proxy Impl. Declaration /////////////////////////////////////////////////////////////////////// - - /////////////////////////////////////////////////////////////////////// // Direct Impl. Declaration // @@ -987,7 +1124,10 @@ class TAO_PortableServer_Export _TAO_ServerInformationIterator_Direct_Proxy_Impl public: _TAO_ServerInformationIterator_Direct_Proxy_Impl (void); - virtual ~_TAO_ServerInformationIterator_Direct_Proxy_Impl (void) { } + virtual ~_TAO_ServerInformationIterator_Direct_Proxy_Impl (void) {} + + // TAO_IDL - Generated from + // be/be_visitor_operation/proxy_impl_xh.cpp:24 virtual CORBA::Boolean next_n ( CORBA_Object *_collocated_tao_target_, @@ -999,15 +1139,16 @@ public: CORBA::SystemException )); + // TAO_IDL - Generated from + // be/be_visitor_operation/proxy_impl_xh.cpp:24 + virtual void destroy ( CORBA_Object *_collocated_tao_target_ ACE_ENV_ARG_DECL ) ACE_THROW_SPEC (( CORBA::SystemException - )); - - }; + ));}; // @@ -1015,9 +1156,16 @@ public: /////////////////////////////////////////////////////////////////////// + +// TAO_IDL - Generated from +// be/be_visitor_module/module_sh.cpp:80 + } TAO_NAMESPACE_CLOSE // module ImplementationRepository +// TAO_IDL - Generated from +// be/be_codegen.cpp:1044 + #include "ImplRepoS_T.h" #if defined (__ACE_INLINE__) diff --git a/TAO/tao/PortableServer/ImplRepoS.i b/TAO/tao/PortableServer/ImplRepoS.i index f455a06b8f0..e86a7e25a26 100644 --- a/TAO/tao/PortableServer/ImplRepoS.i +++ b/TAO/tao/PortableServer/ImplRepoS.i @@ -19,3 +19,4 @@ // Information about TAO is available at: // http://www.cs.wustl.edu/~schmidt/TAO.html + diff --git a/TAO/tao/PortableServer/ImplRepoS_T.cpp b/TAO/tao/PortableServer/ImplRepoS_T.cpp index 016d28b09a2..23710f574e7 100644 --- a/TAO/tao/PortableServer/ImplRepoS_T.cpp +++ b/TAO/tao/PortableServer/ImplRepoS_T.cpp @@ -19,8 +19,11 @@ // Information about TAO is available at: // http://www.cs.wustl.edu/~schmidt/TAO.html -#ifndef _TAO_IDL_IMPLREPOS_T_CPP_ -#define _TAO_IDL_IMPLREPOS_T_CPP_ +// TAO_IDL - Generated from +// be/be_codegen.cpp:777 + +#ifndef _TAO_IDL_ORIG_IMPLREPOS_T_CPP_ +#define _TAO_IDL_ORIG_IMPLREPOS_T_CPP_ #include "ImplRepoS_T.h" diff --git a/TAO/tao/PortableServer/ImplRepoS_T.h b/TAO/tao/PortableServer/ImplRepoS_T.h index 98b3f91a85a..cd28c10c9ad 100644 --- a/TAO/tao/PortableServer/ImplRepoS_T.h +++ b/TAO/tao/PortableServer/ImplRepoS_T.h @@ -19,10 +19,14 @@ // Information about TAO is available at: // http://www.cs.wustl.edu/~schmidt/TAO.html -#ifndef _TAO_IDL_IMPLREPOS_T_H_ -#define _TAO_IDL_IMPLREPOS_T_H_ +// TAO_IDL - Generated from +// be/be_codegen.cpp:604 + +#ifndef _TAO_IDL_ORIG_IMPLREPOS_T_H_ +#define _TAO_IDL_ORIG_IMPLREPOS_T_H_ #include "ace/pre.h" + #if defined(_MSC_VER) #if (_MSC_VER >= 1200) #pragma warning(push) @@ -30,9 +34,17 @@ #pragma warning(disable:4250) #endif /* _MSC_VER */ + +// TAO_IDL - Generated from +// be/be_visitor_root/root_sth.cpp:116 + #if defined (ACE_HAS_USING_KEYWORD) TAO_NAMESPACE POA_ImplementationRepository { + + // TAO_IDL - Generated from + // be/be_visitor_interface/tie_sh.cpp:87 + // TIE class: Refer to CORBA v2.2, Section 20.34.4 template <class T> class ServerObject_tie : public ServerObject @@ -42,9 +54,13 @@ TAO_NAMESPACE POA_ImplementationRepository // the T& ctor ServerObject_tie (T &t, PortableServer::POA_ptr poa); // ctor taking a POA - ServerObject_tie (T *tp, CORBA::Boolean release=1); + ServerObject_tie (T *tp, CORBA::Boolean release = 1); // ctor taking pointer and an ownership flag - ServerObject_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release=1); + ServerObject_tie ( + T *tp, + PortableServer::POA_ptr poa, + CORBA::Boolean release = 1 + ); // ctor with T*, ownership flag and a POA ~ServerObject_tie (void); // dtor @@ -54,7 +70,7 @@ TAO_NAMESPACE POA_ImplementationRepository // return the underlying object void _tied_object (T &obj); // set the underlying object - void _tied_object (T *obj, CORBA::Boolean release=1); + void _tied_object (T *obj, CORBA::Boolean release = 1); // set the underlying object and the ownership flag CORBA::Boolean _is_owner (void); // do we own it @@ -65,23 +81,28 @@ TAO_NAMESPACE POA_ImplementationRepository PortableServer::POA_ptr _default_POA ( ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS ); + + // TAO_IDL - Generated from + // be/be_visitor_operation/tie_sh.cpp:60 + void ping ( - ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS ) ACE_THROW_SPEC (( CORBA::SystemException )); - void shutdown ( - + // TAO_IDL - Generated from + // be/be_visitor_operation/tie_sh.cpp:60 + + void shutdown ( ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS ) ACE_THROW_SPEC (( CORBA::SystemException )); - - private: + + private: T *ptr_; PortableServer::POA_var poa_; CORBA::Boolean rel_; @@ -90,7 +111,10 @@ TAO_NAMESPACE POA_ImplementationRepository ServerObject_tie (const ServerObject_tie &); void operator= (const ServerObject_tie &); }; - + + // TAO_IDL - Generated from + // be/be_visitor_interface/tie_sh.cpp:87 + // TIE class: Refer to CORBA v2.2, Section 20.34.4 template <class T> class Administration_tie : public Administration @@ -100,9 +124,13 @@ TAO_NAMESPACE POA_ImplementationRepository // the T& ctor Administration_tie (T &t, PortableServer::POA_ptr poa); // ctor taking a POA - Administration_tie (T *tp, CORBA::Boolean release=1); + Administration_tie (T *tp, CORBA::Boolean release = 1); // ctor taking pointer and an ownership flag - Administration_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release=1); + Administration_tie ( + T *tp, + PortableServer::POA_ptr poa, + CORBA::Boolean release = 1 + ); // ctor with T*, ownership flag and a POA ~Administration_tie (void); // dtor @@ -112,7 +140,7 @@ TAO_NAMESPACE POA_ImplementationRepository // return the underlying object void _tied_object (T &obj); // set the underlying object - void _tied_object (T *obj, CORBA::Boolean release=1); + void _tied_object (T *obj, CORBA::Boolean release = 1); // set the underlying object and the ownership flag CORBA::Boolean _is_owner (void); // do we own it @@ -123,6 +151,10 @@ TAO_NAMESPACE POA_ImplementationRepository PortableServer::POA_ptr _default_POA ( ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS ); + + // TAO_IDL - Generated from + // be/be_visitor_operation/tie_sh.cpp:60 + void activate_server ( const char * server ACE_ENV_ARG_DECL_WITH_DEFAULTS @@ -133,7 +165,10 @@ TAO_NAMESPACE POA_ImplementationRepository , ImplementationRepository::CannotActivate )); - char * activate_server_with_startup ( + // TAO_IDL - Generated from + // be/be_visitor_operation/tie_sh.cpp:60 + + char * activate_server_with_startup ( const char * server, CORBA::Long check_startup ACE_ENV_ARG_DECL_WITH_DEFAULTS @@ -144,7 +179,10 @@ TAO_NAMESPACE POA_ImplementationRepository , ImplementationRepository::CannotActivate )); - void register_server ( + // TAO_IDL - Generated from + // be/be_visitor_operation/tie_sh.cpp:60 + + void register_server ( const char * server, const ImplementationRepository::StartupOptions & options ACE_ENV_ARG_DECL_WITH_DEFAULTS @@ -154,7 +192,10 @@ TAO_NAMESPACE POA_ImplementationRepository , ImplementationRepository::AlreadyRegistered )); - void reregister_server ( + // TAO_IDL - Generated from + // be/be_visitor_operation/tie_sh.cpp:60 + + void reregister_server ( const char * server, const ImplementationRepository::StartupOptions & options ACE_ENV_ARG_DECL_WITH_DEFAULTS @@ -163,7 +204,10 @@ TAO_NAMESPACE POA_ImplementationRepository CORBA::SystemException )); - void remove_server ( + // TAO_IDL - Generated from + // be/be_visitor_operation/tie_sh.cpp:60 + + void remove_server ( const char * server ACE_ENV_ARG_DECL_WITH_DEFAULTS ) @@ -172,7 +216,10 @@ TAO_NAMESPACE POA_ImplementationRepository , ImplementationRepository::NotFound )); - void shutdown_server ( + // TAO_IDL - Generated from + // be/be_visitor_operation/tie_sh.cpp:60 + + void shutdown_server ( const char * server ACE_ENV_ARG_DECL_WITH_DEFAULTS ) @@ -181,7 +228,10 @@ TAO_NAMESPACE POA_ImplementationRepository , ImplementationRepository::NotFound )); - char * server_is_running ( + // TAO_IDL - Generated from + // be/be_visitor_operation/tie_sh.cpp:60 + + char * server_is_running ( const char * server, const char * addr, ImplementationRepository::ServerObject_ptr server_object @@ -192,7 +242,10 @@ TAO_NAMESPACE POA_ImplementationRepository , ImplementationRepository::NotFound )); - void server_is_shutting_down ( + // TAO_IDL - Generated from + // be/be_visitor_operation/tie_sh.cpp:60 + + void server_is_shutting_down ( const char * server ACE_ENV_ARG_DECL_WITH_DEFAULTS ) @@ -201,7 +254,10 @@ TAO_NAMESPACE POA_ImplementationRepository , ImplementationRepository::NotFound )); - void find ( + // TAO_IDL - Generated from + // be/be_visitor_operation/tie_sh.cpp:60 + + void find ( const char * server, ImplementationRepository::ServerInformation_out info ACE_ENV_ARG_DECL_WITH_DEFAULTS @@ -211,7 +267,10 @@ TAO_NAMESPACE POA_ImplementationRepository , ImplementationRepository::NotFound )); - void list ( + // TAO_IDL - Generated from + // be/be_visitor_operation/tie_sh.cpp:60 + + void list ( CORBA::ULong how_many, ImplementationRepository::ServerInformationList_out server_list, ImplementationRepository::ServerInformationIterator_out server_iterator @@ -220,8 +279,8 @@ TAO_NAMESPACE POA_ImplementationRepository ACE_THROW_SPEC (( CORBA::SystemException )); - - private: + + private: T *ptr_; PortableServer::POA_var poa_; CORBA::Boolean rel_; @@ -230,7 +289,10 @@ TAO_NAMESPACE POA_ImplementationRepository Administration_tie (const Administration_tie &); void operator= (const Administration_tie &); }; - + + // TAO_IDL - Generated from + // be/be_visitor_interface/tie_sh.cpp:87 + // TIE class: Refer to CORBA v2.2, Section 20.34.4 template <class T> class ServerInformationIterator_tie : public ServerInformationIterator @@ -240,9 +302,13 @@ TAO_NAMESPACE POA_ImplementationRepository // the T& ctor ServerInformationIterator_tie (T &t, PortableServer::POA_ptr poa); // ctor taking a POA - ServerInformationIterator_tie (T *tp, CORBA::Boolean release=1); + ServerInformationIterator_tie (T *tp, CORBA::Boolean release = 1); // ctor taking pointer and an ownership flag - ServerInformationIterator_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release=1); + ServerInformationIterator_tie ( + T *tp, + PortableServer::POA_ptr poa, + CORBA::Boolean release = 1 + ); // ctor with T*, ownership flag and a POA ~ServerInformationIterator_tie (void); // dtor @@ -252,7 +318,7 @@ TAO_NAMESPACE POA_ImplementationRepository // return the underlying object void _tied_object (T &obj); // set the underlying object - void _tied_object (T *obj, CORBA::Boolean release=1); + void _tied_object (T *obj, CORBA::Boolean release = 1); // set the underlying object and the ownership flag CORBA::Boolean _is_owner (void); // do we own it @@ -263,6 +329,10 @@ TAO_NAMESPACE POA_ImplementationRepository PortableServer::POA_ptr _default_POA ( ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS ); + + // TAO_IDL - Generated from + // be/be_visitor_operation/tie_sh.cpp:60 + CORBA::Boolean next_n ( CORBA::ULong how_many, ImplementationRepository::ServerInformationList_out server_list @@ -272,15 +342,17 @@ TAO_NAMESPACE POA_ImplementationRepository CORBA::SystemException )); - void destroy ( - + // TAO_IDL - Generated from + // be/be_visitor_operation/tie_sh.cpp:60 + + void destroy ( ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS ) ACE_THROW_SPEC (( CORBA::SystemException )); - - private: + + private: T *ptr_; PortableServer::POA_var poa_; CORBA::Boolean rel_; @@ -289,21 +361,21 @@ TAO_NAMESPACE POA_ImplementationRepository ServerInformationIterator_tie (const ServerInformationIterator_tie &); void operator= (const ServerInformationIterator_tie &); }; - } TAO_NAMESPACE_CLOSE // module ImplementationRepository #endif /* ACE_HAS_USING_KEYWORD */ +// TAO_IDL - Generated from +// be/be_codegen.cpp:1141 + #if defined (__ACE_INLINE__) #include "ImplRepoS_T.i" #endif /* defined INLINE */ - #if defined (ACE_TEMPLATES_REQUIRE_SOURCE) #include "ImplRepoS_T.cpp" #endif /* defined REQUIRED SOURCE */ - #if defined (ACE_TEMPLATES_REQUIRE_PRAGMA) #pragma implementation ("ImplRepoS_T.cpp") #endif /* defined REQUIRED PRAGMA */ diff --git a/TAO/tao/PortableServer/ImplRepoS_T.i b/TAO/tao/PortableServer/ImplRepoS_T.i index 8c7e6ebaaab..1553b9a0cdc 100644 --- a/TAO/tao/PortableServer/ImplRepoS_T.i +++ b/TAO/tao/PortableServer/ImplRepoS_T.i @@ -19,6 +19,10 @@ // Information about TAO is available at: // http://www.cs.wustl.edu/~schmidt/TAO.html + +// TAO_IDL - Generated from +// be/be_visitor_interface/tie_si.cpp:96 + #if defined (ACE_HAS_USING_KEYWORD) template <class T> ACE_INLINE @@ -52,7 +56,10 @@ POA_ImplementationRepository::ServerObject_tie<T>::ServerObject_tie (T *tp, Port template <class T> ACE_INLINE POA_ImplementationRepository::ServerObject_tie<T>::~ServerObject_tie (void) { - if (this->rel_) delete this->ptr_; + if (this->rel_) + { + delete this->ptr_; + } } template <class T> ACE_INLINE T * @@ -64,7 +71,11 @@ POA_ImplementationRepository::ServerObject_tie<T>::_tied_object (void) template <class T> ACE_INLINE void POA_ImplementationRepository::ServerObject_tie<T>::_tied_object (T &obj) { - if (this->rel_) delete this->ptr_; + if (this->rel_) + { + delete this->ptr_; + } + this->ptr_ = &obj; this->rel_ = 0; } @@ -72,7 +83,11 @@ POA_ImplementationRepository::ServerObject_tie<T>::_tied_object (T &obj) template <class T> ACE_INLINE void POA_ImplementationRepository::ServerObject_tie<T>::_tied_object (T *obj, CORBA::Boolean release) { - if (this->rel_) delete this->ptr_; + if (this->rel_) + { + delete this->ptr_; + } + this->ptr_ = obj; this->rel_ = release; } @@ -93,14 +108,18 @@ template <class T> ACE_INLINE PortableServer::POA_ptr POA_ImplementationRepository::ServerObject_tie<T>::_default_POA (ACE_ENV_SINGLE_ARG_DECL) { if (!CORBA::is_nil (this->poa_.in ())) - return PortableServer::POA::_duplicate (this->poa_.in ()); - + { + return PortableServer::POA::_duplicate (this->poa_.in ()); + } + return this->ServerObject::_default_POA (ACE_ENV_SINGLE_ARG_PARAMETER); } +// TAO_IDL - Generated from +// be/be_visitor_operation/tie_si.cpp:68 + template <class T> ACE_INLINE void POA_ImplementationRepository::ServerObject_tie<T>::ping ( - ACE_ENV_SINGLE_ARG_DECL ) ACE_THROW_SPEC (( @@ -108,13 +127,15 @@ void POA_ImplementationRepository::ServerObject_tie<T>::ping ( )) { this->ptr_->ping ( -ACE_ENV_SINGLE_ARG_PARAMETER + ACE_ENV_SINGLE_ARG_PARAMETER ); } +// TAO_IDL - Generated from +// be/be_visitor_operation/tie_si.cpp:68 + template <class T> ACE_INLINE void POA_ImplementationRepository::ServerObject_tie<T>::shutdown ( - ACE_ENV_SINGLE_ARG_DECL ) ACE_THROW_SPEC (( @@ -122,12 +143,15 @@ void POA_ImplementationRepository::ServerObject_tie<T>::shutdown ( )) { this->ptr_->shutdown ( -ACE_ENV_SINGLE_ARG_PARAMETER + ACE_ENV_SINGLE_ARG_PARAMETER ); } #endif /* ACE_HAS_USING_KEYWORD */ +// TAO_IDL - Generated from +// be/be_visitor_interface/tie_si.cpp:96 + #if defined (ACE_HAS_USING_KEYWORD) template <class T> ACE_INLINE @@ -161,7 +185,10 @@ POA_ImplementationRepository::Administration_tie<T>::Administration_tie (T *tp, template <class T> ACE_INLINE POA_ImplementationRepository::Administration_tie<T>::~Administration_tie (void) { - if (this->rel_) delete this->ptr_; + if (this->rel_) + { + delete this->ptr_; + } } template <class T> ACE_INLINE T * @@ -173,7 +200,11 @@ POA_ImplementationRepository::Administration_tie<T>::_tied_object (void) template <class T> ACE_INLINE void POA_ImplementationRepository::Administration_tie<T>::_tied_object (T &obj) { - if (this->rel_) delete this->ptr_; + if (this->rel_) + { + delete this->ptr_; + } + this->ptr_ = &obj; this->rel_ = 0; } @@ -181,7 +212,11 @@ POA_ImplementationRepository::Administration_tie<T>::_tied_object (T &obj) template <class T> ACE_INLINE void POA_ImplementationRepository::Administration_tie<T>::_tied_object (T *obj, CORBA::Boolean release) { - if (this->rel_) delete this->ptr_; + if (this->rel_) + { + delete this->ptr_; + } + this->ptr_ = obj; this->rel_ = release; } @@ -202,11 +237,16 @@ template <class T> ACE_INLINE PortableServer::POA_ptr POA_ImplementationRepository::Administration_tie<T>::_default_POA (ACE_ENV_SINGLE_ARG_DECL) { if (!CORBA::is_nil (this->poa_.in ())) - return PortableServer::POA::_duplicate (this->poa_.in ()); - + { + return PortableServer::POA::_duplicate (this->poa_.in ()); + } + return this->Administration::_default_POA (ACE_ENV_SINGLE_ARG_PARAMETER); } +// TAO_IDL - Generated from +// be/be_visitor_operation/tie_si.cpp:68 + template <class T> ACE_INLINE void POA_ImplementationRepository::Administration_tie<T>::activate_server ( const char * server @@ -219,10 +259,14 @@ void POA_ImplementationRepository::Administration_tie<T>::activate_server ( )) { this->ptr_->activate_server ( -server ACE_ENV_ARG_PARAMETER + server + ACE_ENV_ARG_PARAMETER ); } +// TAO_IDL - Generated from +// be/be_visitor_operation/tie_si.cpp:68 + template <class T> ACE_INLINE char * POA_ImplementationRepository::Administration_tie<T>::activate_server_with_startup ( const char * server, @@ -236,11 +280,15 @@ char * POA_ImplementationRepository::Administration_tie<T>::activate_server_with )) { return this->ptr_->activate_server_with_startup ( -server, - check_startup ACE_ENV_ARG_PARAMETER + server, + check_startup + ACE_ENV_ARG_PARAMETER ); } +// TAO_IDL - Generated from +// be/be_visitor_operation/tie_si.cpp:68 + template <class T> ACE_INLINE void POA_ImplementationRepository::Administration_tie<T>::register_server ( const char * server, @@ -253,11 +301,15 @@ void POA_ImplementationRepository::Administration_tie<T>::register_server ( )) { this->ptr_->register_server ( -server, - options ACE_ENV_ARG_PARAMETER + server, + options + ACE_ENV_ARG_PARAMETER ); } +// TAO_IDL - Generated from +// be/be_visitor_operation/tie_si.cpp:68 + template <class T> ACE_INLINE void POA_ImplementationRepository::Administration_tie<T>::reregister_server ( const char * server, @@ -269,11 +321,15 @@ void POA_ImplementationRepository::Administration_tie<T>::reregister_server ( )) { this->ptr_->reregister_server ( -server, - options ACE_ENV_ARG_PARAMETER + server, + options + ACE_ENV_ARG_PARAMETER ); } +// TAO_IDL - Generated from +// be/be_visitor_operation/tie_si.cpp:68 + template <class T> ACE_INLINE void POA_ImplementationRepository::Administration_tie<T>::remove_server ( const char * server @@ -285,10 +341,14 @@ void POA_ImplementationRepository::Administration_tie<T>::remove_server ( )) { this->ptr_->remove_server ( -server ACE_ENV_ARG_PARAMETER + server + ACE_ENV_ARG_PARAMETER ); } +// TAO_IDL - Generated from +// be/be_visitor_operation/tie_si.cpp:68 + template <class T> ACE_INLINE void POA_ImplementationRepository::Administration_tie<T>::shutdown_server ( const char * server @@ -300,10 +360,14 @@ void POA_ImplementationRepository::Administration_tie<T>::shutdown_server ( )) { this->ptr_->shutdown_server ( -server ACE_ENV_ARG_PARAMETER + server + ACE_ENV_ARG_PARAMETER ); } +// TAO_IDL - Generated from +// be/be_visitor_operation/tie_si.cpp:68 + template <class T> ACE_INLINE char * POA_ImplementationRepository::Administration_tie<T>::server_is_running ( const char * server, @@ -317,12 +381,16 @@ char * POA_ImplementationRepository::Administration_tie<T>::server_is_running ( )) { return this->ptr_->server_is_running ( -server, + server, addr, - server_object ACE_ENV_ARG_PARAMETER + server_object + ACE_ENV_ARG_PARAMETER ); } +// TAO_IDL - Generated from +// be/be_visitor_operation/tie_si.cpp:68 + template <class T> ACE_INLINE void POA_ImplementationRepository::Administration_tie<T>::server_is_shutting_down ( const char * server @@ -334,10 +402,14 @@ void POA_ImplementationRepository::Administration_tie<T>::server_is_shutting_dow )) { this->ptr_->server_is_shutting_down ( -server ACE_ENV_ARG_PARAMETER + server + ACE_ENV_ARG_PARAMETER ); } +// TAO_IDL - Generated from +// be/be_visitor_operation/tie_si.cpp:68 + template <class T> ACE_INLINE void POA_ImplementationRepository::Administration_tie<T>::find ( const char * server, @@ -350,11 +422,15 @@ void POA_ImplementationRepository::Administration_tie<T>::find ( )) { this->ptr_->find ( -server, - info ACE_ENV_ARG_PARAMETER + server, + info + ACE_ENV_ARG_PARAMETER ); } +// TAO_IDL - Generated from +// be/be_visitor_operation/tie_si.cpp:68 + template <class T> ACE_INLINE void POA_ImplementationRepository::Administration_tie<T>::list ( CORBA::ULong how_many, @@ -367,14 +443,18 @@ void POA_ImplementationRepository::Administration_tie<T>::list ( )) { this->ptr_->list ( -how_many, + how_many, server_list, - server_iterator ACE_ENV_ARG_PARAMETER + server_iterator + ACE_ENV_ARG_PARAMETER ); } #endif /* ACE_HAS_USING_KEYWORD */ +// TAO_IDL - Generated from +// be/be_visitor_interface/tie_si.cpp:96 + #if defined (ACE_HAS_USING_KEYWORD) template <class T> ACE_INLINE @@ -408,7 +488,10 @@ POA_ImplementationRepository::ServerInformationIterator_tie<T>::ServerInformatio template <class T> ACE_INLINE POA_ImplementationRepository::ServerInformationIterator_tie<T>::~ServerInformationIterator_tie (void) { - if (this->rel_) delete this->ptr_; + if (this->rel_) + { + delete this->ptr_; + } } template <class T> ACE_INLINE T * @@ -420,7 +503,11 @@ POA_ImplementationRepository::ServerInformationIterator_tie<T>::_tied_object (vo template <class T> ACE_INLINE void POA_ImplementationRepository::ServerInformationIterator_tie<T>::_tied_object (T &obj) { - if (this->rel_) delete this->ptr_; + if (this->rel_) + { + delete this->ptr_; + } + this->ptr_ = &obj; this->rel_ = 0; } @@ -428,7 +515,11 @@ POA_ImplementationRepository::ServerInformationIterator_tie<T>::_tied_object (T template <class T> ACE_INLINE void POA_ImplementationRepository::ServerInformationIterator_tie<T>::_tied_object (T *obj, CORBA::Boolean release) { - if (this->rel_) delete this->ptr_; + if (this->rel_) + { + delete this->ptr_; + } + this->ptr_ = obj; this->rel_ = release; } @@ -449,11 +540,16 @@ template <class T> ACE_INLINE PortableServer::POA_ptr POA_ImplementationRepository::ServerInformationIterator_tie<T>::_default_POA (ACE_ENV_SINGLE_ARG_DECL) { if (!CORBA::is_nil (this->poa_.in ())) - return PortableServer::POA::_duplicate (this->poa_.in ()); - + { + return PortableServer::POA::_duplicate (this->poa_.in ()); + } + return this->ServerInformationIterator::_default_POA (ACE_ENV_SINGLE_ARG_PARAMETER); } +// TAO_IDL - Generated from +// be/be_visitor_operation/tie_si.cpp:68 + template <class T> ACE_INLINE CORBA::Boolean POA_ImplementationRepository::ServerInformationIterator_tie<T>::next_n ( CORBA::ULong how_many, @@ -465,14 +561,17 @@ CORBA::Boolean POA_ImplementationRepository::ServerInformationIterator_tie<T>::n )) { return this->ptr_->next_n ( -how_many, - server_list ACE_ENV_ARG_PARAMETER + how_many, + server_list + ACE_ENV_ARG_PARAMETER ); } +// TAO_IDL - Generated from +// be/be_visitor_operation/tie_si.cpp:68 + template <class T> ACE_INLINE void POA_ImplementationRepository::ServerInformationIterator_tie<T>::destroy ( - ACE_ENV_SINGLE_ARG_DECL ) ACE_THROW_SPEC (( @@ -480,7 +579,7 @@ void POA_ImplementationRepository::ServerInformationIterator_tie<T>::destroy ( )) { this->ptr_->destroy ( -ACE_ENV_SINGLE_ARG_PARAMETER + ACE_ENV_SINGLE_ARG_PARAMETER ); } diff --git a/TAO/tao/PortableServer/diffs/ImplRepo.diff b/TAO/tao/PortableServer/diffs/ImplRepo.diff index c1de7b512c1..ab987df6fec 100644 --- a/TAO/tao/PortableServer/diffs/ImplRepo.diff +++ b/TAO/tao/PortableServer/diffs/ImplRepo.diff @@ -1,15 +1,15 @@ ---- orig/ImplRepoC.h Wed Feb 6 10:26:31 2002 -+++ ImplRepoC.h Wed Feb 6 10:31:23 2002 -@@ -23,7 +23,7 @@ - #define _TAO_IDL_ORIG_IMPLREPOC_H_ +--- orig/ImplRepoC.h Thu Jan 2 10:12:25 2003 ++++ ImplRepoC.h Thu Jan 2 10:10:22 2003 +@@ -27,7 +27,7 @@ #include "ace/pre.h" + -#include "tao/corba.h" +#include "tao/corbafwd.h" #if !defined (ACE_LACKS_PRAGMA_ONCE) # pragma once -@@ -31,6 +31,11 @@ +@@ -36,6 +36,11 @@ #include "portableserver_export.h" |