summaryrefslogtreecommitdiff
path: root/TAO/tao/PortableServer/ImplRepoS.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/PortableServer/ImplRepoS.cpp')
-rw-r--r--TAO/tao/PortableServer/ImplRepoS.cpp5290
1 files changed, 3068 insertions, 2222 deletions
diff --git a/TAO/tao/PortableServer/ImplRepoS.cpp b/TAO/tao/PortableServer/ImplRepoS.cpp
index 1d7dd5545b8..07d14db1dda 100644
--- a/TAO/tao/PortableServer/ImplRepoS.cpp
+++ b/TAO/tao/PortableServer/ImplRepoS.cpp
@@ -27,7 +27,7 @@
// TAO_IDL - Generated from
-// be/be_codegen.cpp:611
+// be\be_codegen.cpp:609
#ifndef _TAO_IDL_ORIG_IMPLREPOS_CPP_
#define _TAO_IDL_ORIG_IMPLREPOS_CPP_
@@ -36,14 +36,6 @@
#include "ImplRepoS.h"
#include "tao/PortableServer/Object_Adapter.h"
#include "tao/PortableServer/Operation_Table.h"
-#include "tao/PortableServer/Upcall_Command.h"
-#include "tao/PortableServer/Upcall_Wrapper.h"
-#include "tao/PortableServer/Basic_SArguments.h"
-#include "tao/PortableServer/Object_SArgument_T.h"
-#include "tao/PortableServer/Special_Basic_SArguments.h"
-#include "tao/PortableServer/UB_String_SArguments.h"
-#include "tao/PortableServer/Var_Size_SArgument_T.h"
-#include "tao/PortableServer/TypeCode_SArg_Traits.h"
#include "tao/TAO_Server_Request.h"
#include "tao/ORB_Core.h"
#include "tao/Profile.h"
@@ -53,15 +45,21 @@
#include "tao/Typecode.h"
#include "tao/DynamicC.h"
#include "tao/CDR.h"
-#include "tao/PortableInterceptor.h"
#include "tao/Basic_Arguments.h"
#include "tao/Object_Argument_T.h"
#include "tao/Special_Basic_Arguments.h"
#include "tao/UB_String_Arguments.h"
#include "tao/Var_Size_Argument_T.h"
+#include "tao/PortableInterceptor.h"
+#if TAO_HAS_INTERCEPTORS == 1
+#include "tao/PortableServer/PICurrent_Guard.h"
+#include "tao/PortableServer/ServerRequestInfo.h"
+#include "tao/PortableServer/ServerInterceptorAdapter.h"
+#include "tao/RequestInfo_Util.h"
+#endif /* TAO_HAS_INTERCEPTORS == 1 */
+
#include "ace/Dynamic_Service.h"
#include "ace/Malloc_Allocator.h"
-#include "ace/config-all.h"
#if defined (__BORLANDC__)
#pragma option -w-rvl -w-rch -w-ccc -w-aus
@@ -72,105 +70,7 @@
#endif /* !defined INLINE */
// TAO_IDL - Generated from
-// be/be_visitor_arg_traits.cpp:67
-
-// Arg traits specializations.
-namespace TAO
-{
-
-#if !defined (_IMPLEMENTATIONREPOSITORY_SERVEROBJECT__SARG_TRAITS_SS_)
-#define _IMPLEMENTATIONREPOSITORY_SERVEROBJECT__SARG_TRAITS_SS_
-
- ACE_TEMPLATE_SPECIALIZATION
- class TAO_PortableServer_Export SArg_Traits<ImplementationRepository::ServerObject>
- : public
- Object_SArg_Traits_T<
- ImplementationRepository::ServerObject_ptr,
- ImplementationRepository::ServerObject_var,
- ImplementationRepository::ServerObject_out
- >
- {
- };
-
-#endif /* end #if !defined */
-
- // TAO_IDL - Generated from
- // be/be_visitor_arg_traits.cpp:689
-
-#if !defined (_IMPLEMENTATIONREPOSITORY_STARTUPOPTIONS__SARG_TRAITS_SS_)
-#define _IMPLEMENTATIONREPOSITORY_STARTUPOPTIONS__SARG_TRAITS_SS_
-
- ACE_TEMPLATE_SPECIALIZATION
- class TAO_PortableServer_Export SArg_Traits<ImplementationRepository::StartupOptions>
- : public
- Var_Size_SArg_Traits_T<
- ImplementationRepository::StartupOptions,
- ImplementationRepository::StartupOptions_var,
- ImplementationRepository::StartupOptions_out
- >
- {
- };
-
-#endif /* end #if !defined */
-
- // TAO_IDL - Generated from
- // be/be_visitor_arg_traits.cpp:689
-
-#if !defined (_IMPLEMENTATIONREPOSITORY_SERVERINFORMATION__SARG_TRAITS_SS_)
-#define _IMPLEMENTATIONREPOSITORY_SERVERINFORMATION__SARG_TRAITS_SS_
-
- ACE_TEMPLATE_SPECIALIZATION
- class TAO_PortableServer_Export SArg_Traits<ImplementationRepository::ServerInformation>
- : public
- Var_Size_SArg_Traits_T<
- ImplementationRepository::ServerInformation,
- ImplementationRepository::ServerInformation_var,
- ImplementationRepository::ServerInformation_out
- >
- {
- };
-
-#endif /* end #if !defined */
-
- // TAO_IDL - Generated from
- // be/be_visitor_arg_traits.cpp:421
-
-#if !defined (_IMPLEMENTATIONREPOSITORY_SERVERINFORMATIONLIST__SARG_TRAITS_SS_)
-#define _IMPLEMENTATIONREPOSITORY_SERVERINFORMATIONLIST__SARG_TRAITS_SS_
-
- ACE_TEMPLATE_SPECIALIZATION
- class TAO_PortableServer_Export SArg_Traits<ImplementationRepository::ServerInformationList>
- : public
- Var_Size_SArg_Traits_T<
- ImplementationRepository::ServerInformationList,
- ImplementationRepository::ServerInformationList_var,
- ImplementationRepository::ServerInformationList_out
- >
- {
- };
-
-#endif /* end #if !defined */
-
-#if !defined (_IMPLEMENTATIONREPOSITORY_SERVERINFORMATIONITERATOR__SARG_TRAITS_SS_)
-#define _IMPLEMENTATIONREPOSITORY_SERVERINFORMATIONITERATOR__SARG_TRAITS_SS_
-
- ACE_TEMPLATE_SPECIALIZATION
- class TAO_PortableServer_Export SArg_Traits<ImplementationRepository::ServerInformationIterator>
- : public
- Object_SArg_Traits_T<
- ImplementationRepository::ServerInformationIterator_ptr,
- ImplementationRepository::ServerInformationIterator_var,
- ImplementationRepository::ServerInformationIterator_out
- >
- {
- };
-
-#endif /* end #if !defined */
-}
-
-
-// TAO_IDL - Generated from
-// be/be_visitor_arg_traits.cpp:67
+// be\be_visitor_arg_traits.cpp:65
// Arg traits specializations.
namespace TAO
@@ -194,7 +94,7 @@ namespace TAO
#endif /* end #if !defined */
// TAO_IDL - Generated from
- // be/be_visitor_arg_traits.cpp:689
+ // be\be_visitor_arg_traits.cpp:612
#if !defined (_IMPLEMENTATIONREPOSITORY_STARTUPOPTIONS__ARG_TRAITS_SS_)
#define _IMPLEMENTATIONREPOSITORY_STARTUPOPTIONS__ARG_TRAITS_SS_
@@ -213,7 +113,7 @@ namespace TAO
#endif /* end #if !defined */
// TAO_IDL - Generated from
- // be/be_visitor_arg_traits.cpp:689
+ // be\be_visitor_arg_traits.cpp:612
#if !defined (_IMPLEMENTATIONREPOSITORY_SERVERINFORMATION__ARG_TRAITS_SS_)
#define _IMPLEMENTATIONREPOSITORY_SERVERINFORMATION__ARG_TRAITS_SS_
@@ -232,7 +132,7 @@ namespace TAO
#endif /* end #if !defined */
// TAO_IDL - Generated from
- // be/be_visitor_arg_traits.cpp:421
+ // be\be_visitor_arg_traits.cpp:383
#if !defined (_IMPLEMENTATIONREPOSITORY_SERVERINFORMATIONLIST__ARG_TRAITS_SS_)
#define _IMPLEMENTATIONREPOSITORY_SERVERINFORMATIONLIST__ARG_TRAITS_SS_
@@ -270,9 +170,9 @@ namespace TAO
// TAO_IDL - Generated from
-// be/be_interface.cpp:1538
+// be\be_interface.cpp:1536
-class TAO_ImplementationRepository_ServerObject_Perfect_Hash_OpTable
+class TAO_ImplementationRepository_ServerInformationIterator_Perfect_Hash_OpTable
: public TAO_Perfect_Hash_OpTable
{
private:
@@ -283,9 +183,9 @@ public:
};
/* C++ code produced by gperf version 2.8 (ACE version) */
-/* Command-line: /home/ossama/work/skeleton-refactor/ACE_wrappers/bin/gperf -m -M -J -c -C -D -E -T -f 0 -F 0,0,0 -a -o -t -p -K opname_ -L C++ -Z TAO_ImplementationRepository_ServerObject_Perfect_Hash_OpTable -N lookup */
+/* Command-line: c:\ace\latest\ace_wrappers\bin\gperf.exe -m -M -J -c -C -D -E -T -f 0 -F 0,0,0 -a -o -t -p -K opname_ -L C++ -Z TAO_ImplementationRepository_ServerInformationIterator_Perfect_Hash_OpTable -N lookup */
unsigned int
-TAO_ImplementationRepository_ServerObject_Perfect_Hash_OpTable::hash (const char *str, unsigned int len)
+TAO_ImplementationRepository_ServerInformationIterator_Perfect_Hash_OpTable::hash (const char *str, unsigned int len)
{
static const unsigned char asso_values[] =
{
@@ -303,10 +203,10 @@ TAO_ImplementationRepository_ServerObject_Perfect_Hash_OpTable::hash (const char
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, 0, 5, 16, 16, 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, 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,
@@ -327,42 +227,41 @@ TAO_ImplementationRepository_ServerObject_Perfect_Hash_OpTable::hash (const char
16, 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,
+ 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[(int) str[len - 1]] + asso_values[(int) str[0]];
}
const class TAO_operation_db_entry *
-TAO_ImplementationRepository_ServerObject_Perfect_Hash_OpTable::lookup (const char *str, unsigned int len)
+TAO_ImplementationRepository_ServerInformationIterator_Perfect_Hash_OpTable::lookup (const char *str, unsigned int len)
{
enum
{
TOTAL_KEYWORDS = 6,
- MIN_WORD_LENGTH = 4,
+ MIN_WORD_LENGTH = 5,
MAX_WORD_LENGTH = 13,
- MIN_HASH_VALUE = 4,
+ MIN_HASH_VALUE = 5,
MAX_HASH_VALUE = 15,
- HASH_VALUE_RANGE = 12,
+ HASH_VALUE_RANGE = 11,
DUPLICATES = 0,
- WORDLIST_SIZE = 10
+ WORDLIST_SIZE = 11
};
static const class TAO_operation_db_entry wordlist[] =
{
- {"",0,0,0},{"",0,0,0},{"",0,0,0},{"",0,0,0},
- {"ping", &POA_ImplementationRepository::ServerObject::ping_skel, &POA_ImplementationRepository::_TAO_ServerObject_ThruPOA_Proxy_Impl::ping, &POA_ImplementationRepository::_TAO_ServerObject_Direct_Proxy_Impl::ping},
- {"_is_a", &POA_ImplementationRepository::ServerObject::_is_a_skel, 0, 0},
+ {"",0,0,0},{"",0,0,0},{"",0,0,0},{"",0,0,0},{"",0,0,0},
+ {"_is_a", &POA_ImplementationRepository::ServerInformationIterator::_is_a_skel, 0, 0},
+ {"next_n", &POA_ImplementationRepository::ServerInformationIterator::next_n_skel, &POA_ImplementationRepository::_TAO_ServerInformationIterator_ThruPOA_Proxy_Impl::next_n, &POA_ImplementationRepository::_TAO_ServerInformationIterator_Direct_Proxy_Impl::next_n},
+ {"destroy", &POA_ImplementationRepository::ServerInformationIterator::destroy_skel, &POA_ImplementationRepository::_TAO_ServerInformationIterator_ThruPOA_Proxy_Impl::destroy, &POA_ImplementationRepository::_TAO_ServerInformationIterator_Direct_Proxy_Impl::destroy},
{"",0,0,0},{"",0,0,0},
- {"shutdown", &POA_ImplementationRepository::ServerObject::shutdown_skel, &POA_ImplementationRepository::_TAO_ServerObject_ThruPOA_Proxy_Impl::shutdown, &POA_ImplementationRepository::_TAO_ServerObject_Direct_Proxy_Impl::shutdown},
- {"",0,0,0},
- {"_component", &POA_ImplementationRepository::ServerObject::_component_skel, 0, 0},
+ {"_component", &POA_ImplementationRepository::ServerInformationIterator::_component_skel, 0, 0},
{"",0,0,0},{"",0,0,0},
- {"_non_existent", &POA_ImplementationRepository::ServerObject::_non_existent_skel, 0, 0},
+ {"_non_existent", &POA_ImplementationRepository::ServerInformationIterator::_non_existent_skel, 0, 0},
{"",0,0,0},
- {"_interface", &POA_ImplementationRepository::ServerObject::_interface_skel, 0, 0},
+ {"_interface", &POA_ImplementationRepository::ServerInformationIterator::_interface_skel, 0, 0},
};
if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH)
@@ -380,95 +279,326 @@ TAO_ImplementationRepository_ServerObject_Perfect_Hash_OpTable::lookup (const ch
return 0;
}
-static TAO_ImplementationRepository_ServerObject_Perfect_Hash_OpTable tao_ImplementationRepository_ServerObject_optable;
+static TAO_ImplementationRepository_ServerInformationIterator_Perfect_Hash_OpTable tao_ImplementationRepository_ServerInformationIterator_optable;
// TAO_IDL - Generated from
-// be/be_visitor_interface/upcall_command_ss.cpp:49
+// be\be_visitor_interface/interceptors_ss.cpp:53
+
+#if (TAO_HAS_INTERCEPTORS == 1)
// TAO_IDL - Generated from
-// be/be_visitor_operation/upcall_command_ss.cpp:52
+// be\be_visitor_operation/interceptors_ss.cpp:74
-class TAO_ImplementationRepository_ServerObject_ping_Upcall_Command
- : public TAO::Upcall_Command
+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
+ );
- inline TAO_ImplementationRepository_ServerObject_ping_Upcall_Command (
- POA_ImplementationRepository::ServerObject * servant)
- : servant_ (servant)
- {
- }
+ virtual Dynamic::ParameterList * arguments (
+ ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
- virtual void execute (ACE_ENV_SINGLE_ARG_DECL)
- {
- this->servant_->ping (
- ACE_ENV_SINGLE_ARG_PARAMETER
- );
- ACE_CHECK;
- }
+ 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_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id
+ 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 &
+ );
- POA_ImplementationRepository::ServerObject * const servant_;
-
+ void operator= (
+ const TAO_ServerRequestInfo_ImplementationRepository_ServerInformationIterator_next_n &
+ );
+
+private:
+ POA_ImplementationRepository::ServerInformationIterator *_tao_impl;
+
+ 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
+ )
+ : TAO_ServerRequestInfo (_tao_server_request, _tao_servant_upcall),
+ _tao_impl (tao_impl),
+ how_many_ (how_many)
+{}
+
+Dynamic::ParameterList *
+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].mode = CORBA::PARAM_IN;
+ len++;
+
+ return safe_parameter_list._retn ();
+}
+
+Dynamic::ExceptionList *
+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
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 0;
+ 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_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+TAO_ServerRequestInfo_ImplementationRepository_ServerInformationIterator_next_n::target_is_a (
+ const char * id
+ ACE_ENV_ARG_DECL
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id ACE_ENV_ARG_PARAMETER);
+}
+
+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/upcall_command_ss.cpp:52
+// be\be_visitor_operation/interceptors_ss.cpp:74
-class TAO_ImplementationRepository_ServerObject_shutdown_Upcall_Command
- : public TAO::Upcall_Command
+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
+ );
- inline TAO_ImplementationRepository_ServerObject_shutdown_Upcall_Command (
- POA_ImplementationRepository::ServerObject * servant)
- : servant_ (servant)
- {
- }
+ virtual Dynamic::ParameterList * arguments (
+ ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
- virtual void execute (ACE_ENV_SINGLE_ARG_DECL)
- {
- this->servant_->shutdown (
- ACE_ENV_SINGLE_ARG_PARAMETER
+ 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_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id
+ ACE_ENV_ARG_DECL_WITH_DEFAULTS
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+private:
+ TAO_ServerRequestInfo_ImplementationRepository_ServerInformationIterator_destroy (
+ const TAO_ServerRequestInfo_ImplementationRepository_ServerInformationIterator_destroy &
);
- ACE_CHECK;
- }
-
+
+ void operator= (
+ const TAO_ServerRequestInfo_ImplementationRepository_ServerInformationIterator_destroy &
+ );
+
private:
+ POA_ImplementationRepository::ServerInformationIterator *_tao_impl;
- POA_ImplementationRepository::ServerObject * const servant_;
-
};
+// 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
+ )
+ : 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
+ )
+ 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
+ )
+ 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
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 1;
+ 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_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+TAO_ServerRequestInfo_ImplementationRepository_ServerInformationIterator_destroy::target_is_a (
+ const char * id
+ ACE_ENV_ARG_DECL
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id ACE_ENV_ARG_PARAMETER);
+}
+
+#endif /* TAO_HAS_INTERCEPTORS */
+
///////////////////////////////////////////////////////////////////////
// Strategized Proxy Broker Implementation
//
// TAO_IDL - Generated from
-// be/be_visitor_interface/strategized_proxy_broker_ss.cpp:40
+// 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)
+POA_ImplementationRepository::_TAO_ServerInformationIterator_Strategized_Proxy_Broker *
+POA_ImplementationRepository::_TAO_ServerInformationIterator_Strategized_Proxy_Broker::the_TAO_ServerInformationIterator_Strategized_Proxy_Broker (void)
{
- static POA_ImplementationRepository::_TAO_ServerObject_Strategized_Proxy_Broker
+ static POA_ImplementationRepository::_TAO_ServerInformationIterator_Strategized_Proxy_Broker
strategized_proxy_broker;
return &strategized_proxy_broker;
}
-POA_ImplementationRepository::_TAO_ServerObject_Strategized_Proxy_Broker::_TAO_ServerObject_Strategized_Proxy_Broker (void)
+POA_ImplementationRepository::_TAO_ServerInformationIterator_Strategized_Proxy_Broker::_TAO_ServerInformationIterator_Strategized_Proxy_Broker (void)
{
}
-POA_ImplementationRepository::_TAO_ServerObject_Strategized_Proxy_Broker::~_TAO_ServerObject_Strategized_Proxy_Broker (void)
+POA_ImplementationRepository::_TAO_ServerInformationIterator_Strategized_Proxy_Broker::~_TAO_ServerInformationIterator_Strategized_Proxy_Broker (void)
{
}
TAO::Collocation_Strategy
-POA_ImplementationRepository::_TAO_ServerObject_Strategized_Proxy_Broker::get_strategy (
+POA_ImplementationRepository::_TAO_ServerInformationIterator_Strategized_Proxy_Broker::get_strategy (
CORBA::Object_ptr obj
ACE_ENV_ARG_DECL
)
@@ -482,7 +612,7 @@ POA_ImplementationRepository::_TAO_ServerObject_Strategized_Proxy_Broker::get_st
}
void
-POA_ImplementationRepository::_TAO_ServerObject_Strategized_Proxy_Broker::dispatch (
+POA_ImplementationRepository::_TAO_ServerInformationIterator_Strategized_Proxy_Broker::dispatch (
CORBA::Object_ptr obj,
CORBA::Object_out forward_obj,
TAO::Argument ** args,
@@ -530,7 +660,7 @@ POA_ImplementationRepository::_TAO_ServerObject_Strategized_Proxy_Broker::dispat
if (status == -1)
{
- ACE_THROW (CORBA::BAD_OPERATION ());
+ ACE_THROW (CORBA::BAD_OPERATION (TAO::VMCID | 2, CORBA::COMPLETED_NO));
}
ACE_TRY
@@ -564,30 +694,30 @@ POA_ImplementationRepository::_TAO_ServerObject_Strategized_Proxy_Broker::dispat
///////////////////////////////////////////////////////////////////////
// TAO_IDL - Generated from
-// be/be_visitor_interface/interface_ss.cpp:648
+// be\be_visitor_interface/interface_ss.cpp:640
TAO::Collocation_Proxy_Broker *
-ImplementationRepository__TAO_ServerObject_Proxy_Broker_Factory_function (CORBA::Object_ptr)
+ImplementationRepository__TAO_ServerInformationIterator_Proxy_Broker_Factory_function (CORBA::Object_ptr)
{
return
- ::POA_ImplementationRepository::_TAO_ServerObject_Strategized_Proxy_Broker::the_TAO_ServerObject_Strategized_Proxy_Broker ();
+ ::POA_ImplementationRepository::_TAO_ServerInformationIterator_Strategized_Proxy_Broker::the_TAO_ServerInformationIterator_Strategized_Proxy_Broker ();
}
int
-ImplementationRepository__TAO_ServerObject_Proxy_Broker_Factory_Initializer (size_t)
+ImplementationRepository__TAO_ServerInformationIterator_Proxy_Broker_Factory_Initializer (size_t)
{
- ImplementationRepository__TAO_ServerObject_Proxy_Broker_Factory_function_pointer =
- ImplementationRepository__TAO_ServerObject_Proxy_Broker_Factory_function;
+ ImplementationRepository__TAO_ServerInformationIterator_Proxy_Broker_Factory_function_pointer =
+ ImplementationRepository__TAO_ServerInformationIterator_Proxy_Broker_Factory_function;
return 0;
}
static int
-ImplementationRepository__TAO_ServerObject_Proxy_Broker_Stub_Factory_Initializer_Scarecrow =
- ImplementationRepository__TAO_ServerObject_Proxy_Broker_Factory_Initializer (
+ImplementationRepository__TAO_ServerInformationIterator_Proxy_Broker_Stub_Factory_Initializer_Scarecrow =
+ ImplementationRepository__TAO_ServerInformationIterator_Proxy_Broker_Factory_Initializer (
reinterpret_cast<
size_t> (
- ImplementationRepository__TAO_ServerObject_Proxy_Broker_Factory_Initializer
+ ImplementationRepository__TAO_ServerInformationIterator_Proxy_Broker_Factory_Initializer
)
);
@@ -597,20 +727,20 @@ ImplementationRepository__TAO_ServerObject_Proxy_Broker_Stub_Factory_Initializer
//
// TAO_IDL - Generated from
-// be/be_visitor_interface/thru_poa_proxy_impl_ss.cpp:37
+// be\be_visitor_interface/thru_poa_proxy_impl_ss.cpp:37
-POA_ImplementationRepository::_TAO_ServerObject_ThruPOA_Proxy_Impl::_TAO_ServerObject_ThruPOA_Proxy_Impl (void)
+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:52
+// be\be_visitor_operation/thru_poa_proxy_impl_ss.cpp:52
void
-POA_ImplementationRepository::_TAO_ServerObject_ThruPOA_Proxy_Impl::ping (
+POA_ImplementationRepository::_TAO_ServerInformationIterator_ThruPOA_Proxy_Impl::next_n (
TAO_Abstract_ServantBase *servant,
- TAO::Argument **,
+ TAO::Argument ** args,
int
ACE_ENV_ARG_DECL
)
@@ -618,22 +748,25 @@ POA_ImplementationRepository::_TAO_ServerObject_ThruPOA_Proxy_Impl::ping (
CORBA::SystemException
))
{
- reinterpret_cast<
- POA_ImplementationRepository::ServerObject_ptr> (
- servant->_downcast (
- "IDL:ImplementationRepository/ServerObject:1.0"
- )
- )->ping (
- ACE_ENV_SINGLE_ARG_PARAMETER
- );
+ ((TAO::Arg_Traits< ::ACE_InputCDR::to_boolean>::ret_val *) args[0])->arg () =
+ reinterpret_cast<
+ POA_ImplementationRepository::ServerInformationIterator_ptr> (
+ servant->_downcast (
+ "IDL:ImplementationRepository/ServerInformationIterator:1.0"
+ )
+ )->next_n (
+ ((TAO::Arg_Traits< ::CORBA::ULong>::in_arg_val *) args[1])->arg (),
+ ((TAO::Arg_Traits< ImplementationRepository::ServerInformationList>::out_arg_val *) args[2])->arg ()
+ ACE_ENV_ARG_PARAMETER
+ );
ACE_CHECK;
}
// TAO_IDL - Generated from
-// be/be_visitor_operation/thru_poa_proxy_impl_ss.cpp:52
+// be\be_visitor_operation/thru_poa_proxy_impl_ss.cpp:52
void
-POA_ImplementationRepository::_TAO_ServerObject_ThruPOA_Proxy_Impl::shutdown (
+POA_ImplementationRepository::_TAO_ServerInformationIterator_ThruPOA_Proxy_Impl::destroy (
TAO_Abstract_ServantBase *servant,
TAO::Argument **,
int
@@ -644,11 +777,11 @@ POA_ImplementationRepository::_TAO_ServerObject_ThruPOA_Proxy_Impl::shutdown (
))
{
reinterpret_cast<
- POA_ImplementationRepository::ServerObject_ptr> (
+ POA_ImplementationRepository::ServerInformationIterator_ptr> (
servant->_downcast (
- "IDL:ImplementationRepository/ServerObject:1.0"
+ "IDL:ImplementationRepository/ServerInformationIterator:1.0"
)
- )->shutdown (
+ )->destroy (
ACE_ENV_SINGLE_ARG_PARAMETER
);
ACE_CHECK;
@@ -662,16 +795,16 @@ POA_ImplementationRepository::_TAO_ServerObject_ThruPOA_Proxy_Impl::shutdown (
// Direct Proxy Implementation
//
-POA_ImplementationRepository::_TAO_ServerObject_Direct_Proxy_Impl::_TAO_ServerObject_Direct_Proxy_Impl (void)
+POA_ImplementationRepository::_TAO_ServerInformationIterator_Direct_Proxy_Impl::_TAO_ServerInformationIterator_Direct_Proxy_Impl (void)
{}
// TAO_IDL - Generated from
-// be/be_visitor_operation/direct_proxy_impl_ss.cpp:42
+// be\be_visitor_operation/direct_proxy_impl_ss.cpp:42
void
-POA_ImplementationRepository::_TAO_ServerObject_Direct_Proxy_Impl::ping (
+POA_ImplementationRepository::_TAO_ServerInformationIterator_Direct_Proxy_Impl::next_n (
TAO_Abstract_ServantBase *servant,
- TAO::Argument **,
+ TAO::Argument ** args,
int
ACE_ENV_ARG_DECL
)
@@ -679,20 +812,23 @@ POA_ImplementationRepository::_TAO_ServerObject_Direct_Proxy_Impl::ping (
CORBA::SystemException
))
{
- reinterpret_cast<
- POA_ImplementationRepository::ServerObject_ptr> (
- servant->_downcast (
- "IDL:ImplementationRepository/ServerObject:1.0"
- )
- )->ping (
- ACE_ENV_SINGLE_ARG_PARAMETER
- );
+ ((TAO::Arg_Traits< ::ACE_InputCDR::to_boolean>::ret_val *) args[0])->arg () =
+ reinterpret_cast<
+ POA_ImplementationRepository::ServerInformationIterator_ptr> (
+ servant->_downcast (
+ "IDL:ImplementationRepository/ServerInformationIterator:1.0"
+ )
+ )->next_n (
+ ((TAO::Arg_Traits< ::CORBA::ULong>::in_arg_val *) args[1])->arg (),
+ ((TAO::Arg_Traits< ImplementationRepository::ServerInformationList>::out_arg_val *) args[2])->arg ()
+ ACE_ENV_ARG_PARAMETER
+ );
ACE_CHECK;
}// TAO_IDL - Generated from
-// be/be_visitor_operation/direct_proxy_impl_ss.cpp:42
+// be\be_visitor_operation/direct_proxy_impl_ss.cpp:42
void
-POA_ImplementationRepository::_TAO_ServerObject_Direct_Proxy_Impl::shutdown (
+POA_ImplementationRepository::_TAO_ServerInformationIterator_Direct_Proxy_Impl::destroy (
TAO_Abstract_ServantBase *servant,
TAO::Argument **,
int
@@ -703,11 +839,11 @@ POA_ImplementationRepository::_TAO_ServerObject_Direct_Proxy_Impl::shutdown (
))
{
reinterpret_cast<
- POA_ImplementationRepository::ServerObject_ptr> (
+ POA_ImplementationRepository::ServerInformationIterator_ptr> (
servant->_downcast (
- "IDL:ImplementationRepository/ServerObject:1.0"
+ "IDL:ImplementationRepository/ServerInformationIterator:1.0"
)
- )->shutdown (
+ )->destroy (
ACE_ENV_SINGLE_ARG_PARAMETER
);
ACE_CHECK;
@@ -718,133 +854,295 @@ POA_ImplementationRepository::_TAO_ServerObject_Direct_Proxy_Impl::shutdown (
///////////////////////////////////////////////////////////////////////
// TAO_IDL - Generated from
-// be/be_visitor_interface/interface_ss.cpp:97
+// be\be_visitor_interface/interface_ss.cpp:97
-POA_ImplementationRepository::ServerObject::ServerObject (void)
+POA_ImplementationRepository::ServerInformationIterator::ServerInformationIterator (void)
{
- this->optable_ = &tao_ImplementationRepository_ServerObject_optable;
+ this->optable_ = &tao_ImplementationRepository_ServerInformationIterator_optable;
}
-POA_ImplementationRepository::ServerObject::ServerObject (const ServerObject& rhs)
+POA_ImplementationRepository::ServerInformationIterator::ServerInformationIterator (const ServerInformationIterator& rhs)
: TAO_Abstract_ServantBase (rhs),
TAO_ServantBase (rhs)
{
}
-POA_ImplementationRepository::ServerObject::~ServerObject (void)
+POA_ImplementationRepository::ServerInformationIterator::~ServerInformationIterator (void)
{
}
// TAO_IDL - Generated from
-// be/be_visitor_operation/operation_ss.cpp:165
+// be\be_visitor_operation/operation_ss.cpp:98
-void POA_ImplementationRepository::ServerObject::ping_skel (
+void POA_ImplementationRepository::ServerInformationIterator::next_n_skel (
TAO_ServerRequest &_tao_server_request,
void *_tao_servant,
- void * TAO_INTERCEPTOR (_tao_servant_upcall)
+ void *_tao_servant_upcall
ACE_ENV_ARG_DECL
)
{
-
-
-#if TAO_HAS_INTERCEPTORS == 1
- static CORBA::TypeCode_ptr const _tao_exceptions[] = {};
- static size_t const _tao_nexceptions = 0;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- POA_ImplementationRepository::ServerObject * const _tao_impl =
+ TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
+ POA_ImplementationRepository::ServerInformationIterator *_tao_impl =
static_cast<
- POA_ImplementationRepository::ServerObject *> (
+ POA_ImplementationRepository::ServerInformationIterator *> (
_tao_servant
);
+ CORBA::Boolean _tao_retval = 0;
+ ::CORBA::ULong how_many;
+ ::ImplementationRepository::ServerInformationList_var servers;
- TAO::SArg_Traits< void>::ret_val _tao_retval;
- TAO::Argument * const _tao_args [] =
+ if (!(
+ (_tao_in >> how_many)
+ ))
{
- &_tao_retval
- };
-
- static size_t const _tao_nargs = 1;
+ TAO_InputCDR::throw_skel_exception (errno ACE_ENV_ARG_PARAMETER);
+ ACE_CHECK;
+ }
- TAO_ImplementationRepository_ServerObject_ping_Upcall_Command _tao_upcall_command (
- _tao_impl);
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_Object_Adapter::Servant_Upcall *_tao_upcall =
+ 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::Upcall_Wrapper _tao_upcall_wrapper;
- _tao_upcall_wrapper.upcall (_tao_server_request
- , _tao_args
- , _tao_nargs
- , _tao_upcall_command
+ TAO_ServerRequestInfo_ImplementationRepository_ServerInformationIterator_next_n _tao_ri (
+ _tao_server_request,
+ _tao_upcall,
+ _tao_impl,
+
+ how_many
+ ACE_ENV_ARG_PARAMETER
+ );
-#if TAO_HAS_INTERCEPTORS == 1
- , _tao_servant_upcall
- , _tao_impl
- , _tao_exceptions
- , _tao_nexceptions
-#endif /* TAO_HAS_INTERCEPTORS == 1 */
+ ACE_TRY
+ {
+ {
+ TAO::PICurrent_Guard _tao_pi_guard (_tao_ri.server_request (),
+ true /* 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,
+
+ servers.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;
+ }
+ }
+ ACE_CATCHANY
+ {
+ _tao_ri.exception (&ACE_ANY_EXCEPTION);
+ _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
+ || _tao_status == PortableInterceptor::USER_EXCEPTION)
+ {
+ ACE_RE_THROW;
+ }
+ }
- ACE_ENV_ARG_PARAMETER);
+# 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 ();
+#if (TAO_HAS_INTERCEPTORS == 1)
+ if (!_tao_vfr.location_forwarded ())
+ {
+#endif /* TAO_HAS_INTERCEPTORS */
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+
+ if (!(
+ (_tao_out << CORBA::Any::from_boolean (_tao_retval)) &&
+ (_tao_out << servers.in ())
+ ))
+ {
+ TAO_OutputCDR::throw_skel_exception (errno ACE_ENV_ARG_PARAMETER);
+ ACE_CHECK;
+ }
+#if (TAO_HAS_INTERCEPTORS == 1)
+ }
+#endif /* TAO_HAS_INTERCEPTORS */
+
+
+ // 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:165
+// be\be_visitor_operation/operation_ss.cpp:98
-void POA_ImplementationRepository::ServerObject::shutdown_skel (
+void POA_ImplementationRepository::ServerInformationIterator::destroy_skel (
TAO_ServerRequest &_tao_server_request,
void *_tao_servant,
- void * TAO_INTERCEPTOR (_tao_servant_upcall)
+ void *_tao_servant_upcall
ACE_ENV_ARG_DECL
)
{
-
-
-#if TAO_HAS_INTERCEPTORS == 1
- static CORBA::TypeCode_ptr const _tao_exceptions[] = {};
- static size_t const _tao_nexceptions = 0;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- POA_ImplementationRepository::ServerObject * const _tao_impl =
+ POA_ImplementationRepository::ServerInformationIterator *_tao_impl =
static_cast<
- POA_ImplementationRepository::ServerObject *> (
+ POA_ImplementationRepository::ServerInformationIterator *> (
_tao_servant
);
+ _tao_server_request.argument_flag (0);
- TAO::SArg_Traits< void>::ret_val _tao_retval;
-
- TAO::Argument * const _tao_args [] =
- {
- &_tao_retval
- };
-
- static size_t const _tao_nargs = 1;
- TAO_ImplementationRepository_ServerObject_shutdown_Upcall_Command _tao_upcall_command (
- _tao_impl);
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_Object_Adapter::Servant_Upcall *_tao_upcall =
+ 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::Upcall_Wrapper _tao_upcall_wrapper;
- _tao_upcall_wrapper.upcall (_tao_server_request
- , _tao_args
- , _tao_nargs
- , _tao_upcall_command
+ TAO_ServerRequestInfo_ImplementationRepository_ServerInformationIterator_destroy _tao_ri (
+ _tao_server_request,
+ _tao_upcall,
+ _tao_impl
+ ACE_ENV_ARG_PARAMETER
+ );
-#if TAO_HAS_INTERCEPTORS == 1
- , _tao_servant_upcall
- , _tao_impl
- , _tao_exceptions
- , _tao_nexceptions
-#endif /* TAO_HAS_INTERCEPTORS == 1 */
+ ACE_TRY
+ {
+ {
+ TAO::PICurrent_Guard _tao_pi_guard (_tao_ri.server_request (),
+ true /* 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;
+#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;
+ }
+ }
+ ACE_CATCHANY
+ {
+ _tao_ri.exception (&ACE_ANY_EXCEPTION);
+ _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
+ || _tao_status == PortableInterceptor::USER_EXCEPTION)
+ {
+ ACE_RE_THROW;
+ }
+ }
- ACE_ENV_ARG_PARAMETER);
+# 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:162
+// be\be_visitor_interface/interface_ss.cpp:162
-void POA_ImplementationRepository::ServerObject::_is_a_skel (
+void POA_ImplementationRepository::ServerInformationIterator::_is_a_skel (
TAO_ServerRequest &_tao_server_request,
void * _tao_servant,
void * /* Servant_Upcall */
@@ -853,8 +1151,8 @@ void POA_ImplementationRepository::ServerObject::_is_a_skel (
{
TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
- POA_ImplementationRepository::ServerObject *_tao_impl =
- (POA_ImplementationRepository::ServerObject *) _tao_servant;
+ POA_ImplementationRepository::ServerInformationIterator *_tao_impl =
+ static_cast<POA_ImplementationRepository::ServerInformationIterator *> (_tao_servant);
CORBA::Boolean _tao_retval = 0;
CORBA::String_var value;
@@ -876,15 +1174,15 @@ void POA_ImplementationRepository::ServerObject::_is_a_skel (
}
}
-void POA_ImplementationRepository::ServerObject::_non_existent_skel (
+void POA_ImplementationRepository::ServerInformationIterator::_non_existent_skel (
TAO_ServerRequest &_tao_server_request,
void * _tao_servant,
void * /* Servant_Upcall */
ACE_ENV_ARG_DECL
)
{
- POA_ImplementationRepository::ServerObject *_tao_impl =
- (POA_ImplementationRepository::ServerObject *) _tao_servant;
+ POA_ImplementationRepository::ServerInformationIterator *_tao_impl =
+ static_cast<POA_ImplementationRepository::ServerInformationIterator *> (_tao_servant);
CORBA::Boolean _tao_retval =
_tao_impl->_non_existent (ACE_ENV_SINGLE_ARG_PARAMETER);
@@ -899,7 +1197,7 @@ void POA_ImplementationRepository::ServerObject::_non_existent_skel (
}
}
-void POA_ImplementationRepository::ServerObject::_interface_skel (
+void POA_ImplementationRepository::ServerInformationIterator::_interface_skel (
TAO_ServerRequest &_tao_server_request,
void * _tao_servant,
void * /* Servant_Upcall */
@@ -916,8 +1214,8 @@ void POA_ImplementationRepository::ServerObject::_interface_skel (
ACE_THROW (CORBA::INTF_REPOS ());
}
- POA_ImplementationRepository::ServerObject *_tao_impl =
- (POA_ImplementationRepository::ServerObject *) _tao_servant;
+ POA_ImplementationRepository::ServerInformationIterator *_tao_impl =
+ static_cast<POA_ImplementationRepository::ServerInformationIterator *> (_tao_servant);
CORBA::InterfaceDef_ptr _tao_retval =
_tao_impl->_get_interface (ACE_ENV_SINGLE_ARG_PARAMETER);
@@ -940,15 +1238,15 @@ void POA_ImplementationRepository::ServerObject::_interface_skel (
}
}
-void POA_ImplementationRepository::ServerObject::_component_skel (
+void POA_ImplementationRepository::ServerInformationIterator::_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;
+ POA_ImplementationRepository::ServerInformationIterator *_tao_impl =
+ static_cast<POA_ImplementationRepository::ServerInformationIterator *> (_tao_object_reference);
CORBA::Object_var _tao_retval =
_tao_impl->_get_component (ACE_ENV_SINGLE_ARG_PARAMETER);
@@ -963,38 +1261,32 @@ void POA_ImplementationRepository::ServerObject::_component_skel (
}
}
-CORBA::Boolean POA_ImplementationRepository::ServerObject::_is_a (
+CORBA::Boolean POA_ImplementationRepository::ServerInformationIterator::_is_a (
const char* value
ACE_ENV_ARG_DECL_NOT_USED
)
{
- if (
+ return
+ (
!ACE_OS::strcmp (
- (char *)value,
- "IDL:ImplementationRepository/ServerObject:1.0"
+ value,
+ "IDL:ImplementationRepository/ServerInformationIterator:1.0"
) ||
!ACE_OS::strcmp (
- (char *)value,
+ value,
"IDL:omg.org/CORBA/Object:1.0"
)
- )
- {
- return 1;
- }
- else
- {
- return 0;
- }
+ );
}
-void* POA_ImplementationRepository::ServerObject::_downcast (
+void* POA_ImplementationRepository::ServerInformationIterator::_downcast (
const char* logical_type_id
)
{
if (ACE_OS::strcmp (logical_type_id,
- "IDL:ImplementationRepository/ServerObject:1.0") == 0)
+ "IDL:ImplementationRepository/ServerInformationIterator:1.0") == 0)
{
- return static_cast<POA_ImplementationRepository::ServerObject_ptr> (this);
+ return static_cast<POA_ImplementationRepository::ServerInformationIterator_ptr> (this);
}
if (ACE_OS::strcmp (logical_type_id,
@@ -1006,15 +1298,15 @@ void* POA_ImplementationRepository::ServerObject::_downcast (
return 0;
}
-const char* POA_ImplementationRepository::ServerObject::_interface_repository_id (void) const
+const char* POA_ImplementationRepository::ServerInformationIterator::_interface_repository_id (void) const
{
- return "IDL:ImplementationRepository/ServerObject:1.0";
+ return "IDL:ImplementationRepository/ServerInformationIterator:1.0";
}
// TAO_IDL - Generated from
-// be/be_visitor_interface/interface_ss.cpp:584
+// be\be_visitor_interface/interface_ss.cpp:576
-void POA_ImplementationRepository::ServerObject::_dispatch (
+void POA_ImplementationRepository::ServerInformationIterator::_dispatch (
TAO_ServerRequest &req,
void *servant_upcall
ACE_ENV_ARG_DECL
@@ -1027,10 +1319,10 @@ void POA_ImplementationRepository::ServerObject::_dispatch (
}
// TAO_IDL - Generated from
-// be/be_visitor_interface/interface_ss.cpp:526
+// be\be_visitor_interface/interface_ss.cpp:527
-ImplementationRepository::ServerObject *
-POA_ImplementationRepository::ServerObject::_this (ACE_ENV_SINGLE_ARG_DECL)
+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);
@@ -1038,36 +1330,28 @@ POA_ImplementationRepository::ServerObject::_this (ACE_ENV_SINGLE_ARG_DECL)
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
- );
- }
- else
- {
- ACE_NEW_RETURN (
- tmp,
- CORBA::Object (stub, 0, this),
- 0
- );
- }
+ CORBA::Boolean _tao_opt_colloc =
+ stub->servant_orb_var ()->orb_core ()->optimize_collocation_objects ();
+
+ ACE_NEW_RETURN (
+ tmp,
+ CORBA::Object (stub, _tao_opt_colloc, this),
+ 0
+ );
CORBA::Object_var obj = tmp;
(void) safe_stub.release ();
- typedef ::ImplementationRepository::ServerObject STUB_SCOPED_NAME;
+ typedef ::ImplementationRepository::ServerInformationIterator STUB_SCOPED_NAME;
return
TAO::Narrow_Utils<STUB_SCOPED_NAME>::unchecked_narrow (
obj.in (),
- ImplementationRepository__TAO_ServerObject_Proxy_Broker_Factory_function_pointer
+ ImplementationRepository__TAO_ServerInformationIterator_Proxy_Broker_Factory_function_pointer
);
}
// TAO_IDL - Generated from
-// be/be_interface.cpp:1538
+// be\be_interface.cpp:1536
class TAO_ImplementationRepository_Administration_Perfect_Hash_OpTable
: public TAO_Perfect_Hash_OpTable
@@ -1080,53 +1364,53 @@ public:
};
/* C++ code produced by gperf version 2.8 (ACE version) */
-/* Command-line: /home/ossama/work/skeleton-refactor/ACE_wrappers/bin/gperf -m -M -J -c -C -D -E -T -f 0 -F 0,0,0 -a -o -t -p -K opname_ -L C++ -Z TAO_ImplementationRepository_Administration_Perfect_Hash_OpTable -N lookup */
+/* Command-line: c:\ace\latest\ace_wrappers\bin\gperf.exe -m -M -J -c -C -D -E -T -f 0 -F 0,0,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)
- 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,
- 0, 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,
+ 29, 29, 29, 29, 29, 29, 29, 29, 29, 29,
+ 29, 29, 29, 29, 29, 29, 29, 29, 29, 29,
+ 29, 29, 29, 29, 29, 29, 29, 29, 29, 29,
+ 29, 29, 29, 29, 29, 29, 29, 29, 29, 29,
+ 29, 29, 29, 29, 29, 29, 29, 29, 29, 29,
+ 29, 29, 29, 29, 29, 29, 29, 29, 29, 29,
+ 29, 29, 29, 29, 29, 29, 29, 29, 29, 29,
+ 29, 29, 29, 29, 29, 29, 29, 29, 29, 29,
+ 29, 29, 29, 29, 29, 29, 29, 29, 29, 29,
+ 29, 29, 29, 29, 29, 29, 29, 29, 29, 29,
+ 29, 29, 29, 29, 29, 29, 29, 29, 29, 0,
+ 29, 29, 29, 29, 29, 29, 29, 29, 29, 29,
+ 29, 29, 29, 29, 29, 29, 29, 29, 29, 9,
+ 29, 29, 0, 0, 0, 5, 29, 29, 29, 29,
+ 29, 29, 29, 29, 29, 29, 29, 5, 29, 0,
+ 29, 29, 29, 0, 29, 29, 29, 29, 29, 29,
+ 29, 29, 5, 9, 29, 29, 29, 29, 29, 29,
+ 29, 29, 29, 29, 29, 29, 29, 29, 29, 29,
+ 29, 29, 29, 29, 29, 29, 29, 29, 29, 29,
+ 29, 29, 29, 29, 29, 29, 29, 29, 29, 29,
+ 29, 29, 29, 29, 29, 29, 29, 29, 29, 29,
+ 29, 29, 29, 29, 29, 29, 29, 29, 29, 29,
+ 29, 29, 29, 29, 29, 29, 29, 29, 29, 29,
+ 29, 29, 29, 29, 29, 29, 29, 29, 29, 29,
+ 29, 29, 29, 29, 29, 29, 29, 29, 29, 29,
+ 29, 29, 29, 29, 29, 29,
#else
- 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, 0, 0, 34, 0, 5, 15, 34, 34, 34,
- 34, 34, 34, 34, 34, 34, 34, 34,
+ 29, 29, 29, 29, 29, 29, 29, 29, 29, 29,
+ 29, 29, 29, 29, 29, 29, 29, 29, 29, 29,
+ 29, 29, 29, 29, 29, 29, 29, 29, 29, 29,
+ 29, 29, 29, 29, 29, 29, 29, 29, 29, 29,
+ 29, 29, 29, 29, 29, 29, 29, 29, 29, 29,
+ 29, 29, 29, 29, 29, 29, 29, 29, 29, 29,
+ 29, 29, 29, 29, 29, 29, 29, 29, 29, 29,
+ 29, 29, 29, 29, 29, 29, 29, 29, 29, 29,
+ 29, 29, 29, 29, 29, 29, 29, 29, 29, 29,
+ 29, 29, 29, 29, 29, 0, 29, 9, 29, 29,
+ 0, 0, 0, 5, 29, 29, 29, 29, 5, 29,
+ 0, 29, 29, 29, 0, 5, 9, 29, 29, 29,
+ 29, 29, 29, 29, 29, 29, 29, 29,
#endif /* ACE_MVS */
};
return len + asso_values[(int) str[len - 1]] + asso_values[(int) str[0]];
@@ -1137,42 +1421,37 @@ TAO_ImplementationRepository_Administration_Perfect_Hash_OpTable::lookup (const
{
enum
{
- TOTAL_KEYWORDS = 16,
+ TOTAL_KEYWORDS = 13,
MIN_WORD_LENGTH = 4,
- MAX_WORD_LENGTH = 28,
+ MAX_WORD_LENGTH = 23,
MIN_HASH_VALUE = 4,
- MAX_HASH_VALUE = 33,
- HASH_VALUE_RANGE = 30,
+ MAX_HASH_VALUE = 28,
+ HASH_VALUE_RANGE = 25,
DUPLICATES = 0,
- WORDLIST_SIZE = 20
+ WORDLIST_SIZE = 17
};
static const class TAO_operation_db_entry wordlist[] =
{
{"",0,0,0},{"",0,0,0},{"",0,0,0},{"",0,0,0},
{"find", &POA_ImplementationRepository::Administration::find_skel, &POA_ImplementationRepository::_TAO_Administration_ThruPOA_Proxy_Impl::find, &POA_ImplementationRepository::_TAO_Administration_Direct_Proxy_Impl::find},
- {"",0,0,0},{"",0,0,0},{"",0,0,0},
- {"find_ior", &POA_ImplementationRepository::Administration::find_ior_skel, &POA_ImplementationRepository::_TAO_Administration_ThruPOA_Proxy_Impl::find_ior, &POA_ImplementationRepository::_TAO_Administration_Direct_Proxy_Impl::find_ior},
- {"_is_a", &POA_ImplementationRepository::Administration::_is_a_skel, 0, 0},
+ {"",0,0,0},{"",0,0,0},{"",0,0,0},{"",0,0,0},{"",0,0,0},
{"_interface", &POA_ImplementationRepository::Administration::_interface_skel, 0, 0},
{"",0,0,0},{"",0,0,0},
{"remove_server", &POA_ImplementationRepository::Administration::remove_server_skel, &POA_ImplementationRepository::_TAO_Administration_ThruPOA_Proxy_Impl::remove_server, &POA_ImplementationRepository::_TAO_Administration_Direct_Proxy_Impl::remove_server},
- {"",0,0,0},
+ {"_is_a", &POA_ImplementationRepository::Administration::_is_a_skel, 0, 0},
{"register_server", &POA_ImplementationRepository::Administration::register_server_skel, &POA_ImplementationRepository::_TAO_Administration_ThruPOA_Proxy_Impl::register_server, &POA_ImplementationRepository::_TAO_Administration_Direct_Proxy_Impl::register_server},
{"",0,0,0},
{"reregister_server", &POA_ImplementationRepository::Administration::reregister_server_skel, &POA_ImplementationRepository::_TAO_Administration_ThruPOA_Proxy_Impl::reregister_server, &POA_ImplementationRepository::_TAO_Administration_Direct_Proxy_Impl::reregister_server},
- {"shutdown_repo", &POA_ImplementationRepository::Administration::shutdown_repo_skel, &POA_ImplementationRepository::_TAO_Administration_ThruPOA_Proxy_Impl::shutdown_repo, &POA_ImplementationRepository::_TAO_Administration_Direct_Proxy_Impl::shutdown_repo},
- {"activate_server", &POA_ImplementationRepository::Administration::activate_server_skel, &POA_ImplementationRepository::_TAO_Administration_ThruPOA_Proxy_Impl::activate_server, &POA_ImplementationRepository::_TAO_Administration_Direct_Proxy_Impl::activate_server},
+ {"list", &POA_ImplementationRepository::Administration::list_skel, &POA_ImplementationRepository::_TAO_Administration_ThruPOA_Proxy_Impl::list, &POA_ImplementationRepository::_TAO_Administration_Direct_Proxy_Impl::list},
+ {"_component", &POA_ImplementationRepository::Administration::_component_skel, 0, 0},
{"shutdown_server", &POA_ImplementationRepository::Administration::shutdown_server_skel, &POA_ImplementationRepository::_TAO_Administration_ThruPOA_Proxy_Impl::shutdown_server, &POA_ImplementationRepository::_TAO_Administration_Direct_Proxy_Impl::shutdown_server},
{"",0,0,0},
- {"server_is_running", &POA_ImplementationRepository::Administration::server_is_running_skel, &POA_ImplementationRepository::_TAO_Administration_ThruPOA_Proxy_Impl::server_is_running, &POA_ImplementationRepository::_TAO_Administration_Direct_Proxy_Impl::server_is_running},
+ {"_non_existent", &POA_ImplementationRepository::Administration::_non_existent_skel, 0, 0},
{"",0,0,0},
- {"list", &POA_ImplementationRepository::Administration::list_skel, &POA_ImplementationRepository::_TAO_Administration_ThruPOA_Proxy_Impl::list, &POA_ImplementationRepository::_TAO_Administration_Direct_Proxy_Impl::list},
- {"_component", &POA_ImplementationRepository::Administration::_component_skel, 0, 0},
+ {"activate_server", &POA_ImplementationRepository::Administration::activate_server_skel, &POA_ImplementationRepository::_TAO_Administration_ThruPOA_Proxy_Impl::activate_server, &POA_ImplementationRepository::_TAO_Administration_Direct_Proxy_Impl::activate_server},
{"",0,0,0},{"",0,0,0},
- {"_non_existent", &POA_ImplementationRepository::Administration::_non_existent_skel, 0, 0},
- {"",0,0,0},{"",0,0,0},{"",0,0,0},
- {"activate_server_with_startup", &POA_ImplementationRepository::Administration::activate_server_with_startup_skel, &POA_ImplementationRepository::_TAO_Administration_ThruPOA_Proxy_Impl::activate_server_with_startup, &POA_ImplementationRepository::_TAO_Administration_Direct_Proxy_Impl::activate_server_with_startup},
+ {"server_is_running", &POA_ImplementationRepository::Administration::server_is_running_skel, &POA_ImplementationRepository::_TAO_Administration_ThruPOA_Proxy_Impl::server_is_running, &POA_ImplementationRepository::_TAO_Administration_Direct_Proxy_Impl::server_is_running},
{"server_is_shutting_down", &POA_ImplementationRepository::Administration::server_is_shutting_down_skel, &POA_ImplementationRepository::_TAO_Administration_ThruPOA_Proxy_Impl::server_is_shutting_down, &POA_ImplementationRepository::_TAO_Administration_Direct_Proxy_Impl::server_is_shutting_down},
};
@@ -1194,415 +1473,1447 @@ TAO_ImplementationRepository_Administration_Perfect_Hash_OpTable::lookup (const
static TAO_ImplementationRepository_Administration_Perfect_Hash_OpTable tao_ImplementationRepository_Administration_optable;
// TAO_IDL - Generated from
-// be/be_visitor_interface/upcall_command_ss.cpp:49
+// be\be_visitor_interface/interceptors_ss.cpp:53
+
+#if (TAO_HAS_INTERCEPTORS == 1)
// TAO_IDL - Generated from
-// be/be_visitor_operation/upcall_command_ss.cpp:52
+// be\be_visitor_operation/interceptors_ss.cpp:74
-class TAO_ImplementationRepository_Administration_activate_server_Upcall_Command
- : public TAO::Upcall_Command
+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
+ );
- inline TAO_ImplementationRepository_Administration_activate_server_Upcall_Command (
- POA_ImplementationRepository::Administration * servant,
- TAO::Argument * const args[])
- : servant_ (servant)
- , args_ (args)
- {
- }
+ virtual Dynamic::ParameterList * arguments (
+ ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
- virtual void execute (ACE_ENV_SINGLE_ARG_DECL)
- {
- this->servant_->activate_server (
- static_cast<TAO::SArg_Traits< ::CORBA::Char *>::in_arg_val *> (this->args_[1])->arg ()
- ACE_ENV_ARG_PARAMETER
+ 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_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id
+ 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 &
);
- ACE_CHECK;
- }
-
+
+ void operator= (
+ const TAO_ServerRequestInfo_ImplementationRepository_Administration_activate_server &
+ );
+
private:
+ POA_ImplementationRepository::Administration *_tao_impl;
- POA_ImplementationRepository::Administration * const servant_;
- TAO::Argument * const * const args_;
-
+ const char * server_;
};
-
// TAO_IDL - Generated from
-// be/be_visitor_operation/upcall_command_ss.cpp:52
+// be\be_visitor_operation/interceptors_ss.cpp:438
-class TAO_ImplementationRepository_Administration_activate_server_with_startup_Upcall_Command
- : public TAO::Upcall_Command
+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
+ )
+ : TAO_ServerRequestInfo (_tao_server_request, _tao_servant_upcall),
+ _tao_impl (tao_impl),
+ server_ (server)
+{}
+
+Dynamic::ParameterList *
+TAO_ServerRequestInfo_ImplementationRepository_Administration_activate_server::arguments (
+ ACE_ENV_SINGLE_ARG_DECL
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException))
{
-public:
+ // 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);
- inline TAO_ImplementationRepository_Administration_activate_server_with_startup_Upcall_Command (
- POA_ImplementationRepository::Administration * servant,
- TAO::Argument * const args[])
- : servant_ (servant)
- , args_ (args)
- {
- }
+ Dynamic::ParameterList_var safe_parameter_list = parameter_list;
+ parameter_list->length (1);
+ CORBA::ULong len = 0;
+
+ (*parameter_list)[len].argument <<= server_;
+ (*parameter_list)[len].mode = CORBA::PARAM_IN;
+ len++;
- virtual void execute (ACE_ENV_SINGLE_ARG_DECL)
+ return safe_parameter_list._retn ();
+}
+
+Dynamic::ExceptionList *
+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_cast<TAO::SArg_Traits< ::CORBA::Char *>::ret_val *> (this->args_[0])->arg () =
- this->servant_->activate_server_with_startup (
- static_cast<TAO::SArg_Traits< ::CORBA::Char *>::in_arg_val *> (this->args_[1])->arg (),
- static_cast<TAO::SArg_Traits< CORBA::Long>::in_arg_val *> (this->args_[2])->arg ()
- ACE_ENV_ARG_PARAMETER
- );
- ACE_CHECK;
- }
+ ImplementationRepository::_tc_NotFound,
+ ImplementationRepository::_tc_CannotActivate
+ };
+
+ exception_list->length (2);
+ for (CORBA::ULong i = 0; i < 2; ++i)
+ {
+ CORBA::TypeCode_ptr tcp = _tao_ImplementationRepository_Administration_activate_server_exceptiondata[i];
+ TAO_Pseudo_Object_Manager<CORBA::TypeCode> tcp_object (&tcp, 1);
+ (*exception_list)[i] = tcp_object;
+ }
-private:
+ return safe_exception_list._retn ();
+}
+
+CORBA::Any *
+TAO_ServerRequestInfo_ImplementationRepository_Administration_activate_server::result (
+ ACE_ENV_SINGLE_ARG_DECL
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 1;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any ACE_ENV_ARG_PARAMETER);
+ ACE_CHECK_RETURN (0);
- POA_ImplementationRepository::Administration * const servant_;
- TAO::Argument * const * const args_;
+ return result_any;
+}
-};
+char *
+TAO_ServerRequestInfo_ImplementationRepository_Administration_activate_server::target_most_derived_interface (
+ ACE_ENV_SINGLE_ARG_DECL_NOT_USED
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+CORBA::Boolean
+TAO_ServerRequestInfo_ImplementationRepository_Administration_activate_server::target_is_a (
+ const char * id
+ 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/upcall_command_ss.cpp:52
+// be\be_visitor_operation/interceptors_ss.cpp:74
-class TAO_ImplementationRepository_Administration_register_server_Upcall_Command
- : public TAO::Upcall_Command
+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
+ );
- inline TAO_ImplementationRepository_Administration_register_server_Upcall_Command (
- POA_ImplementationRepository::Administration * servant,
- TAO::Argument * const args[])
- : servant_ (servant)
- , args_ (args)
- {
- }
+ virtual Dynamic::ParameterList * arguments (
+ ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
- virtual void execute (ACE_ENV_SINGLE_ARG_DECL)
- {
- this->servant_->register_server (
- static_cast<TAO::SArg_Traits< ::CORBA::Char *>::in_arg_val *> (this->args_[1])->arg (),
- static_cast<TAO::SArg_Traits< ::ImplementationRepository::StartupOptions>::in_arg_val *> (this->args_[2])->arg ()
- ACE_ENV_ARG_PARAMETER
+ 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_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id
+ 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 &
);
- ACE_CHECK;
- }
-
+
+ void operator= (
+ const TAO_ServerRequestInfo_ImplementationRepository_Administration_register_server &
+ );
+
private:
+ POA_ImplementationRepository::Administration *_tao_impl;
- POA_ImplementationRepository::Administration * const servant_;
- TAO::Argument * const * const args_;
-
+ const char * server_;
+ const ::ImplementationRepository::StartupOptions & options_;
};
-
// TAO_IDL - Generated from
-// be/be_visitor_operation/upcall_command_ss.cpp:52
+// be\be_visitor_operation/interceptors_ss.cpp:438
-class TAO_ImplementationRepository_Administration_reregister_server_Upcall_Command
- : public TAO::Upcall_Command
+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
+ )
+ : TAO_ServerRequestInfo (_tao_server_request, _tao_servant_upcall),
+ _tao_impl (tao_impl),
+ server_ (server),
+ options_ (options)
+{}
+
+Dynamic::ParameterList *
+TAO_ServerRequestInfo_ImplementationRepository_Administration_register_server::arguments (
+ ACE_ENV_SINGLE_ARG_DECL
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException))
{
-public:
+ // 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);
- inline TAO_ImplementationRepository_Administration_reregister_server_Upcall_Command (
- POA_ImplementationRepository::Administration * servant,
- TAO::Argument * const args[])
- : servant_ (servant)
- , args_ (args)
- {
- }
+ Dynamic::ParameterList_var safe_parameter_list = parameter_list;
+ parameter_list->length (2);
+ CORBA::ULong len = 0;
+
+ (*parameter_list)[len].argument <<= server_;
+ (*parameter_list)[len].mode = CORBA::PARAM_IN;
+ len++;
- virtual void execute (ACE_ENV_SINGLE_ARG_DECL)
+ (*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
+ )
+ 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[] =
{
- this->servant_->reregister_server (
- static_cast<TAO::SArg_Traits< ::CORBA::Char *>::in_arg_val *> (this->args_[1])->arg (),
- static_cast<TAO::SArg_Traits< ::ImplementationRepository::StartupOptions>::in_arg_val *> (this->args_[2])->arg ()
- ACE_ENV_ARG_PARAMETER
- );
- ACE_CHECK;
- }
+ ImplementationRepository::_tc_AlreadyRegistered,
+ ImplementationRepository::_tc_NotFound
+ };
+
+ exception_list->length (2);
+ for (CORBA::ULong i = 0; i < 2; ++i)
+ {
+ CORBA::TypeCode_ptr tcp = _tao_ImplementationRepository_Administration_register_server_exceptiondata[i];
+ TAO_Pseudo_Object_Manager<CORBA::TypeCode> tcp_object (&tcp, 1);
+ (*exception_list)[i] = tcp_object;
+ }
-private:
+ return safe_exception_list._retn ();
+}
+
+CORBA::Any *
+TAO_ServerRequestInfo_ImplementationRepository_Administration_register_server::result (
+ ACE_ENV_SINGLE_ARG_DECL
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 1;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any ACE_ENV_ARG_PARAMETER);
+ ACE_CHECK_RETURN (0);
- POA_ImplementationRepository::Administration * const servant_;
- TAO::Argument * const * const args_;
+ return result_any;
+}
-};
+char *
+TAO_ServerRequestInfo_ImplementationRepository_Administration_register_server::target_most_derived_interface (
+ ACE_ENV_SINGLE_ARG_DECL_NOT_USED
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+CORBA::Boolean
+TAO_ServerRequestInfo_ImplementationRepository_Administration_register_server::target_is_a (
+ const char * id
+ 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/upcall_command_ss.cpp:52
+// be\be_visitor_operation/interceptors_ss.cpp:74
-class TAO_ImplementationRepository_Administration_remove_server_Upcall_Command
- : public TAO::Upcall_Command
+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
+ );
- inline TAO_ImplementationRepository_Administration_remove_server_Upcall_Command (
- POA_ImplementationRepository::Administration * servant,
- TAO::Argument * const args[])
- : servant_ (servant)
- , args_ (args)
- {
- }
+ virtual Dynamic::ParameterList * arguments (
+ ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
- virtual void execute (ACE_ENV_SINGLE_ARG_DECL)
- {
- this->servant_->remove_server (
- static_cast<TAO::SArg_Traits< ::CORBA::Char *>::in_arg_val *> (this->args_[1])->arg ()
- ACE_ENV_ARG_PARAMETER
+ 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_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id
+ 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 &
);
- ACE_CHECK;
- }
-
+
+ void operator= (
+ const TAO_ServerRequestInfo_ImplementationRepository_Administration_reregister_server &
+ );
+
private:
+ POA_ImplementationRepository::Administration *_tao_impl;
- POA_ImplementationRepository::Administration * const servant_;
- TAO::Argument * const * const args_;
-
+ const char * server_;
+ const ::ImplementationRepository::StartupOptions & options_;
};
-
// TAO_IDL - Generated from
-// be/be_visitor_operation/upcall_command_ss.cpp:52
+// 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
+ )
+ : TAO_ServerRequestInfo (_tao_server_request, _tao_servant_upcall),
+ _tao_impl (tao_impl),
+ server_ (server),
+ options_ (options)
+{}
-class TAO_ImplementationRepository_Administration_shutdown_server_Upcall_Command
- : public TAO::Upcall_Command
+Dynamic::ParameterList *
+TAO_ServerRequestInfo_ImplementationRepository_Administration_reregister_server::arguments (
+ ACE_ENV_SINGLE_ARG_DECL
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException))
{
-public:
+ // 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);
- inline TAO_ImplementationRepository_Administration_shutdown_server_Upcall_Command (
- POA_ImplementationRepository::Administration * servant,
- TAO::Argument * const args[])
- : servant_ (servant)
- , args_ (args)
- {
- }
+ Dynamic::ParameterList_var safe_parameter_list = parameter_list;
+ parameter_list->length (2);
+ CORBA::ULong len = 0;
+
+ (*parameter_list)[len].argument <<= server_;
+ (*parameter_list)[len].mode = CORBA::PARAM_IN;
+ len++;
+
+ (*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
+ )
+ 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);
- virtual void execute (ACE_ENV_SINGLE_ARG_DECL)
+ Dynamic::ExceptionList_var safe_exception_list = exception_list;
+
+ static CORBA::TypeCode_ptr _tao_ImplementationRepository_Administration_reregister_server_exceptiondata[] =
{
- this->servant_->shutdown_server (
- static_cast<TAO::SArg_Traits< ::CORBA::Char *>::in_arg_val *> (this->args_[1])->arg ()
- ACE_ENV_ARG_PARAMETER
- );
- ACE_CHECK;
- }
+ ImplementationRepository::_tc_AlreadyRegistered,
+ ImplementationRepository::_tc_NotFound
+ };
+
+ exception_list->length (2);
+ for (CORBA::ULong i = 0; i < 2; ++i)
+ {
+ CORBA::TypeCode_ptr tcp = _tao_ImplementationRepository_Administration_reregister_server_exceptiondata[i];
+ TAO_Pseudo_Object_Manager<CORBA::TypeCode> tcp_object (&tcp, 1);
+ (*exception_list)[i] = tcp_object;
+ }
-private:
+ return safe_exception_list._retn ();
+}
+
+CORBA::Any *
+TAO_ServerRequestInfo_ImplementationRepository_Administration_reregister_server::result (
+ ACE_ENV_SINGLE_ARG_DECL
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 1;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any ACE_ENV_ARG_PARAMETER);
+ ACE_CHECK_RETURN (0);
- POA_ImplementationRepository::Administration * const servant_;
- TAO::Argument * const * const args_;
+ return result_any;
+}
-};
+char *
+TAO_ServerRequestInfo_ImplementationRepository_Administration_reregister_server::target_most_derived_interface (
+ ACE_ENV_SINGLE_ARG_DECL_NOT_USED
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+CORBA::Boolean
+TAO_ServerRequestInfo_ImplementationRepository_Administration_reregister_server::target_is_a (
+ const char * id
+ 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/upcall_command_ss.cpp:52
+// be\be_visitor_operation/interceptors_ss.cpp:74
-class TAO_ImplementationRepository_Administration_server_is_running_Upcall_Command
- : public TAO::Upcall_Command
+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
+ );
- inline TAO_ImplementationRepository_Administration_server_is_running_Upcall_Command (
- POA_ImplementationRepository::Administration * servant,
- TAO::Argument * const args[])
- : servant_ (servant)
- , args_ (args)
- {
- }
+ virtual Dynamic::ParameterList * arguments (
+ ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
- virtual void execute (ACE_ENV_SINGLE_ARG_DECL)
- {
- this->servant_->server_is_running (
- static_cast<TAO::SArg_Traits< ::CORBA::Char *>::in_arg_val *> (this->args_[1])->arg (),
- static_cast<TAO::SArg_Traits< ::ImplementationRepository::Address>::in_arg_val *> (this->args_[2])->arg (),
- static_cast<TAO::SArg_Traits< ::ImplementationRepository::ServerObject>::in_arg_val *> (this->args_[3])->arg ()
- ACE_ENV_ARG_PARAMETER
+ 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_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id
+ 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 &
);
- ACE_CHECK;
- }
-
+
+ void operator= (
+ const TAO_ServerRequestInfo_ImplementationRepository_Administration_remove_server &
+ );
+
private:
+ POA_ImplementationRepository::Administration *_tao_impl;
- POA_ImplementationRepository::Administration * const servant_;
- TAO::Argument * const * const args_;
-
+ const char * server_;
};
-
// TAO_IDL - Generated from
-// be/be_visitor_operation/upcall_command_ss.cpp:52
+// be\be_visitor_operation/interceptors_ss.cpp:438
-class TAO_ImplementationRepository_Administration_server_is_shutting_down_Upcall_Command
- : public TAO::Upcall_Command
+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
+ )
+ : TAO_ServerRequestInfo (_tao_server_request, _tao_servant_upcall),
+ _tao_impl (tao_impl),
+ server_ (server)
+{}
+
+Dynamic::ParameterList *
+TAO_ServerRequestInfo_ImplementationRepository_Administration_remove_server::arguments (
+ ACE_ENV_SINGLE_ARG_DECL
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException))
{
-public:
+ // 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);
- inline TAO_ImplementationRepository_Administration_server_is_shutting_down_Upcall_Command (
- POA_ImplementationRepository::Administration * servant,
- TAO::Argument * const args[])
- : servant_ (servant)
- , args_ (args)
- {
- }
+ Dynamic::ParameterList_var safe_parameter_list = parameter_list;
+ parameter_list->length (1);
+ CORBA::ULong len = 0;
+
+ (*parameter_list)[len].argument <<= server_;
+ (*parameter_list)[len].mode = CORBA::PARAM_IN;
+ len++;
- virtual void execute (ACE_ENV_SINGLE_ARG_DECL)
+ return safe_parameter_list._retn ();
+}
+
+Dynamic::ExceptionList *
+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[] =
{
- this->servant_->server_is_shutting_down (
- static_cast<TAO::SArg_Traits< ::CORBA::Char *>::in_arg_val *> (this->args_[1])->arg ()
- ACE_ENV_ARG_PARAMETER
- );
- ACE_CHECK;
- }
+ ImplementationRepository::_tc_NotFound
+ };
+
+ exception_list->length (1);
+ for (CORBA::ULong i = 0; i < 1; ++i)
+ {
+ CORBA::TypeCode_ptr tcp = _tao_ImplementationRepository_Administration_remove_server_exceptiondata[i];
+ TAO_Pseudo_Object_Manager<CORBA::TypeCode> tcp_object (&tcp, 1);
+ (*exception_list)[i] = tcp_object;
+ }
-private:
+ return safe_exception_list._retn ();
+}
+
+CORBA::Any *
+TAO_ServerRequestInfo_ImplementationRepository_Administration_remove_server::result (
+ ACE_ENV_SINGLE_ARG_DECL
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 1;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any ACE_ENV_ARG_PARAMETER);
+ ACE_CHECK_RETURN (0);
- POA_ImplementationRepository::Administration * const servant_;
- TAO::Argument * const * const args_;
+ return result_any;
+}
-};
+char *
+TAO_ServerRequestInfo_ImplementationRepository_Administration_remove_server::target_most_derived_interface (
+ ACE_ENV_SINGLE_ARG_DECL_NOT_USED
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+CORBA::Boolean
+TAO_ServerRequestInfo_ImplementationRepository_Administration_remove_server::target_is_a (
+ const char * id
+ 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/upcall_command_ss.cpp:52
+// be\be_visitor_operation/interceptors_ss.cpp:74
-class TAO_ImplementationRepository_Administration_find_Upcall_Command
- : public TAO::Upcall_Command
+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
+ );
- inline TAO_ImplementationRepository_Administration_find_Upcall_Command (
- POA_ImplementationRepository::Administration * servant,
- TAO::Argument * const args[])
- : servant_ (servant)
- , args_ (args)
- {
- }
+ virtual Dynamic::ParameterList * arguments (
+ ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
- virtual void execute (ACE_ENV_SINGLE_ARG_DECL)
- {
- this->servant_->find (
- static_cast<TAO::SArg_Traits< ::CORBA::Char *>::in_arg_val *> (this->args_[1])->arg (),
- static_cast<TAO::SArg_Traits< ::ImplementationRepository::ServerInformation>::out_arg_val *> (this->args_[2])->arg ()
- ACE_ENV_ARG_PARAMETER
+ 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_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id
+ 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 &
);
- ACE_CHECK;
- }
-
+
+ void operator= (
+ const TAO_ServerRequestInfo_ImplementationRepository_Administration_shutdown_server &
+ );
+
private:
+ POA_ImplementationRepository::Administration *_tao_impl;
- POA_ImplementationRepository::Administration * const servant_;
- TAO::Argument * const * const args_;
-
+ 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
+ )
+ : TAO_ServerRequestInfo (_tao_server_request, _tao_servant_upcall),
+ _tao_impl (tao_impl),
+ server_ (server)
+{}
+
+Dynamic::ParameterList *
+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].mode = CORBA::PARAM_IN;
+ len++;
+
+ return safe_parameter_list._retn ();
+}
+
+Dynamic::ExceptionList *
+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[] =
+ {
+ ImplementationRepository::_tc_NotFound
+ };
+
+ exception_list->length (1);
+ for (CORBA::ULong i = 0; i < 1; ++i)
+ {
+ CORBA::TypeCode_ptr tcp = _tao_ImplementationRepository_Administration_shutdown_server_exceptiondata[i];
+ TAO_Pseudo_Object_Manager<CORBA::TypeCode> tcp_object (&tcp, 1);
+ (*exception_list)[i] = tcp_object;
+ }
+
+ return safe_exception_list._retn ();
+}
+
+CORBA::Any *
+TAO_ServerRequestInfo_ImplementationRepository_Administration_shutdown_server::result (
+ ACE_ENV_SINGLE_ARG_DECL
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 1;
+ 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_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+TAO_ServerRequestInfo_ImplementationRepository_Administration_shutdown_server::target_is_a (
+ const char * id
+ 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/upcall_command_ss.cpp:52
+// be\be_visitor_operation/interceptors_ss.cpp:74
-class TAO_ImplementationRepository_Administration_list_Upcall_Command
- : public TAO::Upcall_Command
+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 * partial_ior,
+ ::ImplementationRepository::ServerObject_ptr server_object
+ ACE_ENV_ARG_DECL_WITH_DEFAULTS
+ );
- inline TAO_ImplementationRepository_Administration_list_Upcall_Command (
- POA_ImplementationRepository::Administration * servant,
- TAO::Argument * const args[])
- : servant_ (servant)
- , args_ (args)
- {
- }
+ virtual Dynamic::ParameterList * arguments (
+ ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
- virtual void execute (ACE_ENV_SINGLE_ARG_DECL)
- {
- this->servant_->list (
- static_cast<TAO::SArg_Traits< CORBA::ULong>::in_arg_val *> (this->args_[1])->arg (),
- static_cast<TAO::SArg_Traits< ::ImplementationRepository::ServerInformationList>::out_arg_val *> (this->args_[2])->arg (),
- static_cast<TAO::SArg_Traits< ::ImplementationRepository::ServerInformationIterator>::out_arg_val *> (this->args_[3])->arg ()
- ACE_ENV_ARG_PARAMETER
+ 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_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id
+ ACE_ENV_ARG_DECL_WITH_DEFAULTS
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+private:
+ TAO_ServerRequestInfo_ImplementationRepository_Administration_server_is_running (
+ const TAO_ServerRequestInfo_ImplementationRepository_Administration_server_is_running &
);
- ACE_CHECK;
- }
-
+
+ void operator= (
+ const TAO_ServerRequestInfo_ImplementationRepository_Administration_server_is_running &
+ );
+
private:
+ POA_ImplementationRepository::Administration *_tao_impl;
- POA_ImplementationRepository::Administration * const servant_;
- TAO::Argument * const * const args_;
-
+ const char * server_;
+ const char * partial_ior_;
+ ::ImplementationRepository::ServerObject_ptr server_object_;
};
+// 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 * partial_ior,
+ ::ImplementationRepository::ServerObject_ptr server_object
+ ACE_ENV_ARG_DECL_NOT_USED
+ )
+ : TAO_ServerRequestInfo (_tao_server_request, _tao_servant_upcall),
+ _tao_impl (tao_impl),
+ server_ (server),
+ partial_ior_ (partial_ior),
+ server_object_ (server_object)
+{}
+
+Dynamic::ParameterList *
+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].mode = CORBA::PARAM_IN;
+ len++;
+
+ (*parameter_list)[len].argument <<= partial_ior_;
+ (*parameter_list)[len].mode = CORBA::PARAM_IN;
+ len++;
+
+ (*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
+ )
+ 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[] =
+ {
+ ImplementationRepository::_tc_NotFound
+ };
+
+ exception_list->length (1);
+ for (CORBA::ULong i = 0; i < 1; ++i)
+ {
+ CORBA::TypeCode_ptr tcp = _tao_ImplementationRepository_Administration_server_is_running_exceptiondata[i];
+ TAO_Pseudo_Object_Manager<CORBA::TypeCode> tcp_object (&tcp, 1);
+ (*exception_list)[i] = tcp_object;
+ }
+
+ return safe_exception_list._retn ();
+}
+
+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.
+ CORBA::Boolean tk_void_any = 1;
+ 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_running::target_most_derived_interface (
+ ACE_ENV_SINGLE_ARG_DECL_NOT_USED
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+TAO_ServerRequestInfo_ImplementationRepository_Administration_server_is_running::target_is_a (
+ const char * id
+ 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/upcall_command_ss.cpp:52
+// be\be_visitor_operation/interceptors_ss.cpp:74
-class TAO_ImplementationRepository_Administration_shutdown_repo_Upcall_Command
- : public TAO::Upcall_Command
+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
+ );
- inline TAO_ImplementationRepository_Administration_shutdown_repo_Upcall_Command (
- POA_ImplementationRepository::Administration * servant)
- : servant_ (servant)
- {
- }
+ virtual Dynamic::ParameterList * arguments (
+ ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
- virtual void execute (ACE_ENV_SINGLE_ARG_DECL)
- {
- this->servant_->shutdown_repo (
- ACE_ENV_SINGLE_ARG_PARAMETER
+ 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_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id
+ 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 &
);
- ACE_CHECK;
- }
-
+
+ void operator= (
+ const TAO_ServerRequestInfo_ImplementationRepository_Administration_server_is_shutting_down &
+ );
+
private:
+ POA_ImplementationRepository::Administration *_tao_impl;
- POA_ImplementationRepository::Administration * const servant_;
-
+ 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
+ )
+ : TAO_ServerRequestInfo (_tao_server_request, _tao_servant_upcall),
+ _tao_impl (tao_impl),
+ server_ (server)
+{}
+
+Dynamic::ParameterList *
+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].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
+ )
+ 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[] =
+ {
+ ImplementationRepository::_tc_NotFound
+ };
+
+ exception_list->length (1);
+ for (CORBA::ULong i = 0; i < 1; ++i)
+ {
+ CORBA::TypeCode_ptr tcp = _tao_ImplementationRepository_Administration_server_is_shutting_down_exceptiondata[i];
+ TAO_Pseudo_Object_Manager<CORBA::TypeCode> tcp_object (&tcp, 1);
+ (*exception_list)[i] = tcp_object;
+ }
+
+ return safe_exception_list._retn ();
+}
+
+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.
+ CORBA::Boolean tk_void_any = 1;
+ 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_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+TAO_ServerRequestInfo_ImplementationRepository_Administration_server_is_shutting_down::target_is_a (
+ const char * id
+ 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/upcall_command_ss.cpp:52
+// be\be_visitor_operation/interceptors_ss.cpp:74
-class TAO_ImplementationRepository_Administration_find_ior_Upcall_Command
- : public TAO::Upcall_Command
+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
+ );
- inline TAO_ImplementationRepository_Administration_find_ior_Upcall_Command (
- POA_ImplementationRepository::Administration * servant,
- TAO::Argument * const args[])
- : servant_ (servant)
- , args_ (args)
- {
- }
+ 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_THROW_SPEC ((CORBA::SystemException));
- virtual void execute (ACE_ENV_SINGLE_ARG_DECL)
+ virtual CORBA::Boolean target_is_a (
+ const char * id
+ 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 &
+ );
+
+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
+ )
+ : TAO_ServerRequestInfo (_tao_server_request, _tao_servant_upcall),
+ _tao_impl (tao_impl),
+ server_ (server)
+{}
+
+Dynamic::ParameterList *
+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].mode = CORBA::PARAM_IN;
+ len++;
+
+ return safe_parameter_list._retn ();
+}
+
+Dynamic::ExceptionList *
+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_cast<TAO::SArg_Traits< ::CORBA::Char *>::ret_val *> (this->args_[0])->arg () =
- this->servant_->find_ior (
- static_cast<TAO::SArg_Traits< ::CORBA::Char *>::in_arg_val *> (this->args_[1])->arg ()
- ACE_ENV_ARG_PARAMETER
- );
- ACE_CHECK;
- }
+ ImplementationRepository::_tc_NotFound
+ };
+
+ exception_list->length (1);
+ for (CORBA::ULong i = 0; i < 1; ++i)
+ {
+ CORBA::TypeCode_ptr tcp = _tao_ImplementationRepository_Administration_find_exceptiondata[i];
+ TAO_Pseudo_Object_Manager<CORBA::TypeCode> tcp_object (&tcp, 1);
+ (*exception_list)[i] = tcp_object;
+ }
+
+ return safe_exception_list._retn ();
+}
+
+CORBA::Any *
+TAO_ServerRequestInfo_ImplementationRepository_Administration_find::result (
+ ACE_ENV_SINGLE_ARG_DECL
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 1;
+ 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_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+CORBA::Boolean
+TAO_ServerRequestInfo_ImplementationRepository_Administration_find::target_is_a (
+ const char * id
+ 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
+ );
+
+ 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_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id
+ ACE_ENV_ARG_DECL_WITH_DEFAULTS
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
private:
+ TAO_ServerRequestInfo_ImplementationRepository_Administration_list (
+ const TAO_ServerRequestInfo_ImplementationRepository_Administration_list &
+ );
- POA_ImplementationRepository::Administration * const servant_;
- TAO::Argument * const * const args_;
+ void operator= (
+ const TAO_ServerRequestInfo_ImplementationRepository_Administration_list &
+ );
+
+private:
+ POA_ImplementationRepository::Administration *_tao_impl;
+
+ 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
+ )
+ : TAO_ServerRequestInfo (_tao_server_request, _tao_servant_upcall),
+ _tao_impl (tao_impl),
+ how_many_ (how_many)
+
+{}
+
+Dynamic::ParameterList *
+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].mode = CORBA::PARAM_IN;
+ len++;
+
+
+ return safe_parameter_list._retn ();
+}
+
+Dynamic::ExceptionList *
+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
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 1;
+ 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_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+TAO_ServerRequestInfo_ImplementationRepository_Administration_list::target_is_a (
+ const char * id
+ ACE_ENV_ARG_DECL
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id ACE_ENV_ARG_PARAMETER);
+}
+
+#endif /* TAO_HAS_INTERCEPTORS */
+
///////////////////////////////////////////////////////////////////////
// Strategized Proxy Broker Implementation
//
// TAO_IDL - Generated from
-// be/be_visitor_interface/strategized_proxy_broker_ss.cpp:40
+// be\be_visitor_interface/strategized_proxy_broker_ss.cpp:40
// Factory function Implementation.
POA_ImplementationRepository::_TAO_Administration_Strategized_Proxy_Broker *
@@ -1685,7 +2996,7 @@ POA_ImplementationRepository::_TAO_Administration_Strategized_Proxy_Broker::disp
if (status == -1)
{
- ACE_THROW (CORBA::BAD_OPERATION ());
+ ACE_THROW (CORBA::BAD_OPERATION (TAO::VMCID | 2, CORBA::COMPLETED_NO));
}
ACE_TRY
@@ -1719,7 +3030,7 @@ POA_ImplementationRepository::_TAO_Administration_Strategized_Proxy_Broker::disp
///////////////////////////////////////////////////////////////////////
// TAO_IDL - Generated from
-// be/be_visitor_interface/interface_ss.cpp:648
+// be\be_visitor_interface/interface_ss.cpp:640
TAO::Collocation_Proxy_Broker *
ImplementationRepository__TAO_Administration_Proxy_Broker_Factory_function (CORBA::Object_ptr)
@@ -1752,7 +3063,7 @@ ImplementationRepository__TAO_Administration_Proxy_Broker_Stub_Factory_Initializ
//
// TAO_IDL - Generated from
-// be/be_visitor_interface/thru_poa_proxy_impl_ss.cpp:37
+// be\be_visitor_interface/thru_poa_proxy_impl_ss.cpp:37
POA_ImplementationRepository::_TAO_Administration_ThruPOA_Proxy_Impl::_TAO_Administration_ThruPOA_Proxy_Impl (void)
{}
@@ -1760,7 +3071,7 @@ POA_ImplementationRepository::_TAO_Administration_ThruPOA_Proxy_Impl::_TAO_Admin
// ThruPOA Implementation of the IDL interface methods
// TAO_IDL - Generated from
-// be/be_visitor_operation/thru_poa_proxy_impl_ss.cpp:52
+// be\be_visitor_operation/thru_poa_proxy_impl_ss.cpp:52
void
POA_ImplementationRepository::_TAO_Administration_ThruPOA_Proxy_Impl::activate_server (
@@ -1781,44 +3092,14 @@ POA_ImplementationRepository::_TAO_Administration_ThruPOA_Proxy_Impl::activate_s
"IDL:ImplementationRepository/Administration:1.0"
)
)->activate_server (
- ((TAO::Arg_Traits< ::CORBA::Char *>::in_arg_val *) args[1])->arg ()
+ ((TAO::Arg_Traits< CORBA::Char *>::in_arg_val *) args[1])->arg ()
ACE_ENV_ARG_PARAMETER
);
ACE_CHECK;
}
// TAO_IDL - Generated from
-// be/be_visitor_operation/thru_poa_proxy_impl_ss.cpp:52
-
-void
-POA_ImplementationRepository::_TAO_Administration_ThruPOA_Proxy_Impl::activate_server_with_startup (
- TAO_Abstract_ServantBase *servant,
- TAO::Argument ** args,
- int
- ACE_ENV_ARG_DECL
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException,
- ::ImplementationRepository::NotFound,
- ::ImplementationRepository::CannotActivate
- ))
-{
- ((TAO::Arg_Traits< ::CORBA::Char *>::ret_val *) args[0])->arg () =
- reinterpret_cast<
- POA_ImplementationRepository::Administration_ptr> (
- servant->_downcast (
- "IDL:ImplementationRepository/Administration:1.0"
- )
- )->activate_server_with_startup (
- ((TAO::Arg_Traits< ::CORBA::Char *>::in_arg_val *) args[1])->arg (),
- ((TAO::Arg_Traits< CORBA::Long>::in_arg_val *) args[2])->arg ()
- ACE_ENV_ARG_PARAMETER
- );
- ACE_CHECK;
-}
-
-// TAO_IDL - Generated from
-// be/be_visitor_operation/thru_poa_proxy_impl_ss.cpp:52
+// be\be_visitor_operation/thru_poa_proxy_impl_ss.cpp:52
void
POA_ImplementationRepository::_TAO_Administration_ThruPOA_Proxy_Impl::register_server (
@@ -1839,15 +3120,15 @@ POA_ImplementationRepository::_TAO_Administration_ThruPOA_Proxy_Impl::register_s
"IDL:ImplementationRepository/Administration:1.0"
)
)->register_server (
- ((TAO::Arg_Traits< ::CORBA::Char *>::in_arg_val *) args[1])->arg (),
- ((TAO::Arg_Traits< ::ImplementationRepository::StartupOptions>::in_arg_val *) args[2])->arg ()
+ ((TAO::Arg_Traits< CORBA::Char *>::in_arg_val *) args[1])->arg (),
+ ((TAO::Arg_Traits< ImplementationRepository::StartupOptions>::in_arg_val *) args[2])->arg ()
ACE_ENV_ARG_PARAMETER
);
ACE_CHECK;
}
// TAO_IDL - Generated from
-// be/be_visitor_operation/thru_poa_proxy_impl_ss.cpp:52
+// be\be_visitor_operation/thru_poa_proxy_impl_ss.cpp:52
void
POA_ImplementationRepository::_TAO_Administration_ThruPOA_Proxy_Impl::reregister_server (
@@ -1868,15 +3149,15 @@ POA_ImplementationRepository::_TAO_Administration_ThruPOA_Proxy_Impl::reregister
"IDL:ImplementationRepository/Administration:1.0"
)
)->reregister_server (
- ((TAO::Arg_Traits< ::CORBA::Char *>::in_arg_val *) args[1])->arg (),
- ((TAO::Arg_Traits< ::ImplementationRepository::StartupOptions>::in_arg_val *) args[2])->arg ()
+ ((TAO::Arg_Traits< CORBA::Char *>::in_arg_val *) args[1])->arg (),
+ ((TAO::Arg_Traits< ImplementationRepository::StartupOptions>::in_arg_val *) args[2])->arg ()
ACE_ENV_ARG_PARAMETER
);
ACE_CHECK;
}
// TAO_IDL - Generated from
-// be/be_visitor_operation/thru_poa_proxy_impl_ss.cpp:52
+// be\be_visitor_operation/thru_poa_proxy_impl_ss.cpp:52
void
POA_ImplementationRepository::_TAO_Administration_ThruPOA_Proxy_Impl::remove_server (
@@ -1896,14 +3177,14 @@ POA_ImplementationRepository::_TAO_Administration_ThruPOA_Proxy_Impl::remove_ser
"IDL:ImplementationRepository/Administration:1.0"
)
)->remove_server (
- ((TAO::Arg_Traits< ::CORBA::Char *>::in_arg_val *) args[1])->arg ()
+ ((TAO::Arg_Traits< CORBA::Char *>::in_arg_val *) args[1])->arg ()
ACE_ENV_ARG_PARAMETER
);
ACE_CHECK;
}
// TAO_IDL - Generated from
-// be/be_visitor_operation/thru_poa_proxy_impl_ss.cpp:52
+// be\be_visitor_operation/thru_poa_proxy_impl_ss.cpp:52
void
POA_ImplementationRepository::_TAO_Administration_ThruPOA_Proxy_Impl::shutdown_server (
@@ -1923,14 +3204,14 @@ POA_ImplementationRepository::_TAO_Administration_ThruPOA_Proxy_Impl::shutdown_s
"IDL:ImplementationRepository/Administration:1.0"
)
)->shutdown_server (
- ((TAO::Arg_Traits< ::CORBA::Char *>::in_arg_val *) args[1])->arg ()
+ ((TAO::Arg_Traits< CORBA::Char *>::in_arg_val *) args[1])->arg ()
ACE_ENV_ARG_PARAMETER
);
ACE_CHECK;
}
// TAO_IDL - Generated from
-// be/be_visitor_operation/thru_poa_proxy_impl_ss.cpp:52
+// be\be_visitor_operation/thru_poa_proxy_impl_ss.cpp:52
void
POA_ImplementationRepository::_TAO_Administration_ThruPOA_Proxy_Impl::server_is_running (
@@ -1950,16 +3231,16 @@ POA_ImplementationRepository::_TAO_Administration_ThruPOA_Proxy_Impl::server_is_
"IDL:ImplementationRepository/Administration:1.0"
)
)->server_is_running (
- ((TAO::Arg_Traits< ::CORBA::Char *>::in_arg_val *) args[1])->arg (),
- ((TAO::Arg_Traits< ::ImplementationRepository::Address>::in_arg_val *) args[2])->arg (),
- ((TAO::Arg_Traits< ::ImplementationRepository::ServerObject>::in_arg_val *) args[3])->arg ()
+ ((TAO::Arg_Traits< CORBA::Char *>::in_arg_val *) args[1])->arg (),
+ ((TAO::Arg_Traits< CORBA::Char *>::in_arg_val *) args[2])->arg (),
+ ((TAO::Arg_Traits< ImplementationRepository::ServerObject>::in_arg_val *) args[3])->arg ()
ACE_ENV_ARG_PARAMETER
);
ACE_CHECK;
}
// TAO_IDL - Generated from
-// be/be_visitor_operation/thru_poa_proxy_impl_ss.cpp:52
+// be\be_visitor_operation/thru_poa_proxy_impl_ss.cpp:52
void
POA_ImplementationRepository::_TAO_Administration_ThruPOA_Proxy_Impl::server_is_shutting_down (
@@ -1979,14 +3260,14 @@ POA_ImplementationRepository::_TAO_Administration_ThruPOA_Proxy_Impl::server_is_
"IDL:ImplementationRepository/Administration:1.0"
)
)->server_is_shutting_down (
- ((TAO::Arg_Traits< ::CORBA::Char *>::in_arg_val *) args[1])->arg ()
+ ((TAO::Arg_Traits< CORBA::Char *>::in_arg_val *) args[1])->arg ()
ACE_ENV_ARG_PARAMETER
);
ACE_CHECK;
}
// TAO_IDL - Generated from
-// be/be_visitor_operation/thru_poa_proxy_impl_ss.cpp:52
+// be\be_visitor_operation/thru_poa_proxy_impl_ss.cpp:52
void
POA_ImplementationRepository::_TAO_Administration_ThruPOA_Proxy_Impl::find (
@@ -2006,15 +3287,15 @@ POA_ImplementationRepository::_TAO_Administration_ThruPOA_Proxy_Impl::find (
"IDL:ImplementationRepository/Administration:1.0"
)
)->find (
- ((TAO::Arg_Traits< ::CORBA::Char *>::in_arg_val *) args[1])->arg (),
- ((TAO::Arg_Traits< ::ImplementationRepository::ServerInformation>::out_arg_val *) args[2])->arg ()
+ ((TAO::Arg_Traits< CORBA::Char *>::in_arg_val *) args[1])->arg (),
+ ((TAO::Arg_Traits< ImplementationRepository::ServerInformation>::out_arg_val *) args[2])->arg ()
ACE_ENV_ARG_PARAMETER
);
ACE_CHECK;
}
// TAO_IDL - Generated from
-// be/be_visitor_operation/thru_poa_proxy_impl_ss.cpp:52
+// be\be_visitor_operation/thru_poa_proxy_impl_ss.cpp:52
void
POA_ImplementationRepository::_TAO_Administration_ThruPOA_Proxy_Impl::list (
@@ -2033,67 +3314,14 @@ POA_ImplementationRepository::_TAO_Administration_ThruPOA_Proxy_Impl::list (
"IDL:ImplementationRepository/Administration:1.0"
)
)->list (
- ((TAO::Arg_Traits< CORBA::ULong>::in_arg_val *) args[1])->arg (),
- ((TAO::Arg_Traits< ::ImplementationRepository::ServerInformationList>::out_arg_val *) args[2])->arg (),
- ((TAO::Arg_Traits< ::ImplementationRepository::ServerInformationIterator>::out_arg_val *) args[3])->arg ()
+ ((TAO::Arg_Traits< ::CORBA::ULong>::in_arg_val *) args[1])->arg (),
+ ((TAO::Arg_Traits< ImplementationRepository::ServerInformationList>::out_arg_val *) args[2])->arg (),
+ ((TAO::Arg_Traits< ImplementationRepository::ServerInformationIterator>::out_arg_val *) args[3])->arg ()
ACE_ENV_ARG_PARAMETER
);
ACE_CHECK;
}
-// TAO_IDL - Generated from
-// be/be_visitor_operation/thru_poa_proxy_impl_ss.cpp:52
-
-void
-POA_ImplementationRepository::_TAO_Administration_ThruPOA_Proxy_Impl::shutdown_repo (
- TAO_Abstract_ServantBase *servant,
- TAO::Argument **,
- int
- ACE_ENV_ARG_DECL
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- reinterpret_cast<
- POA_ImplementationRepository::Administration_ptr> (
- servant->_downcast (
- "IDL:ImplementationRepository/Administration:1.0"
- )
- )->shutdown_repo (
- ACE_ENV_SINGLE_ARG_PARAMETER
- );
- ACE_CHECK;
-}
-
-// TAO_IDL - Generated from
-// be/be_visitor_operation/thru_poa_proxy_impl_ss.cpp:52
-
-void
-POA_ImplementationRepository::_TAO_Administration_ThruPOA_Proxy_Impl::find_ior (
- TAO_Abstract_ServantBase *servant,
- TAO::Argument ** args,
- int
- ACE_ENV_ARG_DECL
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException,
- ::ImplementationRepository::NotFound
- ))
-{
- ((TAO::Arg_Traits< ::CORBA::Char *>::ret_val *) args[0])->arg () =
- reinterpret_cast<
- POA_ImplementationRepository::Administration_ptr> (
- servant->_downcast (
- "IDL:ImplementationRepository/Administration:1.0"
- )
- )->find_ior (
- ((TAO::Arg_Traits< ::CORBA::Char *>::in_arg_val *) args[1])->arg ()
- ACE_ENV_ARG_PARAMETER
- );
- ACE_CHECK;
-}
-
//
// End ThruPOA Proxy Implementation
///////////////////////////////////////////////////////////////////////
@@ -2106,7 +3334,7 @@ POA_ImplementationRepository::_TAO_Administration_Direct_Proxy_Impl::_TAO_Admini
{}
// TAO_IDL - Generated from
-// be/be_visitor_operation/direct_proxy_impl_ss.cpp:42
+// be\be_visitor_operation/direct_proxy_impl_ss.cpp:42
void
POA_ImplementationRepository::_TAO_Administration_Direct_Proxy_Impl::activate_server (
@@ -2127,40 +3355,12 @@ POA_ImplementationRepository::_TAO_Administration_Direct_Proxy_Impl::activate_se
"IDL:ImplementationRepository/Administration:1.0"
)
)->activate_server (
- ((TAO::Arg_Traits< ::CORBA::Char *>::in_arg_val *) args[1])->arg ()
+ ((TAO::Arg_Traits< CORBA::Char *>::in_arg_val *) args[1])->arg ()
ACE_ENV_ARG_PARAMETER
);
ACE_CHECK;
}// TAO_IDL - Generated from
-// be/be_visitor_operation/direct_proxy_impl_ss.cpp:42
-
-void
-POA_ImplementationRepository::_TAO_Administration_Direct_Proxy_Impl::activate_server_with_startup (
- TAO_Abstract_ServantBase *servant,
- TAO::Argument ** args,
- int
- ACE_ENV_ARG_DECL
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException,
- ::ImplementationRepository::NotFound,
- ::ImplementationRepository::CannotActivate
- ))
-{
- ((TAO::Arg_Traits< ::CORBA::Char *>::ret_val *) args[0])->arg () =
- reinterpret_cast<
- POA_ImplementationRepository::Administration_ptr> (
- servant->_downcast (
- "IDL:ImplementationRepository/Administration:1.0"
- )
- )->activate_server_with_startup (
- ((TAO::Arg_Traits< ::CORBA::Char *>::in_arg_val *) args[1])->arg (),
- ((TAO::Arg_Traits< CORBA::Long>::in_arg_val *) args[2])->arg ()
- ACE_ENV_ARG_PARAMETER
- );
- ACE_CHECK;
-}// TAO_IDL - Generated from
-// be/be_visitor_operation/direct_proxy_impl_ss.cpp:42
+// be\be_visitor_operation/direct_proxy_impl_ss.cpp:42
void
POA_ImplementationRepository::_TAO_Administration_Direct_Proxy_Impl::register_server (
@@ -2181,13 +3381,13 @@ POA_ImplementationRepository::_TAO_Administration_Direct_Proxy_Impl::register_se
"IDL:ImplementationRepository/Administration:1.0"
)
)->register_server (
- ((TAO::Arg_Traits< ::CORBA::Char *>::in_arg_val *) args[1])->arg (),
- ((TAO::Arg_Traits< ::ImplementationRepository::StartupOptions>::in_arg_val *) args[2])->arg ()
+ ((TAO::Arg_Traits< CORBA::Char *>::in_arg_val *) args[1])->arg (),
+ ((TAO::Arg_Traits< ImplementationRepository::StartupOptions>::in_arg_val *) args[2])->arg ()
ACE_ENV_ARG_PARAMETER
);
ACE_CHECK;
}// TAO_IDL - Generated from
-// be/be_visitor_operation/direct_proxy_impl_ss.cpp:42
+// be\be_visitor_operation/direct_proxy_impl_ss.cpp:42
void
POA_ImplementationRepository::_TAO_Administration_Direct_Proxy_Impl::reregister_server (
@@ -2208,13 +3408,13 @@ POA_ImplementationRepository::_TAO_Administration_Direct_Proxy_Impl::reregister_
"IDL:ImplementationRepository/Administration:1.0"
)
)->reregister_server (
- ((TAO::Arg_Traits< ::CORBA::Char *>::in_arg_val *) args[1])->arg (),
- ((TAO::Arg_Traits< ::ImplementationRepository::StartupOptions>::in_arg_val *) args[2])->arg ()
+ ((TAO::Arg_Traits< CORBA::Char *>::in_arg_val *) args[1])->arg (),
+ ((TAO::Arg_Traits< ImplementationRepository::StartupOptions>::in_arg_val *) args[2])->arg ()
ACE_ENV_ARG_PARAMETER
);
ACE_CHECK;
}// TAO_IDL - Generated from
-// be/be_visitor_operation/direct_proxy_impl_ss.cpp:42
+// be\be_visitor_operation/direct_proxy_impl_ss.cpp:42
void
POA_ImplementationRepository::_TAO_Administration_Direct_Proxy_Impl::remove_server (
@@ -2234,12 +3434,12 @@ POA_ImplementationRepository::_TAO_Administration_Direct_Proxy_Impl::remove_serv
"IDL:ImplementationRepository/Administration:1.0"
)
)->remove_server (
- ((TAO::Arg_Traits< ::CORBA::Char *>::in_arg_val *) args[1])->arg ()
+ ((TAO::Arg_Traits< CORBA::Char *>::in_arg_val *) args[1])->arg ()
ACE_ENV_ARG_PARAMETER
);
ACE_CHECK;
}// TAO_IDL - Generated from
-// be/be_visitor_operation/direct_proxy_impl_ss.cpp:42
+// be\be_visitor_operation/direct_proxy_impl_ss.cpp:42
void
POA_ImplementationRepository::_TAO_Administration_Direct_Proxy_Impl::shutdown_server (
@@ -2259,12 +3459,12 @@ POA_ImplementationRepository::_TAO_Administration_Direct_Proxy_Impl::shutdown_se
"IDL:ImplementationRepository/Administration:1.0"
)
)->shutdown_server (
- ((TAO::Arg_Traits< ::CORBA::Char *>::in_arg_val *) args[1])->arg ()
+ ((TAO::Arg_Traits< CORBA::Char *>::in_arg_val *) args[1])->arg ()
ACE_ENV_ARG_PARAMETER
);
ACE_CHECK;
}// TAO_IDL - Generated from
-// be/be_visitor_operation/direct_proxy_impl_ss.cpp:42
+// be\be_visitor_operation/direct_proxy_impl_ss.cpp:42
void
POA_ImplementationRepository::_TAO_Administration_Direct_Proxy_Impl::server_is_running (
@@ -2284,14 +3484,14 @@ POA_ImplementationRepository::_TAO_Administration_Direct_Proxy_Impl::server_is_r
"IDL:ImplementationRepository/Administration:1.0"
)
)->server_is_running (
- ((TAO::Arg_Traits< ::CORBA::Char *>::in_arg_val *) args[1])->arg (),
- ((TAO::Arg_Traits< ::ImplementationRepository::Address>::in_arg_val *) args[2])->arg (),
- ((TAO::Arg_Traits< ::ImplementationRepository::ServerObject>::in_arg_val *) args[3])->arg ()
+ ((TAO::Arg_Traits< CORBA::Char *>::in_arg_val *) args[1])->arg (),
+ ((TAO::Arg_Traits< CORBA::Char *>::in_arg_val *) args[2])->arg (),
+ ((TAO::Arg_Traits< ImplementationRepository::ServerObject>::in_arg_val *) args[3])->arg ()
ACE_ENV_ARG_PARAMETER
);
ACE_CHECK;
}// TAO_IDL - Generated from
-// be/be_visitor_operation/direct_proxy_impl_ss.cpp:42
+// be\be_visitor_operation/direct_proxy_impl_ss.cpp:42
void
POA_ImplementationRepository::_TAO_Administration_Direct_Proxy_Impl::server_is_shutting_down (
@@ -2311,12 +3511,12 @@ POA_ImplementationRepository::_TAO_Administration_Direct_Proxy_Impl::server_is_s
"IDL:ImplementationRepository/Administration:1.0"
)
)->server_is_shutting_down (
- ((TAO::Arg_Traits< ::CORBA::Char *>::in_arg_val *) args[1])->arg ()
+ ((TAO::Arg_Traits< CORBA::Char *>::in_arg_val *) args[1])->arg ()
ACE_ENV_ARG_PARAMETER
);
ACE_CHECK;
}// TAO_IDL - Generated from
-// be/be_visitor_operation/direct_proxy_impl_ss.cpp:42
+// be\be_visitor_operation/direct_proxy_impl_ss.cpp:42
void
POA_ImplementationRepository::_TAO_Administration_Direct_Proxy_Impl::find (
@@ -2336,13 +3536,13 @@ POA_ImplementationRepository::_TAO_Administration_Direct_Proxy_Impl::find (
"IDL:ImplementationRepository/Administration:1.0"
)
)->find (
- ((TAO::Arg_Traits< ::CORBA::Char *>::in_arg_val *) args[1])->arg (),
- ((TAO::Arg_Traits< ::ImplementationRepository::ServerInformation>::out_arg_val *) args[2])->arg ()
+ ((TAO::Arg_Traits< CORBA::Char *>::in_arg_val *) args[1])->arg (),
+ ((TAO::Arg_Traits< ImplementationRepository::ServerInformation>::out_arg_val *) args[2])->arg ()
ACE_ENV_ARG_PARAMETER
);
ACE_CHECK;
}// TAO_IDL - Generated from
-// be/be_visitor_operation/direct_proxy_impl_ss.cpp:42
+// be\be_visitor_operation/direct_proxy_impl_ss.cpp:42
void
POA_ImplementationRepository::_TAO_Administration_Direct_Proxy_Impl::list (
@@ -2361,61 +3561,12 @@ POA_ImplementationRepository::_TAO_Administration_Direct_Proxy_Impl::list (
"IDL:ImplementationRepository/Administration:1.0"
)
)->list (
- ((TAO::Arg_Traits< CORBA::ULong>::in_arg_val *) args[1])->arg (),
- ((TAO::Arg_Traits< ::ImplementationRepository::ServerInformationList>::out_arg_val *) args[2])->arg (),
- ((TAO::Arg_Traits< ::ImplementationRepository::ServerInformationIterator>::out_arg_val *) args[3])->arg ()
+ ((TAO::Arg_Traits< ::CORBA::ULong>::in_arg_val *) args[1])->arg (),
+ ((TAO::Arg_Traits< ImplementationRepository::ServerInformationList>::out_arg_val *) args[2])->arg (),
+ ((TAO::Arg_Traits< ImplementationRepository::ServerInformationIterator>::out_arg_val *) args[3])->arg ()
ACE_ENV_ARG_PARAMETER
);
ACE_CHECK;
-}// TAO_IDL - Generated from
-// be/be_visitor_operation/direct_proxy_impl_ss.cpp:42
-
-void
-POA_ImplementationRepository::_TAO_Administration_Direct_Proxy_Impl::shutdown_repo (
- TAO_Abstract_ServantBase *servant,
- TAO::Argument **,
- int
- ACE_ENV_ARG_DECL
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- reinterpret_cast<
- POA_ImplementationRepository::Administration_ptr> (
- servant->_downcast (
- "IDL:ImplementationRepository/Administration:1.0"
- )
- )->shutdown_repo (
- ACE_ENV_SINGLE_ARG_PARAMETER
- );
- ACE_CHECK;
-}// TAO_IDL - Generated from
-// be/be_visitor_operation/direct_proxy_impl_ss.cpp:42
-
-void
-POA_ImplementationRepository::_TAO_Administration_Direct_Proxy_Impl::find_ior (
- TAO_Abstract_ServantBase *servant,
- TAO::Argument ** args,
- int
- ACE_ENV_ARG_DECL
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException,
- ::ImplementationRepository::NotFound
- ))
-{
- ((TAO::Arg_Traits< ::CORBA::Char *>::ret_val *) args[0])->arg () =
- reinterpret_cast<
- POA_ImplementationRepository::Administration_ptr> (
- servant->_downcast (
- "IDL:ImplementationRepository/Administration:1.0"
- )
- )->find_ior (
- ((TAO::Arg_Traits< ::CORBA::Char *>::in_arg_val *) args[1])->arg ()
- ACE_ENV_ARG_PARAMETER
- );
- ACE_CHECK;
}
//
@@ -2423,7 +3574,7 @@ POA_ImplementationRepository::_TAO_Administration_Direct_Proxy_Impl::find_ior (
///////////////////////////////////////////////////////////////////////
// TAO_IDL - Generated from
-// be/be_visitor_interface/interface_ss.cpp:97
+// be\be_visitor_interface/interface_ss.cpp:97
POA_ImplementationRepository::Administration::Administration (void)
{
@@ -2441,1529 +3592,1238 @@ POA_ImplementationRepository::Administration::~Administration (void)
}
// TAO_IDL - Generated from
-// be/be_visitor_operation/operation_ss.cpp:165
+// be\be_visitor_operation/operation_ss.cpp:98
void POA_ImplementationRepository::Administration::activate_server_skel (
TAO_ServerRequest &_tao_server_request,
void *_tao_servant,
- void * TAO_INTERCEPTOR (_tao_servant_upcall)
+ void *_tao_servant_upcall
ACE_ENV_ARG_DECL
)
{
-
-
-#if TAO_HAS_INTERCEPTORS == 1
- static CORBA::TypeCode_ptr const _tao_exceptions[] =
- {
- ImplementationRepository::_tc_NotFound,
- ImplementationRepository::_tc_CannotActivate
- };
- static size_t const _tao_nexceptions = 2;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- POA_ImplementationRepository::Administration * const _tao_impl =
+ TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
+ POA_ImplementationRepository::Administration *_tao_impl =
static_cast<
POA_ImplementationRepository::Administration *> (
_tao_servant
);
+ _tao_server_request.argument_flag (0);
- TAO::SArg_Traits< void>::ret_val _tao_retval;
- TAO::SArg_Traits< ::CORBA::Char *>::in_arg_val _tao_server;
+ ::CORBA::String_var server;
- TAO::Argument * const _tao_args [] =
+ if (!(
+ (_tao_in >> server.out ())
+ ))
{
- &_tao_retval,
- &_tao_server
- };
-
- static size_t const _tao_nargs = 2;
-
- TAO_ImplementationRepository_Administration_activate_server_Upcall_Command _tao_upcall_command (
- _tao_impl, _tao_args);
-
- TAO::Upcall_Wrapper _tao_upcall_wrapper;
- _tao_upcall_wrapper.upcall (_tao_server_request
- , _tao_args
- , _tao_nargs
- , _tao_upcall_command
-
-#if TAO_HAS_INTERCEPTORS == 1
- , _tao_servant_upcall
- , _tao_impl
- , _tao_exceptions
- , _tao_nexceptions
-#endif /* TAO_HAS_INTERCEPTORS == 1 */
-
- ACE_ENV_ARG_PARAMETER);
- ACE_CHECK;
-
-}
-
-// TAO_IDL - Generated from
-// be/be_visitor_operation/operation_ss.cpp:165
-
-void POA_ImplementationRepository::Administration::activate_server_with_startup_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_servant,
- void * TAO_INTERCEPTOR (_tao_servant_upcall)
- ACE_ENV_ARG_DECL
- )
-{
-
-
-#if TAO_HAS_INTERCEPTORS == 1
- static CORBA::TypeCode_ptr const _tao_exceptions[] =
- {
- ImplementationRepository::_tc_NotFound,
- ImplementationRepository::_tc_CannotActivate
- };
- static size_t const _tao_nexceptions = 2;
-#endif /* TAO_HAS_INTERCEPTORS */
+ TAO_InputCDR::throw_skel_exception (errno ACE_ENV_ARG_PARAMETER);
+ ACE_CHECK;
+ }
- POA_ImplementationRepository::Administration * const _tao_impl =
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_Object_Adapter::Servant_Upcall *_tao_upcall =
static_cast<
- POA_ImplementationRepository::Administration *> (
- _tao_servant
+ 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::SArg_Traits< ::CORBA::Char *>::ret_val _tao_retval;
- TAO::SArg_Traits< ::CORBA::Char *>::in_arg_val _tao_server;
- TAO::SArg_Traits< CORBA::Long>::in_arg_val _tao_check_startup;
+ TAO_ServerRequestInfo_ImplementationRepository_Administration_activate_server _tao_ri (
+ _tao_server_request,
+ _tao_upcall,
+ _tao_impl,
+
+ server.in ()
+ ACE_ENV_ARG_PARAMETER
+ );
- TAO::Argument * const _tao_args [] =
+ ACE_TRY
{
- &_tao_retval,
- &_tao_server,
- &_tao_check_startup
- };
-
- static size_t const _tao_nargs = 3;
-
- TAO_ImplementationRepository_Administration_activate_server_with_startup_Upcall_Command _tao_upcall_command (
- _tao_impl, _tao_args);
-
- TAO::Upcall_Wrapper _tao_upcall_wrapper;
- _tao_upcall_wrapper.upcall (_tao_server_request
- , _tao_args
- , _tao_nargs
- , _tao_upcall_command
-
-#if TAO_HAS_INTERCEPTORS == 1
- , _tao_servant_upcall
- , _tao_impl
- , _tao_exceptions
- , _tao_nexceptions
-#endif /* TAO_HAS_INTERCEPTORS == 1 */
+ {
+ TAO::PICurrent_Guard _tao_pi_guard (_tao_ri.server_request (),
+ true /* 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;
+#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;
+ }
+ }
+ ACE_CATCHANY
+ {
+ _tao_ri.exception (&ACE_ANY_EXCEPTION);
+ _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
+ || _tao_status == PortableInterceptor::USER_EXCEPTION)
+ {
+ ACE_RE_THROW;
+ }
+ }
- ACE_ENV_ARG_PARAMETER);
+# 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:165
+// be\be_visitor_operation/operation_ss.cpp:98
void POA_ImplementationRepository::Administration::register_server_skel (
TAO_ServerRequest &_tao_server_request,
void *_tao_servant,
- void * TAO_INTERCEPTOR (_tao_servant_upcall)
+ void *_tao_servant_upcall
ACE_ENV_ARG_DECL
)
{
-
-
-#if TAO_HAS_INTERCEPTORS == 1
- static CORBA::TypeCode_ptr const _tao_exceptions[] =
- {
- ImplementationRepository::_tc_AlreadyRegistered,
- ImplementationRepository::_tc_NotFound
- };
- static size_t const _tao_nexceptions = 2;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- POA_ImplementationRepository::Administration * const _tao_impl =
+ TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
+ POA_ImplementationRepository::Administration *_tao_impl =
static_cast<
POA_ImplementationRepository::Administration *> (
_tao_servant
);
+ _tao_server_request.argument_flag (0);
- TAO::SArg_Traits< void>::ret_val _tao_retval;
- TAO::SArg_Traits< ::CORBA::Char *>::in_arg_val _tao_server;
- TAO::SArg_Traits< ::ImplementationRepository::StartupOptions>::in_arg_val _tao_options;
+ ::CORBA::String_var server;
+ ::ImplementationRepository::StartupOptions options;
- TAO::Argument * const _tao_args [] =
+ if (!(
+ (_tao_in >> server.out ()) &&
+ (_tao_in >> options)
+ ))
{
- &_tao_retval,
- &_tao_server,
- &_tao_options
- };
-
- static size_t const _tao_nargs = 3;
+ TAO_InputCDR::throw_skel_exception (errno ACE_ENV_ARG_PARAMETER);
+ ACE_CHECK;
+ }
- TAO_ImplementationRepository_Administration_register_server_Upcall_Command _tao_upcall_command (
- _tao_impl, _tao_args);
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_Object_Adapter::Servant_Upcall *_tao_upcall =
+ 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::Upcall_Wrapper _tao_upcall_wrapper;
- _tao_upcall_wrapper.upcall (_tao_server_request
- , _tao_args
- , _tao_nargs
- , _tao_upcall_command
+ TAO_ServerRequestInfo_ImplementationRepository_Administration_register_server _tao_ri (
+ _tao_server_request,
+ _tao_upcall,
+ _tao_impl,
+
+ server.in (),
+
+ options
+ ACE_ENV_ARG_PARAMETER
+ );
-#if TAO_HAS_INTERCEPTORS == 1
- , _tao_servant_upcall
- , _tao_impl
- , _tao_exceptions
- , _tao_nexceptions
-#endif /* TAO_HAS_INTERCEPTORS == 1 */
+ ACE_TRY
+ {
+ {
+ TAO::PICurrent_Guard _tao_pi_guard (_tao_ri.server_request (),
+ true /* 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;
+#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;
+ }
+ }
+ ACE_CATCHANY
+ {
+ _tao_ri.exception (&ACE_ANY_EXCEPTION);
+ _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
+ || _tao_status == PortableInterceptor::USER_EXCEPTION)
+ {
+ ACE_RE_THROW;
+ }
+ }
- ACE_ENV_ARG_PARAMETER);
+# 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:165
+// be\be_visitor_operation/operation_ss.cpp:98
void POA_ImplementationRepository::Administration::reregister_server_skel (
TAO_ServerRequest &_tao_server_request,
void *_tao_servant,
- void * TAO_INTERCEPTOR (_tao_servant_upcall)
+ void *_tao_servant_upcall
ACE_ENV_ARG_DECL
)
{
-
-
-#if TAO_HAS_INTERCEPTORS == 1
- static CORBA::TypeCode_ptr const _tao_exceptions[] =
- {
- ImplementationRepository::_tc_AlreadyRegistered,
- ImplementationRepository::_tc_NotFound
- };
- static size_t const _tao_nexceptions = 2;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- POA_ImplementationRepository::Administration * const _tao_impl =
+ TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
+ POA_ImplementationRepository::Administration *_tao_impl =
static_cast<
POA_ImplementationRepository::Administration *> (
_tao_servant
);
+ _tao_server_request.argument_flag (0);
- TAO::SArg_Traits< void>::ret_val _tao_retval;
- TAO::SArg_Traits< ::CORBA::Char *>::in_arg_val _tao_server;
- TAO::SArg_Traits< ::ImplementationRepository::StartupOptions>::in_arg_val _tao_options;
+ ::CORBA::String_var server;
+ ::ImplementationRepository::StartupOptions options;
- TAO::Argument * const _tao_args [] =
+ if (!(
+ (_tao_in >> server.out ()) &&
+ (_tao_in >> options)
+ ))
{
- &_tao_retval,
- &_tao_server,
- &_tao_options
- };
-
- static size_t const _tao_nargs = 3;
+ TAO_InputCDR::throw_skel_exception (errno ACE_ENV_ARG_PARAMETER);
+ ACE_CHECK;
+ }
- TAO_ImplementationRepository_Administration_reregister_server_Upcall_Command _tao_upcall_command (
- _tao_impl, _tao_args);
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_Object_Adapter::Servant_Upcall *_tao_upcall =
+ 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::Upcall_Wrapper _tao_upcall_wrapper;
- _tao_upcall_wrapper.upcall (_tao_server_request
- , _tao_args
- , _tao_nargs
- , _tao_upcall_command
+ TAO_ServerRequestInfo_ImplementationRepository_Administration_reregister_server _tao_ri (
+ _tao_server_request,
+ _tao_upcall,
+ _tao_impl,
+
+ server.in (),
+
+ options
+ ACE_ENV_ARG_PARAMETER
+ );
-#if TAO_HAS_INTERCEPTORS == 1
- , _tao_servant_upcall
- , _tao_impl
- , _tao_exceptions
- , _tao_nexceptions
-#endif /* TAO_HAS_INTERCEPTORS == 1 */
+ ACE_TRY
+ {
+ {
+ TAO::PICurrent_Guard _tao_pi_guard (_tao_ri.server_request (),
+ true /* 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;
+#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;
+ }
+ }
+ ACE_CATCHANY
+ {
+ _tao_ri.exception (&ACE_ANY_EXCEPTION);
+ _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
+ || _tao_status == PortableInterceptor::USER_EXCEPTION)
+ {
+ ACE_RE_THROW;
+ }
+ }
- ACE_ENV_ARG_PARAMETER);
+# 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:165
+// be\be_visitor_operation/operation_ss.cpp:98
void POA_ImplementationRepository::Administration::remove_server_skel (
TAO_ServerRequest &_tao_server_request,
void *_tao_servant,
- void * TAO_INTERCEPTOR (_tao_servant_upcall)
+ void *_tao_servant_upcall
ACE_ENV_ARG_DECL
)
{
-
-
-#if TAO_HAS_INTERCEPTORS == 1
- static CORBA::TypeCode_ptr const _tao_exceptions[] =
- {
- ImplementationRepository::_tc_NotFound
- };
- static size_t const _tao_nexceptions = 1;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- POA_ImplementationRepository::Administration * const _tao_impl =
+ TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
+ POA_ImplementationRepository::Administration *_tao_impl =
static_cast<
POA_ImplementationRepository::Administration *> (
_tao_servant
);
+ _tao_server_request.argument_flag (0);
- TAO::SArg_Traits< void>::ret_val _tao_retval;
- TAO::SArg_Traits< ::CORBA::Char *>::in_arg_val _tao_server;
+ ::CORBA::String_var server;
- TAO::Argument * const _tao_args [] =
+ if (!(
+ (_tao_in >> server.out ())
+ ))
{
- &_tao_retval,
- &_tao_server
- };
-
- static size_t const _tao_nargs = 2;
+ TAO_InputCDR::throw_skel_exception (errno ACE_ENV_ARG_PARAMETER);
+ ACE_CHECK;
+ }
- TAO_ImplementationRepository_Administration_remove_server_Upcall_Command _tao_upcall_command (
- _tao_impl, _tao_args);
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_Object_Adapter::Servant_Upcall *_tao_upcall =
+ 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::Upcall_Wrapper _tao_upcall_wrapper;
- _tao_upcall_wrapper.upcall (_tao_server_request
- , _tao_args
- , _tao_nargs
- , _tao_upcall_command
+ TAO_ServerRequestInfo_ImplementationRepository_Administration_remove_server _tao_ri (
+ _tao_server_request,
+ _tao_upcall,
+ _tao_impl,
+
+ server.in ()
+ ACE_ENV_ARG_PARAMETER
+ );
-#if TAO_HAS_INTERCEPTORS == 1
- , _tao_servant_upcall
- , _tao_impl
- , _tao_exceptions
- , _tao_nexceptions
-#endif /* TAO_HAS_INTERCEPTORS == 1 */
+ ACE_TRY
+ {
+ {
+ TAO::PICurrent_Guard _tao_pi_guard (_tao_ri.server_request (),
+ true /* 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;
+#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;
+ }
+ }
+ ACE_CATCHANY
+ {
+ _tao_ri.exception (&ACE_ANY_EXCEPTION);
+ _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
+ || _tao_status == PortableInterceptor::USER_EXCEPTION)
+ {
+ ACE_RE_THROW;
+ }
+ }
- ACE_ENV_ARG_PARAMETER);
+# 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:165
+// be\be_visitor_operation/operation_ss.cpp:98
void POA_ImplementationRepository::Administration::shutdown_server_skel (
TAO_ServerRequest &_tao_server_request,
void *_tao_servant,
- void * TAO_INTERCEPTOR (_tao_servant_upcall)
+ void *_tao_servant_upcall
ACE_ENV_ARG_DECL
)
{
-
-
-#if TAO_HAS_INTERCEPTORS == 1
- static CORBA::TypeCode_ptr const _tao_exceptions[] =
- {
- ImplementationRepository::_tc_NotFound
- };
- static size_t const _tao_nexceptions = 1;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- POA_ImplementationRepository::Administration * const _tao_impl =
+ TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
+ POA_ImplementationRepository::Administration *_tao_impl =
static_cast<
POA_ImplementationRepository::Administration *> (
_tao_servant
);
+ _tao_server_request.argument_flag (0);
- TAO::SArg_Traits< void>::ret_val _tao_retval;
- TAO::SArg_Traits< ::CORBA::Char *>::in_arg_val _tao_server;
+ ::CORBA::String_var server;
- TAO::Argument * const _tao_args [] =
+ if (!(
+ (_tao_in >> server.out ())
+ ))
{
- &_tao_retval,
- &_tao_server
- };
-
- static size_t const _tao_nargs = 2;
-
- TAO_ImplementationRepository_Administration_shutdown_server_Upcall_Command _tao_upcall_command (
- _tao_impl, _tao_args);
-
- TAO::Upcall_Wrapper _tao_upcall_wrapper;
- _tao_upcall_wrapper.upcall (_tao_server_request
- , _tao_args
- , _tao_nargs
- , _tao_upcall_command
-
-#if TAO_HAS_INTERCEPTORS == 1
- , _tao_servant_upcall
- , _tao_impl
- , _tao_exceptions
- , _tao_nexceptions
-#endif /* TAO_HAS_INTERCEPTORS == 1 */
-
- ACE_ENV_ARG_PARAMETER);
- ACE_CHECK;
-
-}
-
-// TAO_IDL - Generated from
-// be/be_visitor_operation/operation_ss.cpp:165
-
-void POA_ImplementationRepository::Administration::server_is_running_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_servant,
- void * TAO_INTERCEPTOR (_tao_servant_upcall)
- ACE_ENV_ARG_DECL
- )
-{
-
-
-#if TAO_HAS_INTERCEPTORS == 1
- static CORBA::TypeCode_ptr const _tao_exceptions[] =
- {
- ImplementationRepository::_tc_NotFound
- };
- static size_t const _tao_nexceptions = 1;
-#endif /* TAO_HAS_INTERCEPTORS */
+ TAO_InputCDR::throw_skel_exception (errno ACE_ENV_ARG_PARAMETER);
+ ACE_CHECK;
+ }
- POA_ImplementationRepository::Administration * const _tao_impl =
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_Object_Adapter::Servant_Upcall *_tao_upcall =
static_cast<
- POA_ImplementationRepository::Administration *> (
- _tao_servant
+ 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::SArg_Traits< void>::ret_val _tao_retval;
- TAO::SArg_Traits< ::CORBA::Char *>::in_arg_val _tao_server;
- TAO::SArg_Traits< ::ImplementationRepository::Address>::in_arg_val _tao_addr;
- TAO::SArg_Traits< ::ImplementationRepository::ServerObject>::in_arg_val _tao_server_object;
+ TAO_ServerRequestInfo_ImplementationRepository_Administration_shutdown_server _tao_ri (
+ _tao_server_request,
+ _tao_upcall,
+ _tao_impl,
+
+ server.in ()
+ ACE_ENV_ARG_PARAMETER
+ );
- TAO::Argument * const _tao_args [] =
+ ACE_TRY
{
- &_tao_retval,
- &_tao_server,
- &_tao_addr,
- &_tao_server_object
- };
-
- static size_t const _tao_nargs = 4;
-
- TAO_ImplementationRepository_Administration_server_is_running_Upcall_Command _tao_upcall_command (
- _tao_impl, _tao_args);
-
- TAO::Upcall_Wrapper _tao_upcall_wrapper;
- _tao_upcall_wrapper.upcall (_tao_server_request
- , _tao_args
- , _tao_nargs
- , _tao_upcall_command
-
-#if TAO_HAS_INTERCEPTORS == 1
- , _tao_servant_upcall
- , _tao_impl
- , _tao_exceptions
- , _tao_nexceptions
-#endif /* TAO_HAS_INTERCEPTORS == 1 */
+ {
+ TAO::PICurrent_Guard _tao_pi_guard (_tao_ri.server_request (),
+ true /* 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;
+#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;
+ }
+ }
+ ACE_CATCHANY
+ {
+ _tao_ri.exception (&ACE_ANY_EXCEPTION);
+ _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
+ || _tao_status == PortableInterceptor::USER_EXCEPTION)
+ {
+ ACE_RE_THROW;
+ }
+ }
- ACE_ENV_ARG_PARAMETER);
+# 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:165
+// be\be_visitor_operation/operation_ss.cpp:98
-void POA_ImplementationRepository::Administration::server_is_shutting_down_skel (
+void POA_ImplementationRepository::Administration::server_is_running_skel (
TAO_ServerRequest &_tao_server_request,
void *_tao_servant,
- void * TAO_INTERCEPTOR (_tao_servant_upcall)
+ void *_tao_servant_upcall
ACE_ENV_ARG_DECL
)
{
-
-
-#if TAO_HAS_INTERCEPTORS == 1
- static CORBA::TypeCode_ptr const _tao_exceptions[] =
- {
- ImplementationRepository::_tc_NotFound
- };
- static size_t const _tao_nexceptions = 1;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- POA_ImplementationRepository::Administration * const _tao_impl =
+ TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
+ POA_ImplementationRepository::Administration *_tao_impl =
static_cast<
POA_ImplementationRepository::Administration *> (
_tao_servant
);
+ _tao_server_request.argument_flag (0);
- TAO::SArg_Traits< void>::ret_val _tao_retval;
- TAO::SArg_Traits< ::CORBA::Char *>::in_arg_val _tao_server;
+ ::CORBA::String_var server;
+ ::CORBA::String_var partial_ior;
+ ::ImplementationRepository::ServerObject_var server_object;
- TAO::Argument * const _tao_args [] =
+ if (!(
+ (_tao_in >> server.out ()) &&
+ (_tao_in >> partial_ior.out ()) &&
+ (_tao_in >> server_object.out ())
+ ))
{
- &_tao_retval,
- &_tao_server
- };
-
- static size_t const _tao_nargs = 2;
-
- TAO_ImplementationRepository_Administration_server_is_shutting_down_Upcall_Command _tao_upcall_command (
- _tao_impl, _tao_args);
-
- TAO::Upcall_Wrapper _tao_upcall_wrapper;
- _tao_upcall_wrapper.upcall (_tao_server_request
- , _tao_args
- , _tao_nargs
- , _tao_upcall_command
-
-#if TAO_HAS_INTERCEPTORS == 1
- , _tao_servant_upcall
- , _tao_impl
- , _tao_exceptions
- , _tao_nexceptions
-#endif /* TAO_HAS_INTERCEPTORS == 1 */
-
- ACE_ENV_ARG_PARAMETER);
- ACE_CHECK;
-
-}
-
-// TAO_IDL - Generated from
-// be/be_visitor_operation/operation_ss.cpp:165
-
-void POA_ImplementationRepository::Administration::find_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_servant,
- void * TAO_INTERCEPTOR (_tao_servant_upcall)
- ACE_ENV_ARG_DECL
- )
-{
-
-
-#if TAO_HAS_INTERCEPTORS == 1
- static CORBA::TypeCode_ptr const _tao_exceptions[] =
- {
- ImplementationRepository::_tc_NotFound
- };
- static size_t const _tao_nexceptions = 1;
-#endif /* TAO_HAS_INTERCEPTORS */
+ TAO_InputCDR::throw_skel_exception (errno ACE_ENV_ARG_PARAMETER);
+ ACE_CHECK;
+ }
- POA_ImplementationRepository::Administration * const _tao_impl =
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_Object_Adapter::Servant_Upcall *_tao_upcall =
static_cast<
- POA_ImplementationRepository::Administration *> (
- _tao_servant
+ 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::SArg_Traits< void>::ret_val _tao_retval;
- TAO::SArg_Traits< ::CORBA::Char *>::in_arg_val _tao_server;
- TAO::SArg_Traits< ::ImplementationRepository::ServerInformation>::out_arg_val _tao_info;
+ TAO_ServerRequestInfo_ImplementationRepository_Administration_server_is_running _tao_ri (
+ _tao_server_request,
+ _tao_upcall,
+ _tao_impl,
+
+ server.in (),
+
+ partial_ior.in (),
+
+ server_object.in ()
+ ACE_ENV_ARG_PARAMETER
+ );
- TAO::Argument * const _tao_args [] =
+ ACE_TRY
{
- &_tao_retval,
- &_tao_server,
- &_tao_info
- };
-
- static size_t const _tao_nargs = 3;
-
- TAO_ImplementationRepository_Administration_find_Upcall_Command _tao_upcall_command (
- _tao_impl, _tao_args);
-
- TAO::Upcall_Wrapper _tao_upcall_wrapper;
- _tao_upcall_wrapper.upcall (_tao_server_request
- , _tao_args
- , _tao_nargs
- , _tao_upcall_command
-
-#if TAO_HAS_INTERCEPTORS == 1
- , _tao_servant_upcall
- , _tao_impl
- , _tao_exceptions
- , _tao_nexceptions
-#endif /* TAO_HAS_INTERCEPTORS == 1 */
+ {
+ TAO::PICurrent_Guard _tao_pi_guard (_tao_ri.server_request (),
+ true /* 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_running (
+ server.in (),
+
+ partial_ior.in (),
+
+ server_object.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;
+ }
+ }
+ ACE_CATCHANY
+ {
+ _tao_ri.exception (&ACE_ANY_EXCEPTION);
+ _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
+ || _tao_status == PortableInterceptor::USER_EXCEPTION)
+ {
+ ACE_RE_THROW;
+ }
+ }
- ACE_ENV_ARG_PARAMETER);
+# 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:165
+// be\be_visitor_operation/operation_ss.cpp:98
-void POA_ImplementationRepository::Administration::list_skel (
+void POA_ImplementationRepository::Administration::server_is_shutting_down_skel (
TAO_ServerRequest &_tao_server_request,
void *_tao_servant,
- void * TAO_INTERCEPTOR (_tao_servant_upcall)
+ void *_tao_servant_upcall
ACE_ENV_ARG_DECL
)
{
-
-
-#if TAO_HAS_INTERCEPTORS == 1
- static CORBA::TypeCode_ptr const _tao_exceptions[] = {};
- static size_t const _tao_nexceptions = 0;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- POA_ImplementationRepository::Administration * const _tao_impl =
+ TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
+ POA_ImplementationRepository::Administration *_tao_impl =
static_cast<
POA_ImplementationRepository::Administration *> (
_tao_servant
);
+ _tao_server_request.argument_flag (0);
- TAO::SArg_Traits< void>::ret_val _tao_retval;
- TAO::SArg_Traits< CORBA::ULong>::in_arg_val _tao_how_many;
- TAO::SArg_Traits< ::ImplementationRepository::ServerInformationList>::out_arg_val _tao_server_list;
- TAO::SArg_Traits< ::ImplementationRepository::ServerInformationIterator>::out_arg_val _tao_server_iterator;
+ ::CORBA::String_var server;
- TAO::Argument * const _tao_args [] =
+ if (!(
+ (_tao_in >> server.out ())
+ ))
{
- &_tao_retval,
- &_tao_how_many,
- &_tao_server_list,
- &_tao_server_iterator
- };
-
- static size_t const _tao_nargs = 4;
-
- TAO_ImplementationRepository_Administration_list_Upcall_Command _tao_upcall_command (
- _tao_impl, _tao_args);
-
- TAO::Upcall_Wrapper _tao_upcall_wrapper;
- _tao_upcall_wrapper.upcall (_tao_server_request
- , _tao_args
- , _tao_nargs
- , _tao_upcall_command
-
-#if TAO_HAS_INTERCEPTORS == 1
- , _tao_servant_upcall
- , _tao_impl
- , _tao_exceptions
- , _tao_nexceptions
-#endif /* TAO_HAS_INTERCEPTORS == 1 */
-
- ACE_ENV_ARG_PARAMETER);
- ACE_CHECK;
-
-}
-
-// TAO_IDL - Generated from
-// be/be_visitor_operation/operation_ss.cpp:165
-
-void POA_ImplementationRepository::Administration::shutdown_repo_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_servant,
- void * TAO_INTERCEPTOR (_tao_servant_upcall)
- ACE_ENV_ARG_DECL
- )
-{
-
-
-#if TAO_HAS_INTERCEPTORS == 1
- static CORBA::TypeCode_ptr const _tao_exceptions[] = {};
- static size_t const _tao_nexceptions = 0;
-#endif /* TAO_HAS_INTERCEPTORS */
+ TAO_InputCDR::throw_skel_exception (errno ACE_ENV_ARG_PARAMETER);
+ ACE_CHECK;
+ }
- POA_ImplementationRepository::Administration * const _tao_impl =
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_Object_Adapter::Servant_Upcall *_tao_upcall =
static_cast<
- POA_ImplementationRepository::Administration *> (
- _tao_servant
+ 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::SArg_Traits< void>::ret_val _tao_retval;
+ TAO_ServerRequestInfo_ImplementationRepository_Administration_server_is_shutting_down _tao_ri (
+ _tao_server_request,
+ _tao_upcall,
+ _tao_impl,
+
+ server.in ()
+ ACE_ENV_ARG_PARAMETER
+ );
- TAO::Argument * const _tao_args [] =
+ ACE_TRY
{
- &_tao_retval
- };
-
- static size_t const _tao_nargs = 1;
-
- TAO_ImplementationRepository_Administration_shutdown_repo_Upcall_Command _tao_upcall_command (
- _tao_impl);
-
- TAO::Upcall_Wrapper _tao_upcall_wrapper;
- _tao_upcall_wrapper.upcall (_tao_server_request
- , _tao_args
- , _tao_nargs
- , _tao_upcall_command
-
-#if TAO_HAS_INTERCEPTORS == 1
- , _tao_servant_upcall
- , _tao_impl
- , _tao_exceptions
- , _tao_nexceptions
-#endif /* TAO_HAS_INTERCEPTORS == 1 */
+ {
+ TAO::PICurrent_Guard _tao_pi_guard (_tao_ri.server_request (),
+ true /* 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;
+#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;
+ }
+ }
+ ACE_CATCHANY
+ {
+ _tao_ri.exception (&ACE_ANY_EXCEPTION);
+ _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
+ || _tao_status == PortableInterceptor::USER_EXCEPTION)
+ {
+ ACE_RE_THROW;
+ }
+ }
- ACE_ENV_ARG_PARAMETER);
+# 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:165
+// be\be_visitor_operation/operation_ss.cpp:98
-void POA_ImplementationRepository::Administration::find_ior_skel (
+void POA_ImplementationRepository::Administration::find_skel (
TAO_ServerRequest &_tao_server_request,
void *_tao_servant,
- void * TAO_INTERCEPTOR (_tao_servant_upcall)
+ void *_tao_servant_upcall
ACE_ENV_ARG_DECL
)
{
-
-
-#if TAO_HAS_INTERCEPTORS == 1
- static CORBA::TypeCode_ptr const _tao_exceptions[] =
- {
- ImplementationRepository::_tc_NotFound
- };
- static size_t const _tao_nexceptions = 1;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- POA_ImplementationRepository::Administration * const _tao_impl =
+ TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
+ POA_ImplementationRepository::Administration *_tao_impl =
static_cast<
POA_ImplementationRepository::Administration *> (
_tao_servant
);
- TAO::SArg_Traits< ::CORBA::Char *>::ret_val _tao_retval;
- TAO::SArg_Traits< ::CORBA::Char *>::in_arg_val _tao_object_name;
+ ::CORBA::String_var server;
+ ::ImplementationRepository::ServerInformation_var info;
- TAO::Argument * const _tao_args [] =
+ if (!(
+ (_tao_in >> server.out ())
+ ))
{
- &_tao_retval,
- &_tao_object_name
- };
-
- static size_t const _tao_nargs = 2;
-
- TAO_ImplementationRepository_Administration_find_ior_Upcall_Command _tao_upcall_command (
- _tao_impl, _tao_args);
-
- TAO::Upcall_Wrapper _tao_upcall_wrapper;
- _tao_upcall_wrapper.upcall (_tao_server_request
- , _tao_args
- , _tao_nargs
- , _tao_upcall_command
-
-#if TAO_HAS_INTERCEPTORS == 1
- , _tao_servant_upcall
- , _tao_impl
- , _tao_exceptions
- , _tao_nexceptions
-#endif /* TAO_HAS_INTERCEPTORS == 1 */
-
- ACE_ENV_ARG_PARAMETER);
- ACE_CHECK;
-
-}
-
-// TAO_IDL - Generated from
-// be/be_visitor_interface/interface_ss.cpp:162
-
-void POA_ImplementationRepository::Administration::_is_a_skel (
- 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_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 ());
+ TAO_InputCDR::throw_skel_exception (errno ACE_ENV_ARG_PARAMETER);
+ ACE_CHECK;
}
-}
-
-void POA_ImplementationRepository::Administration::_non_existent_skel (
- TAO_ServerRequest &_tao_server_request,
- void * _tao_servant,
- void * /* Servant_Upcall */
- ACE_ENV_ARG_DECL
- )
-{
- 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;
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_Object_Adapter::Servant_Upcall *_tao_upcall =
+ 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_server_request.init_reply ();
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+ TAO_ServerRequestInfo_ImplementationRepository_Administration_find _tao_ri (
+ _tao_server_request,
+ _tao_upcall,
+ _tao_impl,
+
+ server.in ()
+ ACE_ENV_ARG_PARAMETER
+ );
- if (!(_tao_out << CORBA::Any::from_boolean (_tao_retval)))
+ ACE_TRY
{
- ACE_THROW (CORBA::MARSHAL ());
+ {
+ TAO::PICurrent_Guard _tao_pi_guard (_tao_ri.server_request (),
+ true /* 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;
+#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;
+ }
}
-}
-
-void POA_ImplementationRepository::Administration::_interface_skel (
- TAO_ServerRequest &_tao_server_request,
- void * _tao_servant,
- void * /* Servant_Upcall */
- ACE_ENV_ARG_DECL
- )
-{
- 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_CATCHANY
{
- ACE_THROW (CORBA::INTF_REPOS ());
+ _tao_ri.exception (&ACE_ANY_EXCEPTION);
+ _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
+ || _tao_status == PortableInterceptor::USER_EXCEPTION)
+ {
+ ACE_RE_THROW;
+ }
}
- POA_ImplementationRepository::Administration *_tao_impl =
- (POA_ImplementationRepository::Administration *) _tao_servant;
-
- CORBA::InterfaceDef_ptr _tao_retval =
- _tao_impl->_get_interface (ACE_ENV_SINGLE_ARG_PARAMETER);
- ACE_CHECK;
-
- _tao_server_request.init_reply ();
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
-
- CORBA::Boolean _tao_result =
- _tao_adapter->interfacedef_cdr_insert (
- _tao_out,
- _tao_retval
- );
-
- _tao_adapter->dispose (_tao_retval);
-
- if (_tao_result == 0)
+# if defined (ACE_HAS_EXCEPTIONS) \
+ && defined (ACE_HAS_BROKEN_UNEXPECTED_EXCEPTIONS)
+ ACE_CATCHALL
{
- ACE_THROW (CORBA::MARSHAL ());
+ 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);
}
-}
-
-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);
+# 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 ());
- }
-}
-
-CORBA::Boolean POA_ImplementationRepository::Administration::_is_a (
- const char* value
- ACE_ENV_ARG_DECL_NOT_USED
- )
-{
- if (
- !ACE_OS::strcmp (
- (char *)value,
- "IDL:ImplementationRepository/Administration:1.0"
- ) ||
- !ACE_OS::strcmp (
- (char *)value,
- "IDL:omg.org/CORBA/Object:1.0"
- )
- )
+#if (TAO_HAS_INTERCEPTORS == 1)
+ if (!_tao_vfr.location_forwarded ())
{
- return 1;
- }
- 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 static_cast<POA_ImplementationRepository::Administration_ptr> (this);
+#endif /* TAO_HAS_INTERCEPTORS */
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+
+ if (!(
+ (_tao_out << info.in ())
+ ))
+ {
+ TAO_OutputCDR::throw_skel_exception (errno ACE_ENV_ARG_PARAMETER);
+ ACE_CHECK;
+ }
+#if (TAO_HAS_INTERCEPTORS == 1)
}
+#endif /* TAO_HAS_INTERCEPTORS */
- if (ACE_OS::strcmp (logical_type_id,
- "IDL:omg.org/CORBA/Object:1.0") == 0)
- {
- return static_cast<PortableServer::Servant> (this);
- }
- return 0;
-}
-
-const char* POA_ImplementationRepository::Administration::_interface_repository_id (void) const
-{
- return "IDL:ImplementationRepository/Administration:1.0";
+ // 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:584
+// TAO_IDL - Generated from
+// be\be_visitor_operation/operation_ss.cpp:98
-void POA_ImplementationRepository::Administration::_dispatch (
- TAO_ServerRequest &req,
- void *servant_upcall
+void POA_ImplementationRepository::Administration::list_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_servant,
+ void *_tao_servant_upcall
ACE_ENV_ARG_DECL
)
{
- this->synchronous_upcall_dispatch (req,
- servant_upcall,
- this
- ACE_ENV_ARG_PARAMETER);
-}
-
-// TAO_IDL - Generated from
-// be/be_visitor_interface/interface_ss.cpp:526
-
-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_InputCDR &_tao_in = _tao_server_request.incoming ();
+ POA_ImplementationRepository::Administration *_tao_impl =
+ static_cast<
+ POA_ImplementationRepository::Administration *> (
+ _tao_servant
+ );
- TAO_Stub_Auto_Ptr safe_stub (stub);
- CORBA::Object_ptr tmp = CORBA::Object::_nil ();
+ ::CORBA::ULong how_many;
+ ::ImplementationRepository::ServerInformationList_var server_list;
- if (stub->servant_orb_var ()->orb_core ()->optimize_collocation_objects ())
- {
- ACE_NEW_RETURN (
- tmp,
- CORBA::Object (stub, 1, this),
- 0
- );
- }
- else
- {
- ACE_NEW_RETURN (
- tmp,
- CORBA::Object (stub, 0, this),
- 0
- );
- }
-
- CORBA::Object_var obj = tmp;
- (void) safe_stub.release ();
+ ::ImplementationRepository::ServerInformationIterator_var server_iterator;
- typedef ::ImplementationRepository::Administration STUB_SCOPED_NAME;
- return
- TAO::Narrow_Utils<STUB_SCOPED_NAME>::unchecked_narrow (
- obj.in (),
- ImplementationRepository__TAO_Administration_Proxy_Broker_Factory_function_pointer
- );
-}
-
-// TAO_IDL - Generated from
-// be/be_interface.cpp:1538
-
-class TAO_ImplementationRepository_ServerInformationIterator_Perfect_Hash_OpTable
- : public TAO_Perfect_Hash_OpTable
-{
-private:
- unsigned int hash (const char *str, unsigned int len);
-
-public:
- const TAO_operation_db_entry * lookup (const char *str, unsigned int len);
-};
-
-/* C++ code produced by gperf version 2.8 (ACE version) */
-/* Command-line: /home/ossama/work/skeleton-refactor/ACE_wrappers/bin/gperf -m -M -J -c -C -D -E -T -f 0 -F 0,0,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)
- 16, 16, 16, 16, 16, 16, 16, 16, 16, 16,
- 16, 16, 16, 16, 16, 16, 16, 16, 16, 16,
- 16, 16, 16, 16, 16, 16, 16, 16, 16, 16,
- 16, 16, 16, 16, 16, 16, 16, 16, 16, 16,
- 16, 16, 16, 16, 16, 16, 16, 16, 16, 16,
- 16, 16, 16, 16, 16, 16, 16, 16, 16, 16,
- 16, 16, 16, 16, 16, 16, 16, 16, 16, 16,
- 16, 16, 16, 16, 16, 16, 16, 16, 16, 16,
- 16, 16, 16, 16, 16, 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
- 16, 16, 16, 16, 16, 16, 16, 16, 16, 16,
- 16, 16, 16, 16, 16, 16, 16, 16, 16, 16,
- 16, 16, 16, 16, 16, 16, 16, 16, 16, 16,
- 16, 16, 16, 16, 16, 16, 16, 16, 16, 16,
- 16, 16, 16, 16, 16, 16, 16, 16, 16, 16,
- 16, 16, 16, 16, 16, 16, 16, 16, 16, 16,
- 16, 16, 16, 16, 16, 16, 16, 16, 16, 16,
- 16, 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[(int) str[len - 1]] + asso_values[(int) str[0]];
-}
-
-const class TAO_operation_db_entry *
-TAO_ImplementationRepository_ServerInformationIterator_Perfect_Hash_OpTable::lookup (const char *str, unsigned int len)
-{
- enum
+ if (!(
+ (_tao_in >> how_many)
+ ))
{
- TOTAL_KEYWORDS = 6,
- MIN_WORD_LENGTH = 5,
- MAX_WORD_LENGTH = 13,
- MIN_HASH_VALUE = 5,
- MAX_HASH_VALUE = 15,
- HASH_VALUE_RANGE = 11,
- DUPLICATES = 0,
- WORDLIST_SIZE = 11
- };
-
- static const class TAO_operation_db_entry wordlist[] =
- {
- {"",0,0,0},{"",0,0,0},{"",0,0,0},{"",0,0,0},{"",0,0,0},
- {"_is_a", &POA_ImplementationRepository::ServerInformationIterator::_is_a_skel, 0, 0},
- {"next_n", &POA_ImplementationRepository::ServerInformationIterator::next_n_skel, &POA_ImplementationRepository::_TAO_ServerInformationIterator_ThruPOA_Proxy_Impl::next_n, &POA_ImplementationRepository::_TAO_ServerInformationIterator_Direct_Proxy_Impl::next_n},
- {"destroy", &POA_ImplementationRepository::ServerInformationIterator::destroy_skel, &POA_ImplementationRepository::_TAO_ServerInformationIterator_ThruPOA_Proxy_Impl::destroy, &POA_ImplementationRepository::_TAO_ServerInformationIterator_Direct_Proxy_Impl::destroy},
- {"",0,0,0},{"",0,0,0},
- {"_component", &POA_ImplementationRepository::ServerInformationIterator::_component_skel, 0, 0},
- {"",0,0,0},{"",0,0,0},
- {"_non_existent", &POA_ImplementationRepository::ServerInformationIterator::_non_existent_skel, 0, 0},
- {"",0,0,0},
- {"_interface", &POA_ImplementationRepository::ServerInformationIterator::_interface_skel, 0, 0},
- };
-
- if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH)
- {
- unsigned int key = hash (str, len);
-
- if (key <= MAX_HASH_VALUE && key >= MIN_HASH_VALUE)
- {
- const char *s = wordlist[key].opname_;
-
- if (*str == *s && !strncmp (str + 1, s + 1, len - 1))
- return &wordlist[key];
- }
+ TAO_InputCDR::throw_skel_exception (errno ACE_ENV_ARG_PARAMETER);
+ ACE_CHECK;
}
- return 0;
-}
-
-static TAO_ImplementationRepository_ServerInformationIterator_Perfect_Hash_OpTable tao_ImplementationRepository_ServerInformationIterator_optable;
-
-// TAO_IDL - Generated from
-// be/be_visitor_interface/upcall_command_ss.cpp:49
-
-// TAO_IDL - Generated from
-// be/be_visitor_operation/upcall_command_ss.cpp:52
-
-class TAO_ImplementationRepository_ServerInformationIterator_next_n_Upcall_Command
- : public TAO::Upcall_Command
-{
-public:
-
- inline TAO_ImplementationRepository_ServerInformationIterator_next_n_Upcall_Command (
- POA_ImplementationRepository::ServerInformationIterator * servant,
- TAO::Argument * const args[])
- : servant_ (servant)
- , args_ (args)
- {
- }
- virtual void execute (ACE_ENV_SINGLE_ARG_DECL)
- {
- static_cast<TAO::SArg_Traits< ACE_InputCDR::to_boolean>::ret_val *> (this->args_[0])->arg () =
- this->servant_->next_n (
- static_cast<TAO::SArg_Traits< CORBA::ULong>::in_arg_val *> (this->args_[1])->arg (),
- static_cast<TAO::SArg_Traits< ::ImplementationRepository::ServerInformationList>::out_arg_val *> (this->args_[2])->arg ()
- ACE_ENV_ARG_PARAMETER
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_Object_Adapter::Servant_Upcall *_tao_upcall =
+ static_cast<
+ TAO_Object_Adapter::Servant_Upcall *> (
+ _tao_servant_upcall
);
- ACE_CHECK;
- }
-
-private:
-
- POA_ImplementationRepository::ServerInformationIterator * const servant_;
- TAO::Argument * const * const args_;
-
-};
-
-
-// TAO_IDL - Generated from
-// be/be_visitor_operation/upcall_command_ss.cpp:52
-
-class TAO_ImplementationRepository_ServerInformationIterator_destroy_Upcall_Command
- : public TAO::Upcall_Command
-{
-public:
-
- inline TAO_ImplementationRepository_ServerInformationIterator_destroy_Upcall_Command (
- POA_ImplementationRepository::ServerInformationIterator * servant)
- : servant_ (servant)
- {
- }
-
- virtual void execute (ACE_ENV_SINGLE_ARG_DECL)
- {
- this->servant_->destroy (
- ACE_ENV_SINGLE_ARG_PARAMETER
+
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
);
- ACE_CHECK;
- }
-
-private:
-
- POA_ImplementationRepository::ServerInformationIterator * const servant_;
-
-};
-
-///////////////////////////////////////////////////////////////////////
-// 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)
-{
- static POA_ImplementationRepository::_TAO_ServerInformationIterator_Strategized_Proxy_Broker
- strategized_proxy_broker;
-
- return &strategized_proxy_broker;
-}
-
-POA_ImplementationRepository::_TAO_ServerInformationIterator_Strategized_Proxy_Broker::_TAO_ServerInformationIterator_Strategized_Proxy_Broker (void)
-{
-}
-
-POA_ImplementationRepository::_TAO_ServerInformationIterator_Strategized_Proxy_Broker::~_TAO_ServerInformationIterator_Strategized_Proxy_Broker (void)
-{
-}
-
-TAO::Collocation_Strategy
-POA_ImplementationRepository::_TAO_ServerInformationIterator_Strategized_Proxy_Broker::get_strategy (
- CORBA::Object_ptr obj
- ACE_ENV_ARG_DECL
- )
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- TAO::Collocation_Strategy strategy =
- TAO_ORB_Core::collocation_strategy (obj ACE_ENV_ARG_PARAMETER);
- ACE_CHECK_RETURN (TAO::TAO_CS_REMOTE_STRATEGY);
- return strategy;
-}
+ TAO_ServerRequestInfo_ImplementationRepository_Administration_list _tao_ri (
+ _tao_server_request,
+ _tao_upcall,
+ _tao_impl,
+
+ how_many
-void
-POA_ImplementationRepository::_TAO_ServerInformationIterator_Strategized_Proxy_Broker::dispatch (
- CORBA::Object_ptr obj,
- CORBA::Object_out forward_obj,
- TAO::Argument ** args,
- int num_args,
- const char * op,
- size_t op_len,
- TAO::Collocation_Strategy strategy
- ACE_ENV_ARG_DECL
- )
- ACE_THROW_SPEC ((CORBA::Exception))
-{
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- obj->_stubobj ()->servant_orb_var ()->orb_core ()
+ ACE_ENV_ARG_PARAMETER
);
- TAO_Collocated_Skeleton collocated_skel;
- TAO_Abstract_ServantBase *servant = 0;
-
- if (strategy == TAO::TAO_CS_THRU_POA_STRATEGY)
+ ACE_TRY
{
- servant_upcall.prepare_for_upcall (
- obj->_stubobj ()->object_key (),
- op,
- forward_obj
+ {
+ TAO::PICurrent_Guard _tao_pi_guard (_tao_ri.server_request (),
+ true /* 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;
+#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;
+ }
+ }
+ ACE_CATCHANY
+ {
+ _tao_ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &_tao_ri
ACE_ENV_ARG_PARAMETER
);
- ACE_CHECK;
+ ACE_TRY_CHECK;
- servant_upcall.pre_invoke_collocated_request (
- ACE_ENV_SINGLE_ARG_PARAMETER
- );
- ACE_CHECK;
+ PortableInterceptor::ReplyStatus _tao_status =
+ _tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER);
+ ACE_TRY_CHECK;
- servant = servant_upcall.servant ();
- }
- else
- {
- servant = obj->_servant ();
- }
-
- int status = servant->_find (op,
- collocated_skel,
- strategy,
- op_len);
-
- if (status == -1)
- {
- ACE_THROW (CORBA::BAD_OPERATION ());
+ if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION
+ || _tao_status == PortableInterceptor::USER_EXCEPTION)
+ {
+ ACE_RE_THROW;
+ }
}
- ACE_TRY
+# if defined (ACE_HAS_EXCEPTIONS) \
+ && defined (ACE_HAS_BROKEN_UNEXPECTED_EXCEPTIONS)
+ ACE_CATCHALL
{
- collocated_skel (servant,
- args,
- num_args
- ACE_ENV_ARG_PARAMETER);
+ 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);
}
-#if (TAO_HAS_MINIMUM_CORBA == 0)
- ACE_CATCH (PortableServer::ForwardRequest, forward_request)
- {
- forward_obj =
- CORBA::Object::_duplicate (forward_request.forward_reference.in ());
- return;
- }
-#else
- ACE_CATCHANY
- {
- ACE_UNUSED_ARG (forward_obj);
- ACE_RE_THROW;
- }
-#endif /* TAO_HAS_MINIMUM_CORBA */
+# endif /* ACE_HAS_EXCEPTIONS && ACE_HAS_BROKEN_UNEXPECTED_EXCEPTIONS */
ACE_ENDTRY;
ACE_CHECK;
-}
-
-//
-// End Strategized Proxy Broker Implementation
-///////////////////////////////////////////////////////////////////////
-
-// TAO_IDL - Generated from
-// be/be_visitor_interface/interface_ss.cpp:648
-
-TAO::Collocation_Proxy_Broker *
-ImplementationRepository__TAO_ServerInformationIterator_Proxy_Broker_Factory_function (CORBA::Object_ptr)
-{
- return
- ::POA_ImplementationRepository::_TAO_ServerInformationIterator_Strategized_Proxy_Broker::the_TAO_ServerInformationIterator_Strategized_Proxy_Broker ();
-}
-
-int
-ImplementationRepository__TAO_ServerInformationIterator_Proxy_Broker_Factory_Initializer (size_t)
-{
- 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 =
- ImplementationRepository__TAO_ServerInformationIterator_Proxy_Broker_Factory_Initializer (
- reinterpret_cast<
- size_t> (
- ImplementationRepository__TAO_ServerInformationIterator_Proxy_Broker_Factory_Initializer
- )
- );
-
-
-///////////////////////////////////////////////////////////////////////
-// 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:52
-
-void
-POA_ImplementationRepository::_TAO_ServerInformationIterator_ThruPOA_Proxy_Impl::next_n (
- TAO_Abstract_ServantBase *servant,
- TAO::Argument ** args,
- int
- ACE_ENV_ARG_DECL
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- ((TAO::Arg_Traits< ACE_InputCDR::to_boolean>::ret_val *) args[0])->arg () =
- reinterpret_cast<
- POA_ImplementationRepository::ServerInformationIterator_ptr> (
- servant->_downcast (
- "IDL:ImplementationRepository/ServerInformationIterator:1.0"
- )
- )->next_n (
- ((TAO::Arg_Traits< CORBA::ULong>::in_arg_val *) args[1])->arg (),
- ((TAO::Arg_Traits< ::ImplementationRepository::ServerInformationList>::out_arg_val *) args[2])->arg ()
- ACE_ENV_ARG_PARAMETER
- );
- ACE_CHECK;
-}
-
-// TAO_IDL - Generated from
-// be/be_visitor_operation/thru_poa_proxy_impl_ss.cpp:52
-
-void
-POA_ImplementationRepository::_TAO_ServerInformationIterator_ThruPOA_Proxy_Impl::destroy (
- TAO_Abstract_ServantBase *servant,
- TAO::Argument **,
- int
- ACE_ENV_ARG_DECL
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- reinterpret_cast<
- POA_ImplementationRepository::ServerInformationIterator_ptr> (
- servant->_downcast (
- "IDL:ImplementationRepository/ServerInformationIterator:1.0"
- )
- )->destroy (
- ACE_ENV_SINGLE_ARG_PARAMETER
- );
- ACE_CHECK;
-}
-
-//
-// End ThruPOA Proxy Implementation
-///////////////////////////////////////////////////////////////////////
-
-///////////////////////////////////////////////////////////////////////
-// Direct Proxy Implementation
-//
-
-POA_ImplementationRepository::_TAO_ServerInformationIterator_Direct_Proxy_Impl::_TAO_ServerInformationIterator_Direct_Proxy_Impl (void)
-{}
-
-// TAO_IDL - Generated from
-// be/be_visitor_operation/direct_proxy_impl_ss.cpp:42
-
-void
-POA_ImplementationRepository::_TAO_ServerInformationIterator_Direct_Proxy_Impl::next_n (
- TAO_Abstract_ServantBase *servant,
- TAO::Argument ** args,
- int
- ACE_ENV_ARG_DECL
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- ((TAO::Arg_Traits< ACE_InputCDR::to_boolean>::ret_val *) args[0])->arg () =
- reinterpret_cast<
- POA_ImplementationRepository::ServerInformationIterator_ptr> (
- servant->_downcast (
- "IDL:ImplementationRepository/ServerInformationIterator:1.0"
- )
- )->next_n (
- ((TAO::Arg_Traits< CORBA::ULong>::in_arg_val *) args[1])->arg (),
- ((TAO::Arg_Traits< ::ImplementationRepository::ServerInformationList>::out_arg_val *) args[2])->arg ()
- ACE_ENV_ARG_PARAMETER
- );
- ACE_CHECK;
-}// TAO_IDL - Generated from
-// be/be_visitor_operation/direct_proxy_impl_ss.cpp:42
-
-void
-POA_ImplementationRepository::_TAO_ServerInformationIterator_Direct_Proxy_Impl::destroy (
- TAO_Abstract_ServantBase *servant,
- TAO::Argument **,
- int
- ACE_ENV_ARG_DECL
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- reinterpret_cast<
- POA_ImplementationRepository::ServerInformationIterator_ptr> (
- servant->_downcast (
- "IDL:ImplementationRepository/ServerInformationIterator:1.0"
- )
- )->destroy (
- ACE_ENV_SINGLE_ARG_PARAMETER
- );
- ACE_CHECK;
-}
-
-//
-// End Direct Proxy Implementation
-///////////////////////////////////////////////////////////////////////
-
-// TAO_IDL - Generated from
-// be/be_visitor_interface/interface_ss.cpp:97
-
-POA_ImplementationRepository::ServerInformationIterator::ServerInformationIterator (void)
-{
- this->optable_ = &tao_ImplementationRepository_ServerInformationIterator_optable;
-}
-
-POA_ImplementationRepository::ServerInformationIterator::ServerInformationIterator (const ServerInformationIterator& rhs)
- : TAO_Abstract_ServantBase (rhs),
- TAO_ServantBase (rhs)
-{
-}
-
-POA_ImplementationRepository::ServerInformationIterator::~ServerInformationIterator (void)
-{
-}
-
-// TAO_IDL - Generated from
-// be/be_visitor_operation/operation_ss.cpp:165
-
-void POA_ImplementationRepository::ServerInformationIterator::next_n_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_servant,
- void * TAO_INTERCEPTOR (_tao_servant_upcall)
- ACE_ENV_ARG_DECL
- )
-{
-
-
-#if TAO_HAS_INTERCEPTORS == 1
- static CORBA::TypeCode_ptr const _tao_exceptions[] = {};
- static size_t const _tao_nexceptions = 0;
#endif /* TAO_HAS_INTERCEPTORS */
- POA_ImplementationRepository::ServerInformationIterator * const _tao_impl =
- static_cast<
- POA_ImplementationRepository::ServerInformationIterator *> (
- _tao_servant
- );
-
- TAO::SArg_Traits< ACE_InputCDR::to_boolean>::ret_val _tao_retval;
- TAO::SArg_Traits< CORBA::ULong>::in_arg_val _tao_how_many;
- TAO::SArg_Traits< ::ImplementationRepository::ServerInformationList>::out_arg_val _tao_server_list;
-
- TAO::Argument * const _tao_args [] =
+ _tao_server_request.init_reply ();
+#if (TAO_HAS_INTERCEPTORS == 1)
+ if (!_tao_vfr.location_forwarded ())
{
- &_tao_retval,
- &_tao_how_many,
- &_tao_server_list
- };
-
- static size_t const _tao_nargs = 3;
-
- TAO_ImplementationRepository_ServerInformationIterator_next_n_Upcall_Command _tao_upcall_command (
- _tao_impl, _tao_args);
-
- TAO::Upcall_Wrapper _tao_upcall_wrapper;
- _tao_upcall_wrapper.upcall (_tao_server_request
- , _tao_args
- , _tao_nargs
- , _tao_upcall_command
-
-#if TAO_HAS_INTERCEPTORS == 1
- , _tao_servant_upcall
- , _tao_impl
- , _tao_exceptions
- , _tao_nexceptions
-#endif /* TAO_HAS_INTERCEPTORS == 1 */
-
- ACE_ENV_ARG_PARAMETER);
- ACE_CHECK;
-
-}
-
-// TAO_IDL - Generated from
-// be/be_visitor_operation/operation_ss.cpp:165
-
-void POA_ImplementationRepository::ServerInformationIterator::destroy_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_servant,
- void * TAO_INTERCEPTOR (_tao_servant_upcall)
- ACE_ENV_ARG_DECL
- )
-{
-
-
-#if TAO_HAS_INTERCEPTORS == 1
- static CORBA::TypeCode_ptr const _tao_exceptions[] = {};
- static size_t const _tao_nexceptions = 0;
+#endif /* TAO_HAS_INTERCEPTORS */
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+
+ if (!(
+ (_tao_out << server_list.in ()) &&
+ (_tao_out << server_iterator.in ())
+ ))
+ {
+ TAO_OutputCDR::throw_skel_exception (errno ACE_ENV_ARG_PARAMETER);
+ ACE_CHECK;
+ }
+#if (TAO_HAS_INTERCEPTORS == 1)
+ }
#endif /* TAO_HAS_INTERCEPTORS */
- POA_ImplementationRepository::ServerInformationIterator * const _tao_impl =
- static_cast<
- POA_ImplementationRepository::ServerInformationIterator *> (
- _tao_servant
- );
-
- TAO::SArg_Traits< void>::ret_val _tao_retval;
-
- TAO::Argument * const _tao_args [] =
- {
- &_tao_retval
- };
-
- static size_t const _tao_nargs = 1;
-
- TAO_ImplementationRepository_ServerInformationIterator_destroy_Upcall_Command _tao_upcall_command (
- _tao_impl);
-
- TAO::Upcall_Wrapper _tao_upcall_wrapper;
- _tao_upcall_wrapper.upcall (_tao_server_request
- , _tao_args
- , _tao_nargs
- , _tao_upcall_command
-
-#if TAO_HAS_INTERCEPTORS == 1
- , _tao_servant_upcall
- , _tao_impl
- , _tao_exceptions
- , _tao_nexceptions
-#endif /* TAO_HAS_INTERCEPTORS == 1 */
-
- ACE_ENV_ARG_PARAMETER);
- ACE_CHECK;
+ // 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:162
+// be\be_visitor_interface/interface_ss.cpp:162
-void POA_ImplementationRepository::ServerInformationIterator::_is_a_skel (
+void POA_ImplementationRepository::Administration::_is_a_skel (
TAO_ServerRequest &_tao_server_request,
void * _tao_servant,
void * /* Servant_Upcall */
@@ -3972,8 +4832,8 @@ void POA_ImplementationRepository::ServerInformationIterator::_is_a_skel (
{
TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
- POA_ImplementationRepository::ServerInformationIterator *_tao_impl =
- (POA_ImplementationRepository::ServerInformationIterator *) _tao_servant;
+ POA_ImplementationRepository::Administration *_tao_impl =
+ static_cast<POA_ImplementationRepository::Administration *> (_tao_servant);
CORBA::Boolean _tao_retval = 0;
CORBA::String_var value;
@@ -3995,15 +4855,15 @@ void POA_ImplementationRepository::ServerInformationIterator::_is_a_skel (
}
}
-void POA_ImplementationRepository::ServerInformationIterator::_non_existent_skel (
+void POA_ImplementationRepository::Administration::_non_existent_skel (
TAO_ServerRequest &_tao_server_request,
void * _tao_servant,
void * /* Servant_Upcall */
ACE_ENV_ARG_DECL
)
{
- POA_ImplementationRepository::ServerInformationIterator *_tao_impl =
- (POA_ImplementationRepository::ServerInformationIterator *) _tao_servant;
+ POA_ImplementationRepository::Administration *_tao_impl =
+ static_cast<POA_ImplementationRepository::Administration *> (_tao_servant);
CORBA::Boolean _tao_retval =
_tao_impl->_non_existent (ACE_ENV_SINGLE_ARG_PARAMETER);
@@ -4018,7 +4878,7 @@ void POA_ImplementationRepository::ServerInformationIterator::_non_existent_skel
}
}
-void POA_ImplementationRepository::ServerInformationIterator::_interface_skel (
+void POA_ImplementationRepository::Administration::_interface_skel (
TAO_ServerRequest &_tao_server_request,
void * _tao_servant,
void * /* Servant_Upcall */
@@ -4035,8 +4895,8 @@ void POA_ImplementationRepository::ServerInformationIterator::_interface_skel (
ACE_THROW (CORBA::INTF_REPOS ());
}
- POA_ImplementationRepository::ServerInformationIterator *_tao_impl =
- (POA_ImplementationRepository::ServerInformationIterator *) _tao_servant;
+ POA_ImplementationRepository::Administration *_tao_impl =
+ static_cast<POA_ImplementationRepository::Administration *> (_tao_servant);
CORBA::InterfaceDef_ptr _tao_retval =
_tao_impl->_get_interface (ACE_ENV_SINGLE_ARG_PARAMETER);
@@ -4059,15 +4919,15 @@ void POA_ImplementationRepository::ServerInformationIterator::_interface_skel (
}
}
-void POA_ImplementationRepository::ServerInformationIterator::_component_skel (
+void POA_ImplementationRepository::Administration::_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;
+ POA_ImplementationRepository::Administration *_tao_impl =
+ static_cast<POA_ImplementationRepository::Administration *> (_tao_object_reference);
CORBA::Object_var _tao_retval =
_tao_impl->_get_component (ACE_ENV_SINGLE_ARG_PARAMETER);
@@ -4082,38 +4942,32 @@ void POA_ImplementationRepository::ServerInformationIterator::_component_skel (
}
}
-CORBA::Boolean POA_ImplementationRepository::ServerInformationIterator::_is_a (
+CORBA::Boolean POA_ImplementationRepository::Administration::_is_a (
const char* value
ACE_ENV_ARG_DECL_NOT_USED
)
{
- if (
+ return
+ (
!ACE_OS::strcmp (
- (char *)value,
- "IDL:ImplementationRepository/ServerInformationIterator:1.0"
+ value,
+ "IDL:ImplementationRepository/Administration:1.0"
) ||
!ACE_OS::strcmp (
- (char *)value,
+ value,
"IDL:omg.org/CORBA/Object:1.0"
)
- )
- {
- return 1;
- }
- else
- {
- return 0;
- }
+ );
}
-void* POA_ImplementationRepository::ServerInformationIterator::_downcast (
+void* POA_ImplementationRepository::Administration::_downcast (
const char* logical_type_id
)
{
if (ACE_OS::strcmp (logical_type_id,
- "IDL:ImplementationRepository/ServerInformationIterator:1.0") == 0)
+ "IDL:ImplementationRepository/Administration:1.0") == 0)
{
- return static_cast<POA_ImplementationRepository::ServerInformationIterator_ptr> (this);
+ return static_cast<POA_ImplementationRepository::Administration_ptr> (this);
}
if (ACE_OS::strcmp (logical_type_id,
@@ -4125,15 +4979,15 @@ void* POA_ImplementationRepository::ServerInformationIterator::_downcast (
return 0;
}
-const char* POA_ImplementationRepository::ServerInformationIterator::_interface_repository_id (void) const
+const char* POA_ImplementationRepository::Administration::_interface_repository_id (void) const
{
- return "IDL:ImplementationRepository/ServerInformationIterator:1.0";
+ return "IDL:ImplementationRepository/Administration:1.0";
}
// TAO_IDL - Generated from
-// be/be_visitor_interface/interface_ss.cpp:584
+// be\be_visitor_interface/interface_ss.cpp:576
-void POA_ImplementationRepository::ServerInformationIterator::_dispatch (
+void POA_ImplementationRepository::Administration::_dispatch (
TAO_ServerRequest &req,
void *servant_upcall
ACE_ENV_ARG_DECL
@@ -4146,10 +5000,10 @@ void POA_ImplementationRepository::ServerInformationIterator::_dispatch (
}
// TAO_IDL - Generated from
-// be/be_visitor_interface/interface_ss.cpp:526
+// be\be_visitor_interface/interface_ss.cpp:527
-ImplementationRepository::ServerInformationIterator *
-POA_ImplementationRepository::ServerInformationIterator::_this (ACE_ENV_SINGLE_ARG_DECL)
+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);
@@ -4157,36 +5011,28 @@ POA_ImplementationRepository::ServerInformationIterator::_this (ACE_ENV_SINGLE_A
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
- );
- }
- else
- {
- ACE_NEW_RETURN (
- tmp,
- CORBA::Object (stub, 0, this),
- 0
- );
- }
+ CORBA::Boolean _tao_opt_colloc =
+ stub->servant_orb_var ()->orb_core ()->optimize_collocation_objects ();
+
+ ACE_NEW_RETURN (
+ tmp,
+ CORBA::Object (stub, _tao_opt_colloc, this),
+ 0
+ );
CORBA::Object_var obj = tmp;
(void) safe_stub.release ();
- typedef ::ImplementationRepository::ServerInformationIterator STUB_SCOPED_NAME;
+ typedef ::ImplementationRepository::Administration STUB_SCOPED_NAME;
return
TAO::Narrow_Utils<STUB_SCOPED_NAME>::unchecked_narrow (
obj.in (),
- ImplementationRepository__TAO_ServerInformationIterator_Proxy_Broker_Factory_function_pointer
+ ImplementationRepository__TAO_Administration_Proxy_Broker_Factory_function_pointer
);
}
// TAO_IDL - Generated from
-// be/be_visitor_root/root.cpp:1695
+// be\be_visitor_root/root.cpp:1683
#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION)