// -*- C++ -*- // // $Id$ // **** Code generated by the The ACE ORB (TAO) IDL Compiler **** // TAO and the TAO IDL Compiler have been developed by: // Center for Distributed Object Computing // Washington University // St. Louis, MO // USA // http://www.cs.wustl.edu/~schmidt/doc-center.html // and // Distributed Object Computing Laboratory // University of California at Irvine // Irvine, CA // USA // http://doc.ece.uci.edu/ // // Information about TAO is available at: // http://www.cs.wustl.edu/~schmidt/TAO.html #ifndef _TAO_IDL__________ORBSVCS_IFR_SERVICE_ORIG_IFR_EXTENDEDS_CPP_ #define _TAO_IDL__________ORBSVCS_IFR_SERVICE_ORIG_IFR_EXTENDEDS_CPP_ #include "IFR_ExtendedS.h" #include "tao/PortableServer/Object_Adapter.h" #include "tao/PortableServer/Operation_Table.h" #include "tao/TAO_Server_Request.h" #include "tao/ORB_Core.h" #include "tao/Stub.h" #include "tao/IFR_Client_Adapter.h" #include "tao/PortableInterceptor.h" #if TAO_HAS_INTERCEPTORS == 1 #include "tao/RequestInfo_Util.h" #include "tao/PortableServer/ServerRequestInfo.h" #include "tao/PortableServer/ServerInterceptorAdapter.h" #endif /* TAO_HAS_INTERCEPTORS == 1 */ #include "ace/Dynamic_Service.h" #if defined (__BORLANDC__) #pragma option -w-rvl -w-rch -w-ccc -w-aus #endif /* __BORLANDC__ */ #if !defined (__ACE_INLINE__) #include "IFR_ExtendedS.i" #endif /* !defined INLINE */ class TAO_CORBA_FixedDef_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); }; /* starting time is 23:00:03 */ /* C++ code produced by gperf version 2.8 (ACE version) */ /* Command-line: gperf -m -M -J -c -C -D -E -T -f 0 -F 0 -a -o -t -p -K opname_ -L C++ -Z TAO_CORBA_FixedDef_Perfect_Hash_OpTable -N lookup */ unsigned int TAO_CORBA_FixedDef_Perfect_Hash_OpTable::hash (const char *str, unsigned int len) { static const unsigned char asso_values[] = { #if defined (ACE_MVS) 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 0, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 0, 19, 19, 0, 0, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 0, 5, 19, 19, 19, 19, 0, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, #else 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 0, 19, 0, 19, 19, 0, 0, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 0, 5, 19, 19, 19, 19, 0, 19, 19, 19, 19, 19, 19, #endif /* ACE_MVS */ }; return len + asso_values[str[len - 1]] + asso_values[str[0]]; } const class TAO_operation_db_entry * TAO_CORBA_FixedDef_Perfect_Hash_OpTable::lookup (const char *str, unsigned int len) { enum { TOTAL_KEYWORDS = 10, MIN_WORD_LENGTH = 5, MAX_WORD_LENGTH = 13, MIN_HASH_VALUE = 5, MAX_HASH_VALUE = 18, HASH_VALUE_RANGE = 14, DUPLICATES = 4, WORDLIST_SIZE = 15 }; static const class TAO_operation_db_entry wordlist[] = { {"",0},{"",0},{"",0},{"",0},{"",0}, {"_is_a", &POA_CORBA_FixedDef::_is_a_skel}, {"destroy", &POA_CORBA_FixedDef::destroy_skel}, {"_get_type", &POA_CORBA_FixedDef::_get_type_skel}, {"_get_scale", &POA_CORBA_FixedDef::_get_scale_skel}, {"_interface", &POA_CORBA_FixedDef::_interface_skel}, {"_set_scale", &POA_CORBA_FixedDef::_set_scale_skel}, {"_get_digits", &POA_CORBA_FixedDef::_get_digits_skel}, {"_set_digits", &POA_CORBA_FixedDef::_set_digits_skel}, {"_get_def_kind", &POA_CORBA_FixedDef::_get_def_kind_skel}, {"_non_existent", &POA_CORBA_FixedDef::_non_existent_skel}, }; static const signed char lookup[] = { -1, -8, -3, -11, -2, 5, -1, 6, -1, 7, -27, -26, -1, 13, -1, -1, -1, -1, 14, }; if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH) { unsigned int key = hash (str, len); if (key <= MAX_HASH_VALUE && key >= MIN_HASH_VALUE) { int slot = lookup[key]; if (slot >= 0 && slot < WORDLIST_SIZE) { const char *s = wordlist[slot].opname_; if (*str == *s && !strncmp (str + 1, s + 1, len - 1)) return &wordlist[slot]; } else if (slot < 0 && slot >= -MAX_HASH_VALUE) return 0; else { unsigned int offset = key + slot + (slot > 0 ? -MAX_HASH_VALUE : MAX_HASH_VALUE); const class TAO_operation_db_entry *base = &wordlist[-lookup[offset]]; const class TAO_operation_db_entry *ptr = base + -lookup[offset + 1]; while (--ptr >= base) if (*str == *ptr->opname_ && !strncmp (str + 1, ptr->opname_ + 1, len - 1)) return ptr; } } } return 0; } /* ending time is 23:00:03 */ static TAO_CORBA_FixedDef_Perfect_Hash_OpTable tao_CORBA_FixedDef_optable; #if (TAO_HAS_INTERCEPTORS == 1) class TAO_ServerRequestInfo_CORBA_FixedDef_digits_get : public TAO_ServerRequestInfo { public: TAO_ServerRequestInfo_CORBA_FixedDef_digits_get ( TAO_ServerRequest &_tao_server_request, TAO_Object_Adapter::Servant_Upcall *tao_servant_upcall,POA_CORBA_FixedDef *tao_impl ACE_ENV_ARG_DECL_WITH_DEFAULTS); virtual Dynamic::ParameterList * arguments ( ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) ACE_THROW_SPEC ((CORBA::SystemException)); virtual Dynamic::ExceptionList * exceptions ( ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) ACE_THROW_SPEC ((CORBA::SystemException)); virtual CORBA::Any * result ( ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) ACE_THROW_SPEC ((CORBA::SystemException)); virtual char * target_most_derived_interface ( ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) ACE_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::UShort result); private: TAO_ServerRequestInfo_CORBA_FixedDef_digits_get (const TAO_ServerRequestInfo_CORBA_FixedDef_digits_get &); void operator= (const TAO_ServerRequestInfo_CORBA_FixedDef_digits_get &); private: POA_CORBA_FixedDef *_tao_impl; CORBA::UShort _result; }; TAO_ServerRequestInfo_CORBA_FixedDef_digits_get::TAO_ServerRequestInfo_CORBA_FixedDef_digits_get ( TAO_ServerRequest &_tao_server_request, TAO_Object_Adapter::Servant_Upcall *_tao_servant_upcall, POA_CORBA_FixedDef *tao_impl ACE_ENV_ARG_DECL_NOT_USED ) : TAO_ServerRequestInfo (_tao_server_request, _tao_servant_upcall), _tao_impl (tao_impl) {} Dynamic::ParameterList * TAO_ServerRequestInfo_CORBA_FixedDef_digits_get::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_CORBA_FixedDef_digits_get::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_CORBA_FixedDef_digits_get::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) <<= this->_result; return safe_result_any._retn (); } char * TAO_ServerRequestInfo_CORBA_FixedDef_digits_get::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_CORBA_FixedDef_digits_get::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_CORBA_FixedDef_digits_get::result (CORBA::UShort result) { // Update the result. this->_result = result; } class TAO_ServerRequestInfo_CORBA_FixedDef_digits_set : public TAO_ServerRequestInfo { public: TAO_ServerRequestInfo_CORBA_FixedDef_digits_set ( TAO_ServerRequest &_tao_server_request, TAO_Object_Adapter::Servant_Upcall *tao_servant_upcall,POA_CORBA_FixedDef *tao_impl , const CORBA::UShort & digits 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_CORBA_FixedDef_digits_set (const TAO_ServerRequestInfo_CORBA_FixedDef_digits_set &); void operator= (const TAO_ServerRequestInfo_CORBA_FixedDef_digits_set &); private: POA_CORBA_FixedDef *_tao_impl; const CORBA::UShort & digits_; }; TAO_ServerRequestInfo_CORBA_FixedDef_digits_set::TAO_ServerRequestInfo_CORBA_FixedDef_digits_set ( TAO_ServerRequest &_tao_server_request, TAO_Object_Adapter::Servant_Upcall *_tao_servant_upcall, POA_CORBA_FixedDef *tao_impl, const CORBA::UShort & digits ACE_ENV_ARG_DECL_NOT_USED ) : TAO_ServerRequestInfo (_tao_server_request, _tao_servant_upcall), _tao_impl (tao_impl), digits_ (digits) {} Dynamic::ParameterList * TAO_ServerRequestInfo_CORBA_FixedDef_digits_set::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 <<= digits_; (*parameter_list)[len].mode = CORBA::PARAM_IN; len++; return safe_parameter_list._retn (); } Dynamic::ExceptionList * TAO_ServerRequestInfo_CORBA_FixedDef_digits_set::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_CORBA_FixedDef_digits_set::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_CORBA_FixedDef_digits_set::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_CORBA_FixedDef_digits_set::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); } class TAO_ServerRequestInfo_CORBA_FixedDef_scale_get : public TAO_ServerRequestInfo { public: TAO_ServerRequestInfo_CORBA_FixedDef_scale_get ( TAO_ServerRequest &_tao_server_request, TAO_Object_Adapter::Servant_Upcall *tao_servant_upcall,POA_CORBA_FixedDef *tao_impl ACE_ENV_ARG_DECL_WITH_DEFAULTS); virtual Dynamic::ParameterList * arguments ( ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) ACE_THROW_SPEC ((CORBA::SystemException)); virtual Dynamic::ExceptionList * exceptions ( ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) ACE_THROW_SPEC ((CORBA::SystemException)); virtual CORBA::Any * result ( ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) ACE_THROW_SPEC ((CORBA::SystemException)); virtual char * target_most_derived_interface ( ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) ACE_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::Short result); private: TAO_ServerRequestInfo_CORBA_FixedDef_scale_get (const TAO_ServerRequestInfo_CORBA_FixedDef_scale_get &); void operator= (const TAO_ServerRequestInfo_CORBA_FixedDef_scale_get &); private: POA_CORBA_FixedDef *_tao_impl; CORBA::Short _result; }; TAO_ServerRequestInfo_CORBA_FixedDef_scale_get::TAO_ServerRequestInfo_CORBA_FixedDef_scale_get ( TAO_ServerRequest &_tao_server_request, TAO_Object_Adapter::Servant_Upcall *_tao_servant_upcall, POA_CORBA_FixedDef *tao_impl ACE_ENV_ARG_DECL_NOT_USED ) : TAO_ServerRequestInfo (_tao_server_request, _tao_servant_upcall), _tao_impl (tao_impl) {} Dynamic::ParameterList * TAO_ServerRequestInfo_CORBA_FixedDef_scale_get::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_CORBA_FixedDef_scale_get::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_CORBA_FixedDef_scale_get::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) <<= this->_result; return safe_result_any._retn (); } char * TAO_ServerRequestInfo_CORBA_FixedDef_scale_get::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_CORBA_FixedDef_scale_get::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_CORBA_FixedDef_scale_get::result (CORBA::Short result) { // Update the result. this->_result = result; } class TAO_ServerRequestInfo_CORBA_FixedDef_scale_set : public TAO_ServerRequestInfo { public: TAO_ServerRequestInfo_CORBA_FixedDef_scale_set ( TAO_ServerRequest &_tao_server_request, TAO_Object_Adapter::Servant_Upcall *tao_servant_upcall,POA_CORBA_FixedDef *tao_impl , const CORBA::Short & scale 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_CORBA_FixedDef_scale_set (const TAO_ServerRequestInfo_CORBA_FixedDef_scale_set &); void operator= (const TAO_ServerRequestInfo_CORBA_FixedDef_scale_set &); private: POA_CORBA_FixedDef *_tao_impl; const CORBA::Short & scale_; }; TAO_ServerRequestInfo_CORBA_FixedDef_scale_set::TAO_ServerRequestInfo_CORBA_FixedDef_scale_set ( TAO_ServerRequest &_tao_server_request, TAO_Object_Adapter::Servant_Upcall *_tao_servant_upcall, POA_CORBA_FixedDef *tao_impl, const CORBA::Short & scale ACE_ENV_ARG_DECL_NOT_USED ) : TAO_ServerRequestInfo (_tao_server_request, _tao_servant_upcall), _tao_impl (tao_impl), scale_ (scale) {} Dynamic::ParameterList * TAO_ServerRequestInfo_CORBA_FixedDef_scale_set::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 <<= scale_; (*parameter_list)[len].mode = CORBA::PARAM_IN; len++; return safe_parameter_list._retn (); } Dynamic::ExceptionList * TAO_ServerRequestInfo_CORBA_FixedDef_scale_set::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_CORBA_FixedDef_scale_set::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_CORBA_FixedDef_scale_set::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_CORBA_FixedDef_scale_set::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 // // Factory function Implementation. _TAO_CORBA_FixedDef_Strategized_Proxy_Broker *_TAO_CORBA_FixedDef_Strategized_Proxy_Broker::the_TAO_CORBA_FixedDef_Strategized_Proxy_Broker (void) { static _TAO_CORBA_FixedDef_Strategized_Proxy_Broker strategized_proxy_broker; return &strategized_proxy_broker; } _TAO_CORBA_FixedDef_Strategized_Proxy_Broker::_TAO_CORBA_FixedDef_Strategized_Proxy_Broker (void) { for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i) this->proxy_cache_[i] = 0; } _TAO_CORBA_FixedDef_Strategized_Proxy_Broker::~_TAO_CORBA_FixedDef_Strategized_Proxy_Broker (void) { for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i) delete this->proxy_cache_[i]; } _TAO_CORBA_FixedDef_Proxy_Impl& _TAO_CORBA_FixedDef_Strategized_Proxy_Broker::select_proxy ( ::CORBA_FixedDef *object ACE_ENV_ARG_DECL ) { int strategy = TAO_ORB_Core::collocation_strategy (object ACE_ENV_ARG_PARAMETER); ACE_CHECK_RETURN (*this->proxy_cache_[strategy]); if (this->proxy_cache_[strategy] != 0) return *this->proxy_cache_[strategy]; this->create_proxy (strategy ACE_ENV_ARG_PARAMETER); ACE_CHECK_RETURN (*this->proxy_cache_[strategy]); return *this->proxy_cache_[strategy]; } void _TAO_CORBA_FixedDef_Strategized_Proxy_Broker::create_proxy ( int strategy ACE_ENV_ARG_DECL ) { ACE_GUARD (TAO_SYNCH_MUTEX, guard, this->mutex_); if (this->proxy_cache_[strategy] == 0) { switch (strategy) { case TAO_Collocation_Strategies::CS_THRU_POA_STRATEGY: ACE_NEW_THROW_EX ( this->proxy_cache_[strategy], _TAO_CORBA_FixedDef_ThruPOA_Proxy_Impl, CORBA::NO_MEMORY () ); ACE_CHECK; break; case TAO_Collocation_Strategies::CS_REMOTE_STRATEGY: default: ACE_NEW_THROW_EX ( this->proxy_cache_[strategy], ::_TAO_CORBA_FixedDef_Remote_Proxy_Impl, CORBA::NO_MEMORY () ); ACE_CHECK; break; } } } // // End Strategized Proxy Broker Implementation /////////////////////////////////////////////////////////////////////// _TAO_CORBA_FixedDef_Proxy_Broker * _TAO_CORBA_FixedDef_Proxy_Broker_Factory_function (CORBA::Object_ptr obj) { ACE_UNUSED_ARG (obj); return ::_TAO_CORBA_FixedDef_Strategized_Proxy_Broker::the_TAO_CORBA_FixedDef_Strategized_Proxy_Broker(); } int _TAO_CORBA_FixedDef_Proxy_Broker_Factory_Initializer (long) { _TAO_CORBA_FixedDef_Proxy_Broker_Factory_function_pointer = _TAO_CORBA_FixedDef_Proxy_Broker_Factory_function; return 0; } static int _TAO_CORBA_FixedDef_Proxy_Broker_Stub_Factory_Initializer_Scarecrow = _TAO_CORBA_FixedDef_Proxy_Broker_Factory_Initializer (ACE_reinterpret_cast (long, _TAO_CORBA_FixedDef_Proxy_Broker_Factory_Initializer)); /////////////////////////////////////////////////////////////////////// // ThruPOA Proxy Implementation // _TAO_CORBA_FixedDef_ThruPOA_Proxy_Impl::_TAO_CORBA_FixedDef_ThruPOA_Proxy_Impl (void) {} // ThruPOA Implementation of the IDL interface methods CORBA::UShort _TAO_CORBA_FixedDef_ThruPOA_Proxy_Impl::digits ( CORBA_Object *_collocated_tao_target_ ACE_ENV_ARG_DECL ) ACE_THROW_SPEC (( CORBA::SystemException )) { CORBA::UShort _tao_retval = 0; ACE_UNUSED_ARG (_tao_retval); TAO_Object_Adapter::Servant_Upcall servant_upcall ( _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core () ); CORBA::Object_var forward_to; servant_upcall.prepare_for_upcall ( _collocated_tao_target_->_object_key (), "digits", forward_to.out () ACE_ENV_ARG_PARAMETER ); ACE_CHECK_RETURN (_tao_retval); return ACE_reinterpret_cast ( POA_CORBA_FixedDef_ptr, servant_upcall.servant ()->_downcast ( "IDL:omg.org/CORBA/FixedDef:1.0" ) )->digits ( ACE_ENV_SINGLE_ARG_PARAMETER ); } void _TAO_CORBA_FixedDef_ThruPOA_Proxy_Impl::digits ( CORBA_Object *_collocated_tao_target_, CORBA::UShort digits ACE_ENV_ARG_DECL ) ACE_THROW_SPEC (( CORBA::SystemException )) { TAO_Object_Adapter::Servant_Upcall servant_upcall ( _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core () ); CORBA::Object_var forward_to; servant_upcall.prepare_for_upcall ( _collocated_tao_target_->_object_key (), "digits", forward_to.out () ACE_ENV_ARG_PARAMETER ); ACE_CHECK; ACE_reinterpret_cast ( POA_CORBA_FixedDef_ptr, servant_upcall.servant ()->_downcast ( "IDL:omg.org/CORBA/FixedDef:1.0" ) )->digits ( digits ACE_ENV_ARG_PARAMETER ); return; } CORBA::Short _TAO_CORBA_FixedDef_ThruPOA_Proxy_Impl::scale ( CORBA_Object *_collocated_tao_target_ ACE_ENV_ARG_DECL ) ACE_THROW_SPEC (( CORBA::SystemException )) { CORBA::Short _tao_retval = 0; ACE_UNUSED_ARG (_tao_retval); TAO_Object_Adapter::Servant_Upcall servant_upcall ( _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core () ); CORBA::Object_var forward_to; servant_upcall.prepare_for_upcall ( _collocated_tao_target_->_object_key (), "scale", forward_to.out () ACE_ENV_ARG_PARAMETER ); ACE_CHECK_RETURN (_tao_retval); return ACE_reinterpret_cast ( POA_CORBA_FixedDef_ptr, servant_upcall.servant ()->_downcast ( "IDL:omg.org/CORBA/FixedDef:1.0" ) )->scale ( ACE_ENV_SINGLE_ARG_PARAMETER ); } void _TAO_CORBA_FixedDef_ThruPOA_Proxy_Impl::scale ( CORBA_Object *_collocated_tao_target_, CORBA::Short scale ACE_ENV_ARG_DECL ) ACE_THROW_SPEC (( CORBA::SystemException )) { TAO_Object_Adapter::Servant_Upcall servant_upcall ( _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core () ); CORBA::Object_var forward_to; servant_upcall.prepare_for_upcall ( _collocated_tao_target_->_object_key (), "scale", forward_to.out () ACE_ENV_ARG_PARAMETER ); ACE_CHECK; ACE_reinterpret_cast ( POA_CORBA_FixedDef_ptr, servant_upcall.servant ()->_downcast ( "IDL:omg.org/CORBA/FixedDef:1.0" ) )->scale ( scale ACE_ENV_ARG_PARAMETER ); return; } // // End ThruPOA Proxy Implementation /////////////////////////////////////////////////////////////////////// // skeleton constructor POA_CORBA_FixedDef::POA_CORBA_FixedDef (void) { this->optable_ = &tao_CORBA_FixedDef_optable; } // copy ctor POA_CORBA_FixedDef::POA_CORBA_FixedDef (const POA_CORBA_FixedDef& rhs) : POA_CORBA_IDLType (rhs), POA_CORBA_IRObject (rhs), TAO_ServantBase (rhs) {} // skeleton destructor POA_CORBA_FixedDef::~POA_CORBA_FixedDef (void) { } void POA_CORBA_FixedDef::_get_digits_skel ( TAO_ServerRequest &_tao_server_request, void *_tao_object_reference, void *_tao_servant_upcall ACE_ENV_ARG_DECL ) { POA_CORBA_FixedDef *_tao_impl = ACE_static_cast (POA_CORBA_FixedDef *, _tao_object_reference); CORBA::UShort _tao_retval = 0; #if (TAO_HAS_INTERCEPTORS == 1) TAO_Object_Adapter::Servant_Upcall *_tao_upcall = ACE_static_cast (TAO_Object_Adapter::Servant_Upcall *, _tao_servant_upcall); TAO_ServerRequestInterceptor_Adapter _tao_vfr ( _tao_server_request.orb_core ()->server_request_interceptors (), _tao_server_request.interceptor_count () ); TAO_ServerRequestInfo_CORBA_FixedDef_digits_get ri ( _tao_server_request, _tao_upcall, _tao_impl ACE_ENV_ARG_PARAMETER ); ACE_TRY { _tao_vfr.receive_request (&ri ACE_ENV_ARG_PARAMETER); ACE_TRY_CHECK; #endif /* TAO_HAS_INTERCEPTORS */ _tao_retval = _tao_impl->digits ( ACE_ENV_SINGLE_ARG_PARAMETER ); TAO_INTERCEPTOR_CHECK; #if (TAO_HAS_INTERCEPTORS == 1) CORBA::UShort _tao_retval_info = _tao_retval; ri.result (_tao_retval_info); ri.reply_status (PortableInterceptor::SUCCESSFUL); _tao_vfr.send_reply (&ri ACE_ENV_ARG_PARAMETER); ACE_TRY_CHECK; } ACE_CATCHANY { ri.exception (&ACE_ANY_EXCEPTION); _tao_vfr.send_exception ( &ri ACE_ENV_ARG_PARAMETER ); ACE_TRY_CHECK; PortableInterceptor::ReplyStatus _tao_status = ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER); ACE_TRY_CHECK; if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION || _tao_status == PortableInterceptor::USER_EXCEPTION) ACE_RE_THROW; } ACE_ENDTRY; ACE_CHECK; #endif /* TAO_HAS_INTERCEPTORS */ _tao_server_request.init_reply (); TAO_OutputCDR &_tao_out = _tao_server_request.outgoing (); if (!( (_tao_out << _tao_retval) )) ACE_THROW (CORBA::MARSHAL()); // In case _tao_servant_upcall is not used in this function ACE_UNUSED_ARG (_tao_servant_upcall); } void POA_CORBA_FixedDef::_set_digits_skel ( TAO_ServerRequest &_tao_server_request, void *_tao_object_reference, void *_tao_servant_upcall ACE_ENV_ARG_DECL ) { TAO_InputCDR &_tao_in = _tao_server_request.incoming (); POA_CORBA_FixedDef *_tao_impl = ACE_static_cast (POA_CORBA_FixedDef *, _tao_object_reference); _tao_server_request.argument_flag (0); CORBA::UShort digits; if (!( (_tao_in >> digits) )) ACE_THROW (CORBA::MARSHAL()); #if (TAO_HAS_INTERCEPTORS == 1) TAO_Object_Adapter::Servant_Upcall *_tao_upcall = ACE_static_cast (TAO_Object_Adapter::Servant_Upcall *, _tao_servant_upcall); TAO_ServerRequestInterceptor_Adapter _tao_vfr ( _tao_server_request.orb_core ()->server_request_interceptors (), _tao_server_request.interceptor_count () ); TAO_ServerRequestInfo_CORBA_FixedDef_digits_set ri ( _tao_server_request, _tao_upcall, _tao_impl, digits ACE_ENV_ARG_PARAMETER ); ACE_TRY { _tao_vfr.receive_request (&ri ACE_ENV_ARG_PARAMETER); ACE_TRY_CHECK; #endif /* TAO_HAS_INTERCEPTORS */ _tao_impl->digits ( digits ACE_ENV_ARG_PARAMETER ); TAO_INTERCEPTOR_CHECK; #if (TAO_HAS_INTERCEPTORS == 1) ri.reply_status (PortableInterceptor::SUCCESSFUL); _tao_vfr.send_reply (&ri ACE_ENV_ARG_PARAMETER); ACE_TRY_CHECK; } ACE_CATCHANY { ri.exception (&ACE_ANY_EXCEPTION); _tao_vfr.send_exception ( &ri ACE_ENV_ARG_PARAMETER ); ACE_TRY_CHECK; PortableInterceptor::ReplyStatus _tao_status = ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER); ACE_TRY_CHECK; if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION || _tao_status == PortableInterceptor::USER_EXCEPTION) ACE_RE_THROW; } ACE_ENDTRY; ACE_CHECK; #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); } void POA_CORBA_FixedDef::_get_scale_skel ( TAO_ServerRequest &_tao_server_request, void *_tao_object_reference, void *_tao_servant_upcall ACE_ENV_ARG_DECL ) { POA_CORBA_FixedDef *_tao_impl = ACE_static_cast (POA_CORBA_FixedDef *, _tao_object_reference); CORBA::Short _tao_retval = 0; #if (TAO_HAS_INTERCEPTORS == 1) TAO_Object_Adapter::Servant_Upcall *_tao_upcall = ACE_static_cast (TAO_Object_Adapter::Servant_Upcall *, _tao_servant_upcall); TAO_ServerRequestInterceptor_Adapter _tao_vfr ( _tao_server_request.orb_core ()->server_request_interceptors (), _tao_server_request.interceptor_count () ); TAO_ServerRequestInfo_CORBA_FixedDef_scale_get ri ( _tao_server_request, _tao_upcall, _tao_impl ACE_ENV_ARG_PARAMETER ); ACE_TRY { _tao_vfr.receive_request (&ri ACE_ENV_ARG_PARAMETER); ACE_TRY_CHECK; #endif /* TAO_HAS_INTERCEPTORS */ _tao_retval = _tao_impl->scale ( ACE_ENV_SINGLE_ARG_PARAMETER ); TAO_INTERCEPTOR_CHECK; #if (TAO_HAS_INTERCEPTORS == 1) CORBA::Short _tao_retval_info = _tao_retval; ri.result (_tao_retval_info); ri.reply_status (PortableInterceptor::SUCCESSFUL); _tao_vfr.send_reply (&ri ACE_ENV_ARG_PARAMETER); ACE_TRY_CHECK; } ACE_CATCHANY { ri.exception (&ACE_ANY_EXCEPTION); _tao_vfr.send_exception ( &ri ACE_ENV_ARG_PARAMETER ); ACE_TRY_CHECK; PortableInterceptor::ReplyStatus _tao_status = ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER); ACE_TRY_CHECK; if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION || _tao_status == PortableInterceptor::USER_EXCEPTION) ACE_RE_THROW; } ACE_ENDTRY; ACE_CHECK; #endif /* TAO_HAS_INTERCEPTORS */ _tao_server_request.init_reply (); TAO_OutputCDR &_tao_out = _tao_server_request.outgoing (); if (!( (_tao_out << _tao_retval) )) ACE_THROW (CORBA::MARSHAL()); // In case _tao_servant_upcall is not used in this function ACE_UNUSED_ARG (_tao_servant_upcall); } void POA_CORBA_FixedDef::_set_scale_skel ( TAO_ServerRequest &_tao_server_request, void *_tao_object_reference, void *_tao_servant_upcall ACE_ENV_ARG_DECL ) { TAO_InputCDR &_tao_in = _tao_server_request.incoming (); POA_CORBA_FixedDef *_tao_impl = ACE_static_cast (POA_CORBA_FixedDef *, _tao_object_reference); _tao_server_request.argument_flag (0); CORBA::Short scale; if (!( (_tao_in >> scale) )) ACE_THROW (CORBA::MARSHAL()); #if (TAO_HAS_INTERCEPTORS == 1) TAO_Object_Adapter::Servant_Upcall *_tao_upcall = ACE_static_cast (TAO_Object_Adapter::Servant_Upcall *, _tao_servant_upcall); TAO_ServerRequestInterceptor_Adapter _tao_vfr ( _tao_server_request.orb_core ()->server_request_interceptors (), _tao_server_request.interceptor_count () ); TAO_ServerRequestInfo_CORBA_FixedDef_scale_set ri ( _tao_server_request, _tao_upcall, _tao_impl, scale ACE_ENV_ARG_PARAMETER ); ACE_TRY { _tao_vfr.receive_request (&ri ACE_ENV_ARG_PARAMETER); ACE_TRY_CHECK; #endif /* TAO_HAS_INTERCEPTORS */ _tao_impl->scale ( scale ACE_ENV_ARG_PARAMETER ); TAO_INTERCEPTOR_CHECK; #if (TAO_HAS_INTERCEPTORS == 1) ri.reply_status (PortableInterceptor::SUCCESSFUL); _tao_vfr.send_reply (&ri ACE_ENV_ARG_PARAMETER); ACE_TRY_CHECK; } ACE_CATCHANY { ri.exception (&ACE_ANY_EXCEPTION); _tao_vfr.send_exception ( &ri ACE_ENV_ARG_PARAMETER ); ACE_TRY_CHECK; PortableInterceptor::ReplyStatus _tao_status = ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER); ACE_TRY_CHECK; if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION || _tao_status == PortableInterceptor::USER_EXCEPTION) ACE_RE_THROW; } ACE_ENDTRY; ACE_CHECK; #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); } void POA_CORBA_FixedDef::_is_a_skel ( TAO_ServerRequest &_tao_server_request, void * _tao_object_reference, void * /* Servant_Upcall */ ACE_ENV_ARG_DECL ) { TAO_InputCDR &_tao_in = _tao_server_request.incoming (); POA_CORBA_FixedDef *_tao_impl = (POA_CORBA_FixedDef *) _tao_object_reference; CORBA::Boolean _tao_retval = 0; CORBA::String_var value; if (!(_tao_in >> value.out ())) ACE_THROW (CORBA::MARSHAL ()); _tao_retval = _tao_impl->_is_a (value.in () ACE_ENV_ARG_PARAMETER); ACE_CHECK; _tao_server_request.init_reply (); TAO_OutputCDR &_tao_out = _tao_server_request.outgoing (); if (!(_tao_out << CORBA::Any::from_boolean (_tao_retval))) ACE_THROW (CORBA::MARSHAL ()); } void POA_CORBA_FixedDef::_non_existent_skel ( TAO_ServerRequest &_tao_server_request, void * _tao_object_reference, void * /* Servant_Upcall */ ACE_ENV_ARG_DECL ) { POA_CORBA_FixedDef *_tao_impl = (POA_CORBA_FixedDef *) _tao_object_reference; CORBA::Boolean _tao_retval = _tao_impl->_non_existent (ACE_ENV_SINGLE_ARG_PARAMETER); ACE_CHECK; _tao_server_request.init_reply (); TAO_OutputCDR &_tao_out = _tao_server_request.outgoing (); if (!(_tao_out << CORBA::Any::from_boolean (_tao_retval))) ACE_THROW (CORBA::MARSHAL ()); } void POA_CORBA_FixedDef::_interface_skel ( TAO_ServerRequest &_tao_server_request, void * _tao_object_reference, void * /* Servant_Upcall */ ACE_ENV_ARG_DECL ) { POA_CORBA_FixedDef *_tao_impl = (POA_CORBA_FixedDef *) _tao_object_reference; CORBA_InterfaceDef_ptr _tao_retval = 0; CORBA::Boolean _tao_result = 0; TAO_IFR_Client_Adapter *_tao_adapter = ACE_Dynamic_Service::instance ( TAO_ORB_Core::ifr_client_adapter_name () ); if (_tao_adapter == 0) { ACE_THROW (CORBA::INTF_REPOS ()); } ACE_TRY { _tao_retval = _tao_impl->_get_interface (ACE_ENV_SINGLE_ARG_PARAMETER); ACE_TRY_CHECK; _tao_server_request.init_reply (); TAO_OutputCDR &_tao_out = _tao_server_request.outgoing (); _tao_result = _tao_adapter->interfacedef_cdr_insert ( _tao_out, _tao_retval ); } ACE_CATCHALL { _tao_adapter->dispose (_tao_retval); } ACE_ENDTRY; if (_tao_result == 0) { ACE_THROW (CORBA::MARSHAL ()); } } CORBA::Boolean POA_CORBA_FixedDef::_is_a ( const char* value ACE_ENV_ARG_DECL ) { const char *base_id = CORBA::_tc_Object->id (ACE_ENV_SINGLE_ARG_PARAMETER); ACE_CHECK_RETURN (0); if ( (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/FixedDef:1.0")) || (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/IDLType:1.0")) || (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/IRObject:1.0")) || (!ACE_OS::strcmp ((char *)value, base_id))) return 1; else return 0; } void* POA_CORBA_FixedDef::_downcast ( const char* logical_type_id ) { if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/FixedDef:1.0") == 0) return ACE_static_cast (POA_CORBA_FixedDef_ptr, this); if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/IDLType:1.0") == 0) return ACE_static_cast (POA_CORBA_IDLType_ptr, this); if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/IRObject:1.0") == 0) return ACE_static_cast (POA_CORBA_IRObject_ptr, this); if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/Object:1.0") == 0) return ACE_static_cast(PortableServer::Servant, this); return 0; } void POA_CORBA_FixedDef::_dispatch (TAO_ServerRequest &req, void *servant_upcall ACE_ENV_ARG_DECL) { this->synchronous_upcall_dispatch (req, servant_upcall, this ACE_ENV_ARG_PARAMETER); } const char* POA_CORBA_FixedDef::_interface_repository_id (void) const { return "IDL:omg.org/CORBA/FixedDef:1.0"; } CORBA_FixedDef* POA_CORBA_FixedDef::_this (ACE_ENV_SINGLE_ARG_DECL) { TAO_Stub *stub = this->_create_stub (ACE_ENV_SINGLE_ARG_PARAMETER); ACE_CHECK_RETURN (0); TAO_Stub_Auto_Ptr safe_stub (stub); CORBA::Object_ptr tmp = CORBA::Object::_nil (); if (stub->servant_orb_var ()->orb_core ()->optimize_collocation_objects ()) ACE_NEW_RETURN (tmp, CORBA::Object (stub, 1, this), 0); else ACE_NEW_RETURN (tmp, CORBA::Object (stub, 0, this), 0); CORBA::Object_var obj = tmp; (void) safe_stub.release (); return ::CORBA_FixedDef::_unchecked_narrow (obj.in ()); } class TAO_CORBA_ValueMemberDef_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); }; /* starting time is 23:00:04 */ /* C++ code produced by gperf version 2.8 (ACE version) */ /* Command-line: gperf -m -M -J -c -C -D -E -T -f 0 -F 0 -a -o -t -p -K opname_ -L C++ -Z TAO_CORBA_ValueMemberDef_Perfect_Hash_OpTable -N lookup */ unsigned int TAO_CORBA_ValueMemberDef_Perfect_Hash_OpTable::hash (const char *str, unsigned int len) { static const unsigned char asso_values[] = { #if defined (ACE_MVS) 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 0, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 0, 37, 37, 0, 0, 10, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 0, 0, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 0, 15, 37, 37, 37, 37, 10, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, #else 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 0, 37, 0, 37, 37, 0, 0, 10, 37, 37, 37, 37, 37, 37, 0, 0, 37, 37, 37, 37, 0, 15, 37, 37, 37, 37, 10, 37, 37, 37, 37, 37, 37, #endif /* ACE_MVS */ }; return len + asso_values[str[len - 1]] + asso_values[str[0]]; } const class TAO_operation_db_entry * TAO_CORBA_ValueMemberDef_Perfect_Hash_OpTable::lookup (const char *str, unsigned int len) { enum { TOTAL_KEYWORDS = 21, MIN_WORD_LENGTH = 4, MAX_WORD_LENGTH = 26, MIN_HASH_VALUE = 4, MAX_HASH_VALUE = 36, HASH_VALUE_RANGE = 33, DUPLICATES = 7, WORDLIST_SIZE = 25 }; static const class TAO_operation_db_entry wordlist[] = { {"",0},{"",0},{"",0},{"",0}, {"move", &POA_CORBA_ValueMemberDef::move_skel}, {"_is_a", &POA_CORBA_ValueMemberDef::_is_a_skel}, {"_get_id", &POA_CORBA_ValueMemberDef::_get_id_skel}, {"_set_id", &POA_CORBA_ValueMemberDef::_set_id_skel}, {"describe", &POA_CORBA_ValueMemberDef::describe_skel}, {"_get_type", &POA_CORBA_ValueMemberDef::_get_type_skel}, {"_set_name", &POA_CORBA_ValueMemberDef::_set_name_skel}, {"_get_name", &POA_CORBA_ValueMemberDef::_get_name_skel}, {"_interface", &POA_CORBA_ValueMemberDef::_interface_skel}, {"_get_access", &POA_CORBA_ValueMemberDef::_get_access_skel}, {"_set_access", &POA_CORBA_ValueMemberDef::_set_access_skel}, {"_get_version", &POA_CORBA_ValueMemberDef::_get_version_skel}, {"_set_version", &POA_CORBA_ValueMemberDef::_set_version_skel}, {"_get_def_kind", &POA_CORBA_ValueMemberDef::_get_def_kind_skel}, {"_get_defined_in", &POA_CORBA_ValueMemberDef::_get_defined_in_skel}, {"destroy", &POA_CORBA_ValueMemberDef::destroy_skel}, {"_get_absolute_name", &POA_CORBA_ValueMemberDef::_get_absolute_name_skel}, {"_get_type_def", &POA_CORBA_ValueMemberDef::_get_type_def_skel}, {"_set_type_def", &POA_CORBA_ValueMemberDef::_set_type_def_skel}, {"_non_existent", &POA_CORBA_ValueMemberDef::_non_existent_skel}, {"_get_containing_repository", &POA_CORBA_ValueMemberDef::_get_containing_repository_skel}, }; static const signed char lookup[] = { -13, -2, -15, -2, 4, 5, -1, 53, 8, 46, 12, -47, -46, 17, -1, 18, -1, 19, 20, -9, -3, -21, -2, -38, -6, -2, -1, -1, 23, -1, -1, -1, -1, -1, -1, -1, 24, }; if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH) { unsigned int key = hash (str, len); if (key <= MAX_HASH_VALUE && key >= MIN_HASH_VALUE) { int slot = lookup[key]; if (slot >= 0 && slot < WORDLIST_SIZE) { const char *s = wordlist[slot].opname_; if (*str == *s && !strncmp (str + 1, s + 1, len - 1)) return &wordlist[slot]; } else if (slot < 0 && slot >= -MAX_HASH_VALUE) return 0; else { unsigned int offset = key + slot + (slot > 0 ? -MAX_HASH_VALUE : MAX_HASH_VALUE); const class TAO_operation_db_entry *base = &wordlist[-lookup[offset]]; const class TAO_operation_db_entry *ptr = base + -lookup[offset + 1]; while (--ptr >= base) if (*str == *ptr->opname_ && !strncmp (str + 1, ptr->opname_ + 1, len - 1)) return ptr; } } } return 0; } /* ending time is 23:00:04 */ static TAO_CORBA_ValueMemberDef_Perfect_Hash_OpTable tao_CORBA_ValueMemberDef_optable; #if (TAO_HAS_INTERCEPTORS == 1) class TAO_ServerRequestInfo_CORBA_ValueMemberDef_type_get : public TAO_ServerRequestInfo { public: TAO_ServerRequestInfo_CORBA_ValueMemberDef_type_get ( TAO_ServerRequest &_tao_server_request, TAO_Object_Adapter::Servant_Upcall *tao_servant_upcall,POA_CORBA_ValueMemberDef *tao_impl ACE_ENV_ARG_DECL_WITH_DEFAULTS); virtual Dynamic::ParameterList * arguments ( ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) ACE_THROW_SPEC ((CORBA::SystemException)); virtual Dynamic::ExceptionList * exceptions ( ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) ACE_THROW_SPEC ((CORBA::SystemException)); virtual CORBA::Any * result ( ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) ACE_THROW_SPEC ((CORBA::SystemException)); virtual char * target_most_derived_interface ( ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) ACE_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::TypeCode_ptr result); private: TAO_ServerRequestInfo_CORBA_ValueMemberDef_type_get (const TAO_ServerRequestInfo_CORBA_ValueMemberDef_type_get &); void operator= (const TAO_ServerRequestInfo_CORBA_ValueMemberDef_type_get &); private: POA_CORBA_ValueMemberDef *_tao_impl; CORBA::TypeCode_ptr _result; }; TAO_ServerRequestInfo_CORBA_ValueMemberDef_type_get::TAO_ServerRequestInfo_CORBA_ValueMemberDef_type_get ( TAO_ServerRequest &_tao_server_request, TAO_Object_Adapter::Servant_Upcall *_tao_servant_upcall, POA_CORBA_ValueMemberDef *tao_impl ACE_ENV_ARG_DECL_NOT_USED ) : TAO_ServerRequestInfo (_tao_server_request, _tao_servant_upcall), _tao_impl (tao_impl) {} Dynamic::ParameterList * TAO_ServerRequestInfo_CORBA_ValueMemberDef_type_get::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_CORBA_ValueMemberDef_type_get::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_CORBA_ValueMemberDef_type_get::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) <<= this->_result; return safe_result_any._retn (); } char * TAO_ServerRequestInfo_CORBA_ValueMemberDef_type_get::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_CORBA_ValueMemberDef_type_get::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_CORBA_ValueMemberDef_type_get::result (CORBA::TypeCode_ptr result) { // Update the result. this->_result = result; } class TAO_ServerRequestInfo_CORBA_ValueMemberDef_type_def_get : public TAO_ServerRequestInfo { public: TAO_ServerRequestInfo_CORBA_ValueMemberDef_type_def_get ( TAO_ServerRequest &_tao_server_request, TAO_Object_Adapter::Servant_Upcall *tao_servant_upcall,POA_CORBA_ValueMemberDef *tao_impl ACE_ENV_ARG_DECL_WITH_DEFAULTS); virtual Dynamic::ParameterList * arguments ( ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) ACE_THROW_SPEC ((CORBA::SystemException)); virtual Dynamic::ExceptionList * exceptions ( ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) ACE_THROW_SPEC ((CORBA::SystemException)); virtual CORBA::Any * result ( ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) ACE_THROW_SPEC ((CORBA::SystemException)); virtual char * target_most_derived_interface ( ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) ACE_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_IDLType_ptr result); private: TAO_ServerRequestInfo_CORBA_ValueMemberDef_type_def_get (const TAO_ServerRequestInfo_CORBA_ValueMemberDef_type_def_get &); void operator= (const TAO_ServerRequestInfo_CORBA_ValueMemberDef_type_def_get &); private: POA_CORBA_ValueMemberDef *_tao_impl; CORBA_IDLType_ptr _result; }; TAO_ServerRequestInfo_CORBA_ValueMemberDef_type_def_get::TAO_ServerRequestInfo_CORBA_ValueMemberDef_type_def_get ( TAO_ServerRequest &_tao_server_request, TAO_Object_Adapter::Servant_Upcall *_tao_servant_upcall, POA_CORBA_ValueMemberDef *tao_impl ACE_ENV_ARG_DECL_NOT_USED ) : TAO_ServerRequestInfo (_tao_server_request, _tao_servant_upcall), _tao_impl (tao_impl) {} Dynamic::ParameterList * TAO_ServerRequestInfo_CORBA_ValueMemberDef_type_def_get::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_CORBA_ValueMemberDef_type_def_get::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_CORBA_ValueMemberDef_type_def_get::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) <<= this->_result; return safe_result_any._retn (); } char * TAO_ServerRequestInfo_CORBA_ValueMemberDef_type_def_get::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_CORBA_ValueMemberDef_type_def_get::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_CORBA_ValueMemberDef_type_def_get::result (CORBA_IDLType_ptr result) { // Update the result. this->_result = result; } class TAO_ServerRequestInfo_CORBA_ValueMemberDef_type_def_set : public TAO_ServerRequestInfo { public: TAO_ServerRequestInfo_CORBA_ValueMemberDef_type_def_set ( TAO_ServerRequest &_tao_server_request, TAO_Object_Adapter::Servant_Upcall *tao_servant_upcall,POA_CORBA_ValueMemberDef *tao_impl , CORBA_IDLType_ptr type_def 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_CORBA_ValueMemberDef_type_def_set (const TAO_ServerRequestInfo_CORBA_ValueMemberDef_type_def_set &); void operator= (const TAO_ServerRequestInfo_CORBA_ValueMemberDef_type_def_set &); private: POA_CORBA_ValueMemberDef *_tao_impl; CORBA_IDLType_ptr type_def_; }; TAO_ServerRequestInfo_CORBA_ValueMemberDef_type_def_set::TAO_ServerRequestInfo_CORBA_ValueMemberDef_type_def_set ( TAO_ServerRequest &_tao_server_request, TAO_Object_Adapter::Servant_Upcall *_tao_servant_upcall, POA_CORBA_ValueMemberDef *tao_impl, CORBA_IDLType_ptr type_def ACE_ENV_ARG_DECL_NOT_USED ) : TAO_ServerRequestInfo (_tao_server_request, _tao_servant_upcall), _tao_impl (tao_impl), type_def_ (type_def) {} Dynamic::ParameterList * TAO_ServerRequestInfo_CORBA_ValueMemberDef_type_def_set::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 <<= this->type_def_; (*parameter_list)[len].mode = CORBA::PARAM_IN; len++; return safe_parameter_list._retn (); } Dynamic::ExceptionList * TAO_ServerRequestInfo_CORBA_ValueMemberDef_type_def_set::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_CORBA_ValueMemberDef_type_def_set::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_CORBA_ValueMemberDef_type_def_set::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_CORBA_ValueMemberDef_type_def_set::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); } class TAO_ServerRequestInfo_CORBA_ValueMemberDef_access_get : public TAO_ServerRequestInfo { public: TAO_ServerRequestInfo_CORBA_ValueMemberDef_access_get ( TAO_ServerRequest &_tao_server_request, TAO_Object_Adapter::Servant_Upcall *tao_servant_upcall,POA_CORBA_ValueMemberDef *tao_impl ACE_ENV_ARG_DECL_WITH_DEFAULTS); virtual Dynamic::ParameterList * arguments ( ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) ACE_THROW_SPEC ((CORBA::SystemException)); virtual Dynamic::ExceptionList * exceptions ( ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) ACE_THROW_SPEC ((CORBA::SystemException)); virtual CORBA::Any * result ( ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) ACE_THROW_SPEC ((CORBA::SystemException)); virtual char * target_most_derived_interface ( ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) ACE_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::Visibility result); private: TAO_ServerRequestInfo_CORBA_ValueMemberDef_access_get (const TAO_ServerRequestInfo_CORBA_ValueMemberDef_access_get &); void operator= (const TAO_ServerRequestInfo_CORBA_ValueMemberDef_access_get &); private: POA_CORBA_ValueMemberDef *_tao_impl; CORBA::Visibility _result; }; TAO_ServerRequestInfo_CORBA_ValueMemberDef_access_get::TAO_ServerRequestInfo_CORBA_ValueMemberDef_access_get ( TAO_ServerRequest &_tao_server_request, TAO_Object_Adapter::Servant_Upcall *_tao_servant_upcall, POA_CORBA_ValueMemberDef *tao_impl ACE_ENV_ARG_DECL_NOT_USED ) : TAO_ServerRequestInfo (_tao_server_request, _tao_servant_upcall), _tao_impl (tao_impl) {} Dynamic::ParameterList * TAO_ServerRequestInfo_CORBA_ValueMemberDef_access_get::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_CORBA_ValueMemberDef_access_get::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_CORBA_ValueMemberDef_access_get::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) <<= this->_result; return safe_result_any._retn (); } char * TAO_ServerRequestInfo_CORBA_ValueMemberDef_access_get::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_CORBA_ValueMemberDef_access_get::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_CORBA_ValueMemberDef_access_get::result (CORBA::Visibility result) { // Update the result. this->_result = result; } class TAO_ServerRequestInfo_CORBA_ValueMemberDef_access_set : public TAO_ServerRequestInfo { public: TAO_ServerRequestInfo_CORBA_ValueMemberDef_access_set ( TAO_ServerRequest &_tao_server_request, TAO_Object_Adapter::Servant_Upcall *tao_servant_upcall,POA_CORBA_ValueMemberDef *tao_impl , const CORBA::Visibility & access 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_CORBA_ValueMemberDef_access_set (const TAO_ServerRequestInfo_CORBA_ValueMemberDef_access_set &); void operator= (const TAO_ServerRequestInfo_CORBA_ValueMemberDef_access_set &); private: POA_CORBA_ValueMemberDef *_tao_impl; const CORBA::Visibility & access_; }; TAO_ServerRequestInfo_CORBA_ValueMemberDef_access_set::TAO_ServerRequestInfo_CORBA_ValueMemberDef_access_set ( TAO_ServerRequest &_tao_server_request, TAO_Object_Adapter::Servant_Upcall *_tao_servant_upcall, POA_CORBA_ValueMemberDef *tao_impl, const CORBA::Visibility & access ACE_ENV_ARG_DECL_NOT_USED ) : TAO_ServerRequestInfo (_tao_server_request, _tao_servant_upcall), _tao_impl (tao_impl), access_ (access) {} Dynamic::ParameterList * TAO_ServerRequestInfo_CORBA_ValueMemberDef_access_set::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 <<= access_; (*parameter_list)[len].mode = CORBA::PARAM_IN; len++; return safe_parameter_list._retn (); } Dynamic::ExceptionList * TAO_ServerRequestInfo_CORBA_ValueMemberDef_access_set::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_CORBA_ValueMemberDef_access_set::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_CORBA_ValueMemberDef_access_set::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_CORBA_ValueMemberDef_access_set::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 // // Factory function Implementation. _TAO_CORBA_ValueMemberDef_Strategized_Proxy_Broker *_TAO_CORBA_ValueMemberDef_Strategized_Proxy_Broker::the_TAO_CORBA_ValueMemberDef_Strategized_Proxy_Broker (void) { static _TAO_CORBA_ValueMemberDef_Strategized_Proxy_Broker strategized_proxy_broker; return &strategized_proxy_broker; } _TAO_CORBA_ValueMemberDef_Strategized_Proxy_Broker::_TAO_CORBA_ValueMemberDef_Strategized_Proxy_Broker (void) { for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i) this->proxy_cache_[i] = 0; } _TAO_CORBA_ValueMemberDef_Strategized_Proxy_Broker::~_TAO_CORBA_ValueMemberDef_Strategized_Proxy_Broker (void) { for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i) delete this->proxy_cache_[i]; } _TAO_CORBA_ValueMemberDef_Proxy_Impl& _TAO_CORBA_ValueMemberDef_Strategized_Proxy_Broker::select_proxy ( ::CORBA_ValueMemberDef *object ACE_ENV_ARG_DECL ) { int strategy = TAO_ORB_Core::collocation_strategy (object ACE_ENV_ARG_PARAMETER); ACE_CHECK_RETURN (*this->proxy_cache_[strategy]); if (this->proxy_cache_[strategy] != 0) return *this->proxy_cache_[strategy]; this->create_proxy (strategy ACE_ENV_ARG_PARAMETER); ACE_CHECK_RETURN (*this->proxy_cache_[strategy]); return *this->proxy_cache_[strategy]; } void _TAO_CORBA_ValueMemberDef_Strategized_Proxy_Broker::create_proxy ( int strategy ACE_ENV_ARG_DECL ) { ACE_GUARD (TAO_SYNCH_MUTEX, guard, this->mutex_); if (this->proxy_cache_[strategy] == 0) { switch (strategy) { case TAO_Collocation_Strategies::CS_THRU_POA_STRATEGY: ACE_NEW_THROW_EX ( this->proxy_cache_[strategy], _TAO_CORBA_ValueMemberDef_ThruPOA_Proxy_Impl, CORBA::NO_MEMORY () ); ACE_CHECK; break; case TAO_Collocation_Strategies::CS_REMOTE_STRATEGY: default: ACE_NEW_THROW_EX ( this->proxy_cache_[strategy], ::_TAO_CORBA_ValueMemberDef_Remote_Proxy_Impl, CORBA::NO_MEMORY () ); ACE_CHECK; break; } } } // // End Strategized Proxy Broker Implementation /////////////////////////////////////////////////////////////////////// _TAO_CORBA_ValueMemberDef_Proxy_Broker * _TAO_CORBA_ValueMemberDef_Proxy_Broker_Factory_function (CORBA::Object_ptr obj) { ACE_UNUSED_ARG (obj); return ::_TAO_CORBA_ValueMemberDef_Strategized_Proxy_Broker::the_TAO_CORBA_ValueMemberDef_Strategized_Proxy_Broker(); } int _TAO_CORBA_ValueMemberDef_Proxy_Broker_Factory_Initializer (long) { _TAO_CORBA_ValueMemberDef_Proxy_Broker_Factory_function_pointer = _TAO_CORBA_ValueMemberDef_Proxy_Broker_Factory_function; return 0; } static int _TAO_CORBA_ValueMemberDef_Proxy_Broker_Stub_Factory_Initializer_Scarecrow = _TAO_CORBA_ValueMemberDef_Proxy_Broker_Factory_Initializer (ACE_reinterpret_cast (long, _TAO_CORBA_ValueMemberDef_Proxy_Broker_Factory_Initializer)); /////////////////////////////////////////////////////////////////////// // ThruPOA Proxy Implementation // _TAO_CORBA_ValueMemberDef_ThruPOA_Proxy_Impl::_TAO_CORBA_ValueMemberDef_ThruPOA_Proxy_Impl (void) {} // ThruPOA Implementation of the IDL interface methods CORBA::TypeCode_ptr _TAO_CORBA_ValueMemberDef_ThruPOA_Proxy_Impl::type ( CORBA_Object *_collocated_tao_target_ ACE_ENV_ARG_DECL ) ACE_THROW_SPEC (( CORBA::SystemException )) { CORBA::TypeCode_var _tao_retval; ACE_UNUSED_ARG (_tao_retval); TAO_Object_Adapter::Servant_Upcall servant_upcall ( _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core () ); CORBA::Object_var forward_to; servant_upcall.prepare_for_upcall ( _collocated_tao_target_->_object_key (), "type", forward_to.out () ACE_ENV_ARG_PARAMETER ); ACE_CHECK_RETURN (0); return ACE_reinterpret_cast ( POA_CORBA_ValueMemberDef_ptr, servant_upcall.servant ()->_downcast ( "IDL:omg.org/CORBA/ValueMemberDef:1.0" ) )->type ( ACE_ENV_SINGLE_ARG_PARAMETER ); } CORBA_IDLType_ptr _TAO_CORBA_ValueMemberDef_ThruPOA_Proxy_Impl::type_def ( CORBA_Object *_collocated_tao_target_ ACE_ENV_ARG_DECL ) ACE_THROW_SPEC (( CORBA::SystemException )) { CORBA_IDLType_var _tao_retval; ACE_UNUSED_ARG (_tao_retval); TAO_Object_Adapter::Servant_Upcall servant_upcall ( _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core () ); CORBA::Object_var forward_to; servant_upcall.prepare_for_upcall ( _collocated_tao_target_->_object_key (), "type_def", forward_to.out () ACE_ENV_ARG_PARAMETER ); ACE_CHECK_RETURN (0); return ACE_reinterpret_cast ( POA_CORBA_ValueMemberDef_ptr, servant_upcall.servant ()->_downcast ( "IDL:omg.org/CORBA/ValueMemberDef:1.0" ) )->type_def ( ACE_ENV_SINGLE_ARG_PARAMETER ); } void _TAO_CORBA_ValueMemberDef_ThruPOA_Proxy_Impl::type_def ( CORBA_Object *_collocated_tao_target_, CORBA_IDLType_ptr type_def ACE_ENV_ARG_DECL ) ACE_THROW_SPEC (( CORBA::SystemException )) { TAO_Object_Adapter::Servant_Upcall servant_upcall ( _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core () ); CORBA::Object_var forward_to; servant_upcall.prepare_for_upcall ( _collocated_tao_target_->_object_key (), "type_def", forward_to.out () ACE_ENV_ARG_PARAMETER ); ACE_CHECK; ACE_reinterpret_cast ( POA_CORBA_ValueMemberDef_ptr, servant_upcall.servant ()->_downcast ( "IDL:omg.org/CORBA/ValueMemberDef:1.0" ) )->type_def ( type_def ACE_ENV_ARG_PARAMETER ); return; } CORBA::Visibility _TAO_CORBA_ValueMemberDef_ThruPOA_Proxy_Impl::access ( CORBA_Object *_collocated_tao_target_ ACE_ENV_ARG_DECL ) ACE_THROW_SPEC (( CORBA::SystemException )) { CORBA::Visibility _tao_retval = 0; ACE_UNUSED_ARG (_tao_retval); TAO_Object_Adapter::Servant_Upcall servant_upcall ( _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core () ); CORBA::Object_var forward_to; servant_upcall.prepare_for_upcall ( _collocated_tao_target_->_object_key (), "access", forward_to.out () ACE_ENV_ARG_PARAMETER ); ACE_CHECK_RETURN (_tao_retval); return ACE_reinterpret_cast ( POA_CORBA_ValueMemberDef_ptr, servant_upcall.servant ()->_downcast ( "IDL:omg.org/CORBA/ValueMemberDef:1.0" ) )->access ( ACE_ENV_SINGLE_ARG_PARAMETER ); } void _TAO_CORBA_ValueMemberDef_ThruPOA_Proxy_Impl::access ( CORBA_Object *_collocated_tao_target_, CORBA::Visibility access ACE_ENV_ARG_DECL ) ACE_THROW_SPEC (( CORBA::SystemException )) { TAO_Object_Adapter::Servant_Upcall servant_upcall ( _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core () ); CORBA::Object_var forward_to; servant_upcall.prepare_for_upcall ( _collocated_tao_target_->_object_key (), "access", forward_to.out () ACE_ENV_ARG_PARAMETER ); ACE_CHECK; ACE_reinterpret_cast ( POA_CORBA_ValueMemberDef_ptr, servant_upcall.servant ()->_downcast ( "IDL:omg.org/CORBA/ValueMemberDef:1.0" ) )->access ( access ACE_ENV_ARG_PARAMETER ); return; } // // End ThruPOA Proxy Implementation /////////////////////////////////////////////////////////////////////// // skeleton constructor POA_CORBA_ValueMemberDef::POA_CORBA_ValueMemberDef (void) { this->optable_ = &tao_CORBA_ValueMemberDef_optable; } // copy ctor POA_CORBA_ValueMemberDef::POA_CORBA_ValueMemberDef (const POA_CORBA_ValueMemberDef& rhs) : POA_CORBA_Contained (rhs), POA_CORBA_IRObject (rhs), TAO_ServantBase (rhs) {} // skeleton destructor POA_CORBA_ValueMemberDef::~POA_CORBA_ValueMemberDef (void) { } void POA_CORBA_ValueMemberDef::_get_type_skel ( TAO_ServerRequest &_tao_server_request, void *_tao_object_reference, void *_tao_servant_upcall ACE_ENV_ARG_DECL ) { POA_CORBA_ValueMemberDef *_tao_impl = ACE_static_cast (POA_CORBA_ValueMemberDef *, _tao_object_reference); CORBA::TypeCode_var _tao_retval; #if (TAO_HAS_INTERCEPTORS == 1) TAO_Object_Adapter::Servant_Upcall *_tao_upcall = ACE_static_cast (TAO_Object_Adapter::Servant_Upcall *, _tao_servant_upcall); TAO_ServerRequestInterceptor_Adapter _tao_vfr ( _tao_server_request.orb_core ()->server_request_interceptors (), _tao_server_request.interceptor_count () ); TAO_ServerRequestInfo_CORBA_ValueMemberDef_type_get ri ( _tao_server_request, _tao_upcall, _tao_impl ACE_ENV_ARG_PARAMETER ); ACE_TRY { _tao_vfr.receive_request (&ri ACE_ENV_ARG_PARAMETER); ACE_TRY_CHECK; #endif /* TAO_HAS_INTERCEPTORS */ _tao_retval = _tao_impl->type ( ACE_ENV_SINGLE_ARG_PARAMETER ); TAO_INTERCEPTOR_CHECK; #if (TAO_HAS_INTERCEPTORS == 1) CORBA::TypeCode_ptr _tao_retval_info = _tao_retval._retn (); ri.result (_tao_retval_info); _tao_retval = _tao_retval_info; ri.reply_status (PortableInterceptor::SUCCESSFUL); _tao_vfr.send_reply (&ri ACE_ENV_ARG_PARAMETER); ACE_TRY_CHECK; } ACE_CATCHANY { ri.exception (&ACE_ANY_EXCEPTION); _tao_vfr.send_exception ( &ri ACE_ENV_ARG_PARAMETER ); ACE_TRY_CHECK; PortableInterceptor::ReplyStatus _tao_status = ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER); ACE_TRY_CHECK; if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION || _tao_status == PortableInterceptor::USER_EXCEPTION) ACE_RE_THROW; } ACE_ENDTRY; ACE_CHECK; #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()); // In case _tao_servant_upcall is not used in this function ACE_UNUSED_ARG (_tao_servant_upcall); } void POA_CORBA_ValueMemberDef::_get_type_def_skel ( TAO_ServerRequest &_tao_server_request, void *_tao_object_reference, void *_tao_servant_upcall ACE_ENV_ARG_DECL ) { POA_CORBA_ValueMemberDef *_tao_impl = ACE_static_cast (POA_CORBA_ValueMemberDef *, _tao_object_reference); CORBA_IDLType_var _tao_retval; #if (TAO_HAS_INTERCEPTORS == 1) TAO_Object_Adapter::Servant_Upcall *_tao_upcall = ACE_static_cast (TAO_Object_Adapter::Servant_Upcall *, _tao_servant_upcall); TAO_ServerRequestInterceptor_Adapter _tao_vfr ( _tao_server_request.orb_core ()->server_request_interceptors (), _tao_server_request.interceptor_count () ); TAO_ServerRequestInfo_CORBA_ValueMemberDef_type_def_get ri ( _tao_server_request, _tao_upcall, _tao_impl ACE_ENV_ARG_PARAMETER ); ACE_TRY { _tao_vfr.receive_request (&ri ACE_ENV_ARG_PARAMETER); ACE_TRY_CHECK; #endif /* TAO_HAS_INTERCEPTORS */ _tao_retval = _tao_impl->type_def ( ACE_ENV_SINGLE_ARG_PARAMETER ); TAO_INTERCEPTOR_CHECK; #if (TAO_HAS_INTERCEPTORS == 1) CORBA_IDLType_ptr _tao_retval_info = _tao_retval._retn (); ri.result (_tao_retval_info); _tao_retval = _tao_retval_info; ri.reply_status (PortableInterceptor::SUCCESSFUL); _tao_vfr.send_reply (&ri ACE_ENV_ARG_PARAMETER); ACE_TRY_CHECK; } ACE_CATCHANY { ri.exception (&ACE_ANY_EXCEPTION); _tao_vfr.send_exception ( &ri ACE_ENV_ARG_PARAMETER ); ACE_TRY_CHECK; PortableInterceptor::ReplyStatus _tao_status = ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER); ACE_TRY_CHECK; if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION || _tao_status == PortableInterceptor::USER_EXCEPTION) ACE_RE_THROW; } ACE_ENDTRY; ACE_CHECK; #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()); // In case _tao_servant_upcall is not used in this function ACE_UNUSED_ARG (_tao_servant_upcall); } void POA_CORBA_ValueMemberDef::_set_type_def_skel ( TAO_ServerRequest &_tao_server_request, void *_tao_object_reference, void *_tao_servant_upcall ACE_ENV_ARG_DECL ) { TAO_InputCDR &_tao_in = _tao_server_request.incoming (); POA_CORBA_ValueMemberDef *_tao_impl = ACE_static_cast (POA_CORBA_ValueMemberDef *, _tao_object_reference); _tao_server_request.argument_flag (0); CORBA_IDLType_var type_def; if (!( (_tao_in >> type_def.out ()) )) ACE_THROW (CORBA::MARSHAL()); #if (TAO_HAS_INTERCEPTORS == 1) TAO_Object_Adapter::Servant_Upcall *_tao_upcall = ACE_static_cast (TAO_Object_Adapter::Servant_Upcall *, _tao_servant_upcall); TAO_ServerRequestInterceptor_Adapter _tao_vfr ( _tao_server_request.orb_core ()->server_request_interceptors (), _tao_server_request.interceptor_count () ); TAO_ServerRequestInfo_CORBA_ValueMemberDef_type_def_set ri ( _tao_server_request, _tao_upcall, _tao_impl, type_def.in () ACE_ENV_ARG_PARAMETER ); ACE_TRY { _tao_vfr.receive_request (&ri ACE_ENV_ARG_PARAMETER); ACE_TRY_CHECK; #endif /* TAO_HAS_INTERCEPTORS */ _tao_impl->type_def ( type_def.in () ACE_ENV_ARG_PARAMETER ); TAO_INTERCEPTOR_CHECK; #if (TAO_HAS_INTERCEPTORS == 1) ri.reply_status (PortableInterceptor::SUCCESSFUL); _tao_vfr.send_reply (&ri ACE_ENV_ARG_PARAMETER); ACE_TRY_CHECK; } ACE_CATCHANY { ri.exception (&ACE_ANY_EXCEPTION); _tao_vfr.send_exception ( &ri ACE_ENV_ARG_PARAMETER ); ACE_TRY_CHECK; PortableInterceptor::ReplyStatus _tao_status = ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER); ACE_TRY_CHECK; if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION || _tao_status == PortableInterceptor::USER_EXCEPTION) ACE_RE_THROW; } ACE_ENDTRY; ACE_CHECK; #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); } void POA_CORBA_ValueMemberDef::_get_access_skel ( TAO_ServerRequest &_tao_server_request, void *_tao_object_reference, void *_tao_servant_upcall ACE_ENV_ARG_DECL ) { POA_CORBA_ValueMemberDef *_tao_impl = ACE_static_cast (POA_CORBA_ValueMemberDef *, _tao_object_reference); CORBA::Visibility _tao_retval = 0; #if (TAO_HAS_INTERCEPTORS == 1) TAO_Object_Adapter::Servant_Upcall *_tao_upcall = ACE_static_cast (TAO_Object_Adapter::Servant_Upcall *, _tao_servant_upcall); TAO_ServerRequestInterceptor_Adapter _tao_vfr ( _tao_server_request.orb_core ()->server_request_interceptors (), _tao_server_request.interceptor_count () ); TAO_ServerRequestInfo_CORBA_ValueMemberDef_access_get ri ( _tao_server_request, _tao_upcall, _tao_impl ACE_ENV_ARG_PARAMETER ); ACE_TRY { _tao_vfr.receive_request (&ri ACE_ENV_ARG_PARAMETER); ACE_TRY_CHECK; #endif /* TAO_HAS_INTERCEPTORS */ _tao_retval = _tao_impl->access ( ACE_ENV_SINGLE_ARG_PARAMETER ); TAO_INTERCEPTOR_CHECK; #if (TAO_HAS_INTERCEPTORS == 1) CORBA::Visibility _tao_retval_info = _tao_retval; ri.result (_tao_retval_info); ri.reply_status (PortableInterceptor::SUCCESSFUL); _tao_vfr.send_reply (&ri ACE_ENV_ARG_PARAMETER); ACE_TRY_CHECK; } ACE_CATCHANY { ri.exception (&ACE_ANY_EXCEPTION); _tao_vfr.send_exception ( &ri ACE_ENV_ARG_PARAMETER ); ACE_TRY_CHECK; PortableInterceptor::ReplyStatus _tao_status = ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER); ACE_TRY_CHECK; if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION || _tao_status == PortableInterceptor::USER_EXCEPTION) ACE_RE_THROW; } ACE_ENDTRY; ACE_CHECK; #endif /* TAO_HAS_INTERCEPTORS */ _tao_server_request.init_reply (); TAO_OutputCDR &_tao_out = _tao_server_request.outgoing (); if (!( (_tao_out << _tao_retval) )) ACE_THROW (CORBA::MARSHAL()); // In case _tao_servant_upcall is not used in this function ACE_UNUSED_ARG (_tao_servant_upcall); } void POA_CORBA_ValueMemberDef::_set_access_skel ( TAO_ServerRequest &_tao_server_request, void *_tao_object_reference, void *_tao_servant_upcall ACE_ENV_ARG_DECL ) { TAO_InputCDR &_tao_in = _tao_server_request.incoming (); POA_CORBA_ValueMemberDef *_tao_impl = ACE_static_cast (POA_CORBA_ValueMemberDef *, _tao_object_reference); _tao_server_request.argument_flag (0); CORBA::Visibility access; if (!( (_tao_in >> access) )) ACE_THROW (CORBA::MARSHAL()); #if (TAO_HAS_INTERCEPTORS == 1) TAO_Object_Adapter::Servant_Upcall *_tao_upcall = ACE_static_cast (TAO_Object_Adapter::Servant_Upcall *, _tao_servant_upcall); TAO_ServerRequestInterceptor_Adapter _tao_vfr ( _tao_server_request.orb_core ()->server_request_interceptors (), _tao_server_request.interceptor_count () ); TAO_ServerRequestInfo_CORBA_ValueMemberDef_access_set ri ( _tao_server_request, _tao_upcall, _tao_impl, access ACE_ENV_ARG_PARAMETER ); ACE_TRY { _tao_vfr.receive_request (&ri ACE_ENV_ARG_PARAMETER); ACE_TRY_CHECK; #endif /* TAO_HAS_INTERCEPTORS */ _tao_impl->access ( access ACE_ENV_ARG_PARAMETER ); TAO_INTERCEPTOR_CHECK; #if (TAO_HAS_INTERCEPTORS == 1) ri.reply_status (PortableInterceptor::SUCCESSFUL); _tao_vfr.send_reply (&ri ACE_ENV_ARG_PARAMETER); ACE_TRY_CHECK; } ACE_CATCHANY { ri.exception (&ACE_ANY_EXCEPTION); _tao_vfr.send_exception ( &ri ACE_ENV_ARG_PARAMETER ); ACE_TRY_CHECK; PortableInterceptor::ReplyStatus _tao_status = ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER); ACE_TRY_CHECK; if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION || _tao_status == PortableInterceptor::USER_EXCEPTION) ACE_RE_THROW; } ACE_ENDTRY; ACE_CHECK; #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); } void POA_CORBA_ValueMemberDef::_is_a_skel ( TAO_ServerRequest &_tao_server_request, void * _tao_object_reference, void * /* Servant_Upcall */ ACE_ENV_ARG_DECL ) { TAO_InputCDR &_tao_in = _tao_server_request.incoming (); POA_CORBA_ValueMemberDef *_tao_impl = (POA_CORBA_ValueMemberDef *) _tao_object_reference; CORBA::Boolean _tao_retval = 0; CORBA::String_var value; if (!(_tao_in >> value.out ())) ACE_THROW (CORBA::MARSHAL ()); _tao_retval = _tao_impl->_is_a (value.in () ACE_ENV_ARG_PARAMETER); ACE_CHECK; _tao_server_request.init_reply (); TAO_OutputCDR &_tao_out = _tao_server_request.outgoing (); if (!(_tao_out << CORBA::Any::from_boolean (_tao_retval))) ACE_THROW (CORBA::MARSHAL ()); } void POA_CORBA_ValueMemberDef::_non_existent_skel ( TAO_ServerRequest &_tao_server_request, void * _tao_object_reference, void * /* Servant_Upcall */ ACE_ENV_ARG_DECL ) { POA_CORBA_ValueMemberDef *_tao_impl = (POA_CORBA_ValueMemberDef *) _tao_object_reference; CORBA::Boolean _tao_retval = _tao_impl->_non_existent (ACE_ENV_SINGLE_ARG_PARAMETER); ACE_CHECK; _tao_server_request.init_reply (); TAO_OutputCDR &_tao_out = _tao_server_request.outgoing (); if (!(_tao_out << CORBA::Any::from_boolean (_tao_retval))) ACE_THROW (CORBA::MARSHAL ()); } void POA_CORBA_ValueMemberDef::_interface_skel ( TAO_ServerRequest &_tao_server_request, void * _tao_object_reference, void * /* Servant_Upcall */ ACE_ENV_ARG_DECL ) { POA_CORBA_ValueMemberDef *_tao_impl = (POA_CORBA_ValueMemberDef *) _tao_object_reference; CORBA_InterfaceDef_ptr _tao_retval = 0; CORBA::Boolean _tao_result = 0; TAO_IFR_Client_Adapter *_tao_adapter = ACE_Dynamic_Service::instance ( TAO_ORB_Core::ifr_client_adapter_name () ); if (_tao_adapter == 0) { ACE_THROW (CORBA::INTF_REPOS ()); } ACE_TRY { _tao_retval = _tao_impl->_get_interface (ACE_ENV_SINGLE_ARG_PARAMETER); ACE_TRY_CHECK; _tao_server_request.init_reply (); TAO_OutputCDR &_tao_out = _tao_server_request.outgoing (); _tao_result = _tao_adapter->interfacedef_cdr_insert ( _tao_out, _tao_retval ); } ACE_CATCHALL { _tao_adapter->dispose (_tao_retval); } ACE_ENDTRY; if (_tao_result == 0) { ACE_THROW (CORBA::MARSHAL ()); } } CORBA::Boolean POA_CORBA_ValueMemberDef::_is_a ( const char* value ACE_ENV_ARG_DECL ) { const char *base_id = CORBA::_tc_Object->id (ACE_ENV_SINGLE_ARG_PARAMETER); ACE_CHECK_RETURN (0); if ( (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/ValueMemberDef:1.0")) || (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/Contained:1.0")) || (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/IRObject:1.0")) || (!ACE_OS::strcmp ((char *)value, base_id))) return 1; else return 0; } void* POA_CORBA_ValueMemberDef::_downcast ( const char* logical_type_id ) { if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/ValueMemberDef:1.0") == 0) return ACE_static_cast (POA_CORBA_ValueMemberDef_ptr, this); if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/Contained:1.0") == 0) return ACE_static_cast (POA_CORBA_Contained_ptr, this); if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/IRObject:1.0") == 0) return ACE_static_cast (POA_CORBA_IRObject_ptr, this); if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/Object:1.0") == 0) return ACE_static_cast(PortableServer::Servant, this); return 0; } void POA_CORBA_ValueMemberDef::_dispatch (TAO_ServerRequest &req, void *servant_upcall ACE_ENV_ARG_DECL) { this->synchronous_upcall_dispatch (req, servant_upcall, this ACE_ENV_ARG_PARAMETER); } const char* POA_CORBA_ValueMemberDef::_interface_repository_id (void) const { return "IDL:omg.org/CORBA/ValueMemberDef:1.0"; } CORBA_ValueMemberDef* POA_CORBA_ValueMemberDef::_this (ACE_ENV_SINGLE_ARG_DECL) { TAO_Stub *stub = this->_create_stub (ACE_ENV_SINGLE_ARG_PARAMETER); ACE_CHECK_RETURN (0); TAO_Stub_Auto_Ptr safe_stub (stub); CORBA::Object_ptr tmp = CORBA::Object::_nil (); if (stub->servant_orb_var ()->orb_core ()->optimize_collocation_objects ()) ACE_NEW_RETURN (tmp, CORBA::Object (stub, 1, this), 0); else ACE_NEW_RETURN (tmp, CORBA::Object (stub, 0, this), 0); CORBA::Object_var obj = tmp; (void) safe_stub.release (); return ::CORBA_ValueMemberDef::_unchecked_narrow (obj.in ()); } class TAO_CORBA_ValueDef_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); }; /* starting time is 23:00:05 */ /* C++ code produced by gperf version 2.8 (ACE version) */ /* Command-line: gperf -m -M -J -c -C -D -E -T -f 0 -F 0 -a -o -t -p -K opname_ -L C++ -Z TAO_CORBA_ValueDef_Perfect_Hash_OpTable -N lookup */ unsigned int TAO_CORBA_ValueDef_Perfect_Hash_OpTable::hash (const char *str, unsigned int len) { static const unsigned char asso_values[] = { #if defined (ACE_MVS) 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 0, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 0, 86, 55, 30, 0, 86, 86, 86, 20, 86, 86, 86, 86, 86, 86, 86, 86, 86, 0, 0, 5, 86, 0, 86, 0, 86, 86, 86, 86, 86, 86, 86, 86, 15, 15, 86, 86, 86, 10, 10, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, #else 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 0, 86, 0, 86, 55, 30, 0, 86, 86, 86, 20, 86, 86, 0, 0, 5, 86, 0, 86, 0, 15, 15, 86, 86, 86, 10, 10, 86, 86, 86, 86, 86, 86, #endif /* ACE_MVS */ }; return len + asso_values[str[len - 1]] + asso_values[str[0]]; } const class TAO_operation_db_entry * TAO_CORBA_ValueDef_Perfect_Hash_OpTable::lookup (const char *str, unsigned int len) { enum { TOTAL_KEYWORDS = 53, MIN_WORD_LENGTH = 4, MAX_WORD_LENGTH = 26, MIN_HASH_VALUE = 4, MAX_HASH_VALUE = 85, HASH_VALUE_RANGE = 82, DUPLICATES = 16, WORDLIST_SIZE = 57 }; static const class TAO_operation_db_entry wordlist[] = { {"",0},{"",0},{"",0},{"",0}, {"move", &POA_CORBA_ValueDef::move_skel}, {"_is_a", &POA_CORBA_ValueDef::_is_a_skel}, {"lookup", &POA_CORBA_ValueDef::lookup_skel}, {"_get_name", &POA_CORBA_ValueDef::_get_name_skel}, {"_get_type", &POA_CORBA_ValueDef::_get_type_skel}, {"_set_name", &POA_CORBA_ValueDef::_set_name_skel}, {"_interface", &POA_CORBA_ValueDef::_interface_skel}, {"lookup_name", &POA_CORBA_ValueDef::lookup_name_skel}, {"_get_is_custom", &POA_CORBA_ValueDef::_get_is_custom_skel}, {"_set_is_custom", &POA_CORBA_ValueDef::_set_is_custom_skel}, {"_get_base_value", &POA_CORBA_ValueDef::_get_base_value_skel}, {"_set_base_value", &POA_CORBA_ValueDef::_set_base_value_skel}, {"_get_version", &POA_CORBA_ValueDef::_get_version_skel}, {"_set_version", &POA_CORBA_ValueDef::_set_version_skel}, {"_get_absolute_name", &POA_CORBA_ValueDef::_get_absolute_name_skel}, {"_get_is_truncatable", &POA_CORBA_ValueDef::_get_is_truncatable_skel}, {"_set_is_truncatable", &POA_CORBA_ValueDef::_set_is_truncatable_skel}, {"_get_defined_in", &POA_CORBA_ValueDef::_get_defined_in_skel}, {"is_a", &POA_CORBA_ValueDef::is_a_skel}, {"_non_existent", &POA_CORBA_ValueDef::_non_existent_skel}, {"_get_is_abstract", &POA_CORBA_ValueDef::_get_is_abstract_skel}, {"_set_is_abstract", &POA_CORBA_ValueDef::_set_is_abstract_skel}, {"_get_initializers", &POA_CORBA_ValueDef::_get_initializers_skel}, {"_set_initializers", &POA_CORBA_ValueDef::_set_initializers_skel}, {"_get_containing_repository", &POA_CORBA_ValueDef::_get_containing_repository_skel}, {"_get_id", &POA_CORBA_ValueDef::_get_id_skel}, {"_set_id", &POA_CORBA_ValueDef::_set_id_skel}, {"describe", &POA_CORBA_ValueDef::describe_skel}, {"_get_supported_interfaces", &POA_CORBA_ValueDef::_get_supported_interfaces_skel}, {"_set_abstract_base_values", &POA_CORBA_ValueDef::_set_abstract_base_values_skel}, {"_get_abstract_base_values", &POA_CORBA_ValueDef::_get_abstract_base_values_skel}, {"_set_supported_interfaces", &POA_CORBA_ValueDef::_set_supported_interfaces_skel}, {"_get_def_kind", &POA_CORBA_ValueDef::_get_def_kind_skel}, {"describe_value", &POA_CORBA_ValueDef::describe_value_skel}, {"destroy", &POA_CORBA_ValueDef::destroy_skel}, {"describe_contents", &POA_CORBA_ValueDef::describe_contents_skel}, {"create_enum", &POA_CORBA_ValueDef::create_enum_skel}, {"create_value", &POA_CORBA_ValueDef::create_value_skel}, {"create_module", &POA_CORBA_ValueDef::create_module_skel}, {"create_native", &POA_CORBA_ValueDef::create_native_skel}, {"create_attribute", &POA_CORBA_ValueDef::create_attribute_skel}, {"create_interface", &POA_CORBA_ValueDef::create_interface_skel}, {"create_union", &POA_CORBA_ValueDef::create_union_skel}, {"create_value_member", &POA_CORBA_ValueDef::create_value_member_skel}, {"create_operation", &POA_CORBA_ValueDef::create_operation_skel}, {"create_exception", &POA_CORBA_ValueDef::create_exception_skel}, {"create_local_interface", &POA_CORBA_ValueDef::create_local_interface_skel}, {"contents", &POA_CORBA_ValueDef::contents_skel}, {"create_abstract_interface", &POA_CORBA_ValueDef::create_abstract_interface_skel}, {"create_value_box", &POA_CORBA_ValueDef::create_value_box_skel}, {"create_alias", &POA_CORBA_ValueDef::create_alias_skel}, {"create_struct", &POA_CORBA_ValueDef::create_struct_skel}, {"create_constant", &POA_CORBA_ValueDef::create_constant_skel}, }; static const signed char lookup[] = { -12, -2, -14, -2, 4, 5, 6, -16, -2, 117, 10, 11, -19, -2, -99, -98, -1, -95, 18, -92, 21, -1, -24, -2, 22, -1, -26, -2, 23, -29, -2, -94, -91, -1, -32, -4, 28, -93, 31, -1, -91, -7, -3, 36, 37, -1, -1, 38, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -42, -2, 39, -1, -44, -2, 40, 41, -93, -48, -2, -92, 46, -1, 47, -1, -92, 50, 51, -1, 52, 53, 54, 55, -1, 56, }; if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH) { unsigned int key = hash (str, len); if (key <= MAX_HASH_VALUE && key >= MIN_HASH_VALUE) { int slot = lookup[key]; if (slot >= 0 && slot < WORDLIST_SIZE) { const char *s = wordlist[slot].opname_; if (*str == *s && !strncmp (str + 1, s + 1, len - 1)) return &wordlist[slot]; } else if (slot < 0 && slot >= -MAX_HASH_VALUE) return 0; else { unsigned int offset = key + slot + (slot > 0 ? -MAX_HASH_VALUE : MAX_HASH_VALUE); const class TAO_operation_db_entry *base = &wordlist[-lookup[offset]]; const class TAO_operation_db_entry *ptr = base + -lookup[offset + 1]; while (--ptr >= base) if (*str == *ptr->opname_ && !strncmp (str + 1, ptr->opname_ + 1, len - 1)) return ptr; } } } return 0; } /* ending time is 23:00:05 */ static TAO_CORBA_ValueDef_Perfect_Hash_OpTable tao_CORBA_ValueDef_optable; #if (TAO_HAS_INTERCEPTORS == 1) class TAO_ServerRequestInfo_CORBA_ValueDef_supported_interfaces_get : public TAO_ServerRequestInfo { public: TAO_ServerRequestInfo_CORBA_ValueDef_supported_interfaces_get ( TAO_ServerRequest &_tao_server_request, TAO_Object_Adapter::Servant_Upcall *tao_servant_upcall,POA_CORBA_ValueDef *tao_impl ACE_ENV_ARG_DECL_WITH_DEFAULTS); virtual Dynamic::ParameterList * arguments ( ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) ACE_THROW_SPEC ((CORBA::SystemException)); virtual Dynamic::ExceptionList * exceptions ( ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) ACE_THROW_SPEC ((CORBA::SystemException)); virtual CORBA::Any * result ( ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) ACE_THROW_SPEC ((CORBA::SystemException)); virtual char * target_most_derived_interface ( ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) ACE_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_InterfaceDefSeq * result); private: TAO_ServerRequestInfo_CORBA_ValueDef_supported_interfaces_get (const TAO_ServerRequestInfo_CORBA_ValueDef_supported_interfaces_get &); void operator= (const TAO_ServerRequestInfo_CORBA_ValueDef_supported_interfaces_get &); private: POA_CORBA_ValueDef *_tao_impl; CORBA_InterfaceDefSeq * _result; }; TAO_ServerRequestInfo_CORBA_ValueDef_supported_interfaces_get::TAO_ServerRequestInfo_CORBA_ValueDef_supported_interfaces_get ( TAO_ServerRequest &_tao_server_request, TAO_Object_Adapter::Servant_Upcall *_tao_servant_upcall, POA_CORBA_ValueDef *tao_impl ACE_ENV_ARG_DECL_NOT_USED ) : TAO_ServerRequestInfo (_tao_server_request, _tao_servant_upcall), _tao_impl (tao_impl) {} Dynamic::ParameterList * TAO_ServerRequestInfo_CORBA_ValueDef_supported_interfaces_get::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_CORBA_ValueDef_supported_interfaces_get::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_CORBA_ValueDef_supported_interfaces_get::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) <<= this->_result; return safe_result_any._retn (); } char * TAO_ServerRequestInfo_CORBA_ValueDef_supported_interfaces_get::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_CORBA_ValueDef_supported_interfaces_get::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_CORBA_ValueDef_supported_interfaces_get::result (CORBA_InterfaceDefSeq * result) { // Update the result. this->_result = result; } class TAO_ServerRequestInfo_CORBA_ValueDef_supported_interfaces_set : public TAO_ServerRequestInfo { public: TAO_ServerRequestInfo_CORBA_ValueDef_supported_interfaces_set ( TAO_ServerRequest &_tao_server_request, TAO_Object_Adapter::Servant_Upcall *tao_servant_upcall,POA_CORBA_ValueDef *tao_impl , const CORBA_InterfaceDefSeq & supported_interfaces 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_CORBA_ValueDef_supported_interfaces_set (const TAO_ServerRequestInfo_CORBA_ValueDef_supported_interfaces_set &); void operator= (const TAO_ServerRequestInfo_CORBA_ValueDef_supported_interfaces_set &); private: POA_CORBA_ValueDef *_tao_impl; const CORBA_InterfaceDefSeq & supported_interfaces_; }; TAO_ServerRequestInfo_CORBA_ValueDef_supported_interfaces_set::TAO_ServerRequestInfo_CORBA_ValueDef_supported_interfaces_set ( TAO_ServerRequest &_tao_server_request, TAO_Object_Adapter::Servant_Upcall *_tao_servant_upcall, POA_CORBA_ValueDef *tao_impl, const CORBA_InterfaceDefSeq & supported_interfaces ACE_ENV_ARG_DECL_NOT_USED ) : TAO_ServerRequestInfo (_tao_server_request, _tao_servant_upcall), _tao_impl (tao_impl), supported_interfaces_ (supported_interfaces) {} Dynamic::ParameterList * TAO_ServerRequestInfo_CORBA_ValueDef_supported_interfaces_set::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 <<= this->supported_interfaces_; (*parameter_list)[len].mode = CORBA::PARAM_IN; len++; return safe_parameter_list._retn (); } Dynamic::ExceptionList * TAO_ServerRequestInfo_CORBA_ValueDef_supported_interfaces_set::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_CORBA_ValueDef_supported_interfaces_set::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_CORBA_ValueDef_supported_interfaces_set::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_CORBA_ValueDef_supported_interfaces_set::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); } class TAO_ServerRequestInfo_CORBA_ValueDef_initializers_get : public TAO_ServerRequestInfo { public: TAO_ServerRequestInfo_CORBA_ValueDef_initializers_get ( TAO_ServerRequest &_tao_server_request, TAO_Object_Adapter::Servant_Upcall *tao_servant_upcall,POA_CORBA_ValueDef *tao_impl ACE_ENV_ARG_DECL_WITH_DEFAULTS); virtual Dynamic::ParameterList * arguments ( ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) ACE_THROW_SPEC ((CORBA::SystemException)); virtual Dynamic::ExceptionList * exceptions ( ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) ACE_THROW_SPEC ((CORBA::SystemException)); virtual CORBA::Any * result ( ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) ACE_THROW_SPEC ((CORBA::SystemException)); virtual char * target_most_derived_interface ( ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) ACE_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_InitializerSeq * result); private: TAO_ServerRequestInfo_CORBA_ValueDef_initializers_get (const TAO_ServerRequestInfo_CORBA_ValueDef_initializers_get &); void operator= (const TAO_ServerRequestInfo_CORBA_ValueDef_initializers_get &); private: POA_CORBA_ValueDef *_tao_impl; CORBA_InitializerSeq * _result; }; TAO_ServerRequestInfo_CORBA_ValueDef_initializers_get::TAO_ServerRequestInfo_CORBA_ValueDef_initializers_get ( TAO_ServerRequest &_tao_server_request, TAO_Object_Adapter::Servant_Upcall *_tao_servant_upcall, POA_CORBA_ValueDef *tao_impl ACE_ENV_ARG_DECL_NOT_USED ) : TAO_ServerRequestInfo (_tao_server_request, _tao_servant_upcall), _tao_impl (tao_impl) {} Dynamic::ParameterList * TAO_ServerRequestInfo_CORBA_ValueDef_initializers_get::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_CORBA_ValueDef_initializers_get::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_CORBA_ValueDef_initializers_get::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) <<= this->_result; return safe_result_any._retn (); } char * TAO_ServerRequestInfo_CORBA_ValueDef_initializers_get::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_CORBA_ValueDef_initializers_get::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_CORBA_ValueDef_initializers_get::result (CORBA_InitializerSeq * result) { // Update the result. this->_result = result; } class TAO_ServerRequestInfo_CORBA_ValueDef_initializers_set : public TAO_ServerRequestInfo { public: TAO_ServerRequestInfo_CORBA_ValueDef_initializers_set ( TAO_ServerRequest &_tao_server_request, TAO_Object_Adapter::Servant_Upcall *tao_servant_upcall,POA_CORBA_ValueDef *tao_impl , const CORBA_InitializerSeq & initializers 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_CORBA_ValueDef_initializers_set (const TAO_ServerRequestInfo_CORBA_ValueDef_initializers_set &); void operator= (const TAO_ServerRequestInfo_CORBA_ValueDef_initializers_set &); private: POA_CORBA_ValueDef *_tao_impl; const CORBA_InitializerSeq & initializers_; }; TAO_ServerRequestInfo_CORBA_ValueDef_initializers_set::TAO_ServerRequestInfo_CORBA_ValueDef_initializers_set ( TAO_ServerRequest &_tao_server_request, TAO_Object_Adapter::Servant_Upcall *_tao_servant_upcall, POA_CORBA_ValueDef *tao_impl, const CORBA_InitializerSeq & initializers ACE_ENV_ARG_DECL_NOT_USED ) : TAO_ServerRequestInfo (_tao_server_request, _tao_servant_upcall), _tao_impl (tao_impl), initializers_ (initializers) {} Dynamic::ParameterList * TAO_ServerRequestInfo_CORBA_ValueDef_initializers_set::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 <<= this->initializers_; (*parameter_list)[len].mode = CORBA::PARAM_IN; len++; return safe_parameter_list._retn (); } Dynamic::ExceptionList * TAO_ServerRequestInfo_CORBA_ValueDef_initializers_set::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_CORBA_ValueDef_initializers_set::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_CORBA_ValueDef_initializers_set::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_CORBA_ValueDef_initializers_set::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); } class TAO_ServerRequestInfo_CORBA_ValueDef_base_value_get : public TAO_ServerRequestInfo { public: TAO_ServerRequestInfo_CORBA_ValueDef_base_value_get ( TAO_ServerRequest &_tao_server_request, TAO_Object_Adapter::Servant_Upcall *tao_servant_upcall,POA_CORBA_ValueDef *tao_impl ACE_ENV_ARG_DECL_WITH_DEFAULTS); virtual Dynamic::ParameterList * arguments ( ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) ACE_THROW_SPEC ((CORBA::SystemException)); virtual Dynamic::ExceptionList * exceptions ( ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) ACE_THROW_SPEC ((CORBA::SystemException)); virtual CORBA::Any * result ( ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) ACE_THROW_SPEC ((CORBA::SystemException)); virtual char * target_most_derived_interface ( ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) ACE_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_ValueDef_ptr result); private: TAO_ServerRequestInfo_CORBA_ValueDef_base_value_get (const TAO_ServerRequestInfo_CORBA_ValueDef_base_value_get &); void operator= (const TAO_ServerRequestInfo_CORBA_ValueDef_base_value_get &); private: POA_CORBA_ValueDef *_tao_impl; CORBA_ValueDef_ptr _result; }; TAO_ServerRequestInfo_CORBA_ValueDef_base_value_get::TAO_ServerRequestInfo_CORBA_ValueDef_base_value_get ( TAO_ServerRequest &_tao_server_request, TAO_Object_Adapter::Servant_Upcall *_tao_servant_upcall, POA_CORBA_ValueDef *tao_impl ACE_ENV_ARG_DECL_NOT_USED ) : TAO_ServerRequestInfo (_tao_server_request, _tao_servant_upcall), _tao_impl (tao_impl) {} Dynamic::ParameterList * TAO_ServerRequestInfo_CORBA_ValueDef_base_value_get::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_CORBA_ValueDef_base_value_get::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_CORBA_ValueDef_base_value_get::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) <<= this->_result; return safe_result_any._retn (); } char * TAO_ServerRequestInfo_CORBA_ValueDef_base_value_get::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_CORBA_ValueDef_base_value_get::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_CORBA_ValueDef_base_value_get::result (CORBA_ValueDef_ptr result) { // Update the result. this->_result = result; } class TAO_ServerRequestInfo_CORBA_ValueDef_base_value_set : public TAO_ServerRequestInfo { public: TAO_ServerRequestInfo_CORBA_ValueDef_base_value_set ( TAO_ServerRequest &_tao_server_request, TAO_Object_Adapter::Servant_Upcall *tao_servant_upcall,POA_CORBA_ValueDef *tao_impl , CORBA_ValueDef_ptr base_value 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_CORBA_ValueDef_base_value_set (const TAO_ServerRequestInfo_CORBA_ValueDef_base_value_set &); void operator= (const TAO_ServerRequestInfo_CORBA_ValueDef_base_value_set &); private: POA_CORBA_ValueDef *_tao_impl; CORBA_ValueDef_ptr base_value_; }; TAO_ServerRequestInfo_CORBA_ValueDef_base_value_set::TAO_ServerRequestInfo_CORBA_ValueDef_base_value_set ( TAO_ServerRequest &_tao_server_request, TAO_Object_Adapter::Servant_Upcall *_tao_servant_upcall, POA_CORBA_ValueDef *tao_impl, CORBA_ValueDef_ptr base_value ACE_ENV_ARG_DECL_NOT_USED ) : TAO_ServerRequestInfo (_tao_server_request, _tao_servant_upcall), _tao_impl (tao_impl), base_value_ (base_value) {} Dynamic::ParameterList * TAO_ServerRequestInfo_CORBA_ValueDef_base_value_set::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 <<= this->base_value_; (*parameter_list)[len].mode = CORBA::PARAM_IN; len++; return safe_parameter_list._retn (); } Dynamic::ExceptionList * TAO_ServerRequestInfo_CORBA_ValueDef_base_value_set::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_CORBA_ValueDef_base_value_set::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_CORBA_ValueDef_base_value_set::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_CORBA_ValueDef_base_value_set::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); } class TAO_ServerRequestInfo_CORBA_ValueDef_abstract_base_values_get : public TAO_ServerRequestInfo { public: TAO_ServerRequestInfo_CORBA_ValueDef_abstract_base_values_get ( TAO_ServerRequest &_tao_server_request, TAO_Object_Adapter::Servant_Upcall *tao_servant_upcall,POA_CORBA_ValueDef *tao_impl ACE_ENV_ARG_DECL_WITH_DEFAULTS); virtual Dynamic::ParameterList * arguments ( ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) ACE_THROW_SPEC ((CORBA::SystemException)); virtual Dynamic::ExceptionList * exceptions ( ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) ACE_THROW_SPEC ((CORBA::SystemException)); virtual CORBA::Any * result ( ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) ACE_THROW_SPEC ((CORBA::SystemException)); virtual char * target_most_derived_interface ( ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) ACE_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_ValueDefSeq * result); private: TAO_ServerRequestInfo_CORBA_ValueDef_abstract_base_values_get (const TAO_ServerRequestInfo_CORBA_ValueDef_abstract_base_values_get &); void operator= (const TAO_ServerRequestInfo_CORBA_ValueDef_abstract_base_values_get &); private: POA_CORBA_ValueDef *_tao_impl; CORBA_ValueDefSeq * _result; }; TAO_ServerRequestInfo_CORBA_ValueDef_abstract_base_values_get::TAO_ServerRequestInfo_CORBA_ValueDef_abstract_base_values_get ( TAO_ServerRequest &_tao_server_request, TAO_Object_Adapter::Servant_Upcall *_tao_servant_upcall, POA_CORBA_ValueDef *tao_impl ACE_ENV_ARG_DECL_NOT_USED ) : TAO_ServerRequestInfo (_tao_server_request, _tao_servant_upcall), _tao_impl (tao_impl) {} Dynamic::ParameterList * TAO_ServerRequestInfo_CORBA_ValueDef_abstract_base_values_get::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_CORBA_ValueDef_abstract_base_values_get::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_CORBA_ValueDef_abstract_base_values_get::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) <<= this->_result; return safe_result_any._retn (); } char * TAO_ServerRequestInfo_CORBA_ValueDef_abstract_base_values_get::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_CORBA_ValueDef_abstract_base_values_get::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_CORBA_ValueDef_abstract_base_values_get::result (CORBA_ValueDefSeq * result) { // Update the result. this->_result = result; } class TAO_ServerRequestInfo_CORBA_ValueDef_abstract_base_values_set : public TAO_ServerRequestInfo { public: TAO_ServerRequestInfo_CORBA_ValueDef_abstract_base_values_set ( TAO_ServerRequest &_tao_server_request, TAO_Object_Adapter::Servant_Upcall *tao_servant_upcall,POA_CORBA_ValueDef *tao_impl , const CORBA_ValueDefSeq & abstract_base_values 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_CORBA_ValueDef_abstract_base_values_set (const TAO_ServerRequestInfo_CORBA_ValueDef_abstract_base_values_set &); void operator= (const TAO_ServerRequestInfo_CORBA_ValueDef_abstract_base_values_set &); private: POA_CORBA_ValueDef *_tao_impl; const CORBA_ValueDefSeq & abstract_base_values_; }; TAO_ServerRequestInfo_CORBA_ValueDef_abstract_base_values_set::TAO_ServerRequestInfo_CORBA_ValueDef_abstract_base_values_set ( TAO_ServerRequest &_tao_server_request, TAO_Object_Adapter::Servant_Upcall *_tao_servant_upcall, POA_CORBA_ValueDef *tao_impl, const CORBA_ValueDefSeq & abstract_base_values ACE_ENV_ARG_DECL_NOT_USED ) : TAO_ServerRequestInfo (_tao_server_request, _tao_servant_upcall), _tao_impl (tao_impl), abstract_base_values_ (abstract_base_values) {} Dynamic::ParameterList * TAO_ServerRequestInfo_CORBA_ValueDef_abstract_base_values_set::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 <<= this->abstract_base_values_; (*parameter_list)[len].mode = CORBA::PARAM_IN; len++; return safe_parameter_list._retn (); } Dynamic::ExceptionList * TAO_ServerRequestInfo_CORBA_ValueDef_abstract_base_values_set::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_CORBA_ValueDef_abstract_base_values_set::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_CORBA_ValueDef_abstract_base_values_set::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_CORBA_ValueDef_abstract_base_values_set::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); } class TAO_ServerRequestInfo_CORBA_ValueDef_is_abstract_get : public TAO_ServerRequestInfo { public: TAO_ServerRequestInfo_CORBA_ValueDef_is_abstract_get ( TAO_ServerRequest &_tao_server_request, TAO_Object_Adapter::Servant_Upcall *tao_servant_upcall,POA_CORBA_ValueDef *tao_impl ACE_ENV_ARG_DECL_WITH_DEFAULTS); virtual Dynamic::ParameterList * arguments ( ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) ACE_THROW_SPEC ((CORBA::SystemException)); virtual Dynamic::ExceptionList * exceptions ( ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) ACE_THROW_SPEC ((CORBA::SystemException)); virtual CORBA::Any * result ( ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) ACE_THROW_SPEC ((CORBA::SystemException)); virtual char * target_most_derived_interface ( ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) ACE_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_CORBA_ValueDef_is_abstract_get (const TAO_ServerRequestInfo_CORBA_ValueDef_is_abstract_get &); void operator= (const TAO_ServerRequestInfo_CORBA_ValueDef_is_abstract_get &); private: POA_CORBA_ValueDef *_tao_impl; CORBA::Boolean _result; }; TAO_ServerRequestInfo_CORBA_ValueDef_is_abstract_get::TAO_ServerRequestInfo_CORBA_ValueDef_is_abstract_get ( TAO_ServerRequest &_tao_server_request, TAO_Object_Adapter::Servant_Upcall *_tao_servant_upcall, POA_CORBA_ValueDef *tao_impl ACE_ENV_ARG_DECL_NOT_USED ) : TAO_ServerRequestInfo (_tao_server_request, _tao_servant_upcall), _tao_impl (tao_impl) {} Dynamic::ParameterList * TAO_ServerRequestInfo_CORBA_ValueDef_is_abstract_get::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_CORBA_ValueDef_is_abstract_get::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_CORBA_ValueDef_is_abstract_get::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_CORBA_ValueDef_is_abstract_get::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_CORBA_ValueDef_is_abstract_get::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_CORBA_ValueDef_is_abstract_get::result (CORBA::Boolean result) { // Update the result. this->_result = result; } class TAO_ServerRequestInfo_CORBA_ValueDef_is_abstract_set : public TAO_ServerRequestInfo { public: TAO_ServerRequestInfo_CORBA_ValueDef_is_abstract_set ( TAO_ServerRequest &_tao_server_request, TAO_Object_Adapter::Servant_Upcall *tao_servant_upcall,POA_CORBA_ValueDef *tao_impl , const CORBA::Boolean & is_abstract 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_CORBA_ValueDef_is_abstract_set (const TAO_ServerRequestInfo_CORBA_ValueDef_is_abstract_set &); void operator= (const TAO_ServerRequestInfo_CORBA_ValueDef_is_abstract_set &); private: POA_CORBA_ValueDef *_tao_impl; const CORBA::Boolean & is_abstract_; }; TAO_ServerRequestInfo_CORBA_ValueDef_is_abstract_set::TAO_ServerRequestInfo_CORBA_ValueDef_is_abstract_set ( TAO_ServerRequest &_tao_server_request, TAO_Object_Adapter::Servant_Upcall *_tao_servant_upcall, POA_CORBA_ValueDef *tao_impl, const CORBA::Boolean & is_abstract ACE_ENV_ARG_DECL_NOT_USED ) : TAO_ServerRequestInfo (_tao_server_request, _tao_servant_upcall), _tao_impl (tao_impl), is_abstract_ (is_abstract) {} Dynamic::ParameterList * TAO_ServerRequestInfo_CORBA_ValueDef_is_abstract_set::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 <<= CORBA::Any::from_boolean (this->is_abstract_); (*parameter_list)[len].mode = CORBA::PARAM_IN; len++; return safe_parameter_list._retn (); } Dynamic::ExceptionList * TAO_ServerRequestInfo_CORBA_ValueDef_is_abstract_set::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_CORBA_ValueDef_is_abstract_set::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_CORBA_ValueDef_is_abstract_set::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_CORBA_ValueDef_is_abstract_set::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); } class TAO_ServerRequestInfo_CORBA_ValueDef_is_custom_get : public TAO_ServerRequestInfo { public: TAO_ServerRequestInfo_CORBA_ValueDef_is_custom_get ( TAO_ServerRequest &_tao_server_request, TAO_Object_Adapter::Servant_Upcall *tao_servant_upcall,POA_CORBA_ValueDef *tao_impl ACE_ENV_ARG_DECL_WITH_DEFAULTS); virtual Dynamic::ParameterList * arguments ( ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) ACE_THROW_SPEC ((CORBA::SystemException)); virtual Dynamic::ExceptionList * exceptions ( ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) ACE_THROW_SPEC ((CORBA::SystemException)); virtual CORBA::Any * result ( ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) ACE_THROW_SPEC ((CORBA::SystemException)); virtual char * target_most_derived_interface ( ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) ACE_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_CORBA_ValueDef_is_custom_get (const TAO_ServerRequestInfo_CORBA_ValueDef_is_custom_get &); void operator= (const TAO_ServerRequestInfo_CORBA_ValueDef_is_custom_get &); private: POA_CORBA_ValueDef *_tao_impl; CORBA::Boolean _result; }; TAO_ServerRequestInfo_CORBA_ValueDef_is_custom_get::TAO_ServerRequestInfo_CORBA_ValueDef_is_custom_get ( TAO_ServerRequest &_tao_server_request, TAO_Object_Adapter::Servant_Upcall *_tao_servant_upcall, POA_CORBA_ValueDef *tao_impl ACE_ENV_ARG_DECL_NOT_USED ) : TAO_ServerRequestInfo (_tao_server_request, _tao_servant_upcall), _tao_impl (tao_impl) {} Dynamic::ParameterList * TAO_ServerRequestInfo_CORBA_ValueDef_is_custom_get::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_CORBA_ValueDef_is_custom_get::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_CORBA_ValueDef_is_custom_get::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_CORBA_ValueDef_is_custom_get::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_CORBA_ValueDef_is_custom_get::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_CORBA_ValueDef_is_custom_get::result (CORBA::Boolean result) { // Update the result. this->_result = result; } class TAO_ServerRequestInfo_CORBA_ValueDef_is_custom_set : public TAO_ServerRequestInfo { public: TAO_ServerRequestInfo_CORBA_ValueDef_is_custom_set ( TAO_ServerRequest &_tao_server_request, TAO_Object_Adapter::Servant_Upcall *tao_servant_upcall,POA_CORBA_ValueDef *tao_impl , const CORBA::Boolean & is_custom 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_CORBA_ValueDef_is_custom_set (const TAO_ServerRequestInfo_CORBA_ValueDef_is_custom_set &); void operator= (const TAO_ServerRequestInfo_CORBA_ValueDef_is_custom_set &); private: POA_CORBA_ValueDef *_tao_impl; const CORBA::Boolean & is_custom_; }; TAO_ServerRequestInfo_CORBA_ValueDef_is_custom_set::TAO_ServerRequestInfo_CORBA_ValueDef_is_custom_set ( TAO_ServerRequest &_tao_server_request, TAO_Object_Adapter::Servant_Upcall *_tao_servant_upcall, POA_CORBA_ValueDef *tao_impl, const CORBA::Boolean & is_custom ACE_ENV_ARG_DECL_NOT_USED ) : TAO_ServerRequestInfo (_tao_server_request, _tao_servant_upcall), _tao_impl (tao_impl), is_custom_ (is_custom) {} Dynamic::ParameterList * TAO_ServerRequestInfo_CORBA_ValueDef_is_custom_set::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 <<= CORBA::Any::from_boolean (this->is_custom_); (*parameter_list)[len].mode = CORBA::PARAM_IN; len++; return safe_parameter_list._retn (); } Dynamic::ExceptionList * TAO_ServerRequestInfo_CORBA_ValueDef_is_custom_set::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_CORBA_ValueDef_is_custom_set::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_CORBA_ValueDef_is_custom_set::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_CORBA_ValueDef_is_custom_set::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); } class TAO_ServerRequestInfo_CORBA_ValueDef_is_truncatable_get : public TAO_ServerRequestInfo { public: TAO_ServerRequestInfo_CORBA_ValueDef_is_truncatable_get ( TAO_ServerRequest &_tao_server_request, TAO_Object_Adapter::Servant_Upcall *tao_servant_upcall,POA_CORBA_ValueDef *tao_impl ACE_ENV_ARG_DECL_WITH_DEFAULTS); virtual Dynamic::ParameterList * arguments ( ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) ACE_THROW_SPEC ((CORBA::SystemException)); virtual Dynamic::ExceptionList * exceptions ( ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) ACE_THROW_SPEC ((CORBA::SystemException)); virtual CORBA::Any * result ( ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) ACE_THROW_SPEC ((CORBA::SystemException)); virtual char * target_most_derived_interface ( ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) ACE_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_CORBA_ValueDef_is_truncatable_get (const TAO_ServerRequestInfo_CORBA_ValueDef_is_truncatable_get &); void operator= (const TAO_ServerRequestInfo_CORBA_ValueDef_is_truncatable_get &); private: POA_CORBA_ValueDef *_tao_impl; CORBA::Boolean _result; }; TAO_ServerRequestInfo_CORBA_ValueDef_is_truncatable_get::TAO_ServerRequestInfo_CORBA_ValueDef_is_truncatable_get ( TAO_ServerRequest &_tao_server_request, TAO_Object_Adapter::Servant_Upcall *_tao_servant_upcall, POA_CORBA_ValueDef *tao_impl ACE_ENV_ARG_DECL_NOT_USED ) : TAO_ServerRequestInfo (_tao_server_request, _tao_servant_upcall), _tao_impl (tao_impl) {} Dynamic::ParameterList * TAO_ServerRequestInfo_CORBA_ValueDef_is_truncatable_get::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_CORBA_ValueDef_is_truncatable_get::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_CORBA_ValueDef_is_truncatable_get::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_CORBA_ValueDef_is_truncatable_get::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_CORBA_ValueDef_is_truncatable_get::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_CORBA_ValueDef_is_truncatable_get::result (CORBA::Boolean result) { // Update the result. this->_result = result; } class TAO_ServerRequestInfo_CORBA_ValueDef_is_truncatable_set : public TAO_ServerRequestInfo { public: TAO_ServerRequestInfo_CORBA_ValueDef_is_truncatable_set ( TAO_ServerRequest &_tao_server_request, TAO_Object_Adapter::Servant_Upcall *tao_servant_upcall,POA_CORBA_ValueDef *tao_impl , const CORBA::Boolean & is_truncatable 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_CORBA_ValueDef_is_truncatable_set (const TAO_ServerRequestInfo_CORBA_ValueDef_is_truncatable_set &); void operator= (const TAO_ServerRequestInfo_CORBA_ValueDef_is_truncatable_set &); private: POA_CORBA_ValueDef *_tao_impl; const CORBA::Boolean & is_truncatable_; }; TAO_ServerRequestInfo_CORBA_ValueDef_is_truncatable_set::TAO_ServerRequestInfo_CORBA_ValueDef_is_truncatable_set ( TAO_ServerRequest &_tao_server_request, TAO_Object_Adapter::Servant_Upcall *_tao_servant_upcall, POA_CORBA_ValueDef *tao_impl, const CORBA::Boolean & is_truncatable ACE_ENV_ARG_DECL_NOT_USED ) : TAO_ServerRequestInfo (_tao_server_request, _tao_servant_upcall), _tao_impl (tao_impl), is_truncatable_ (is_truncatable) {} Dynamic::ParameterList * TAO_ServerRequestInfo_CORBA_ValueDef_is_truncatable_set::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 <<= CORBA::Any::from_boolean (this->is_truncatable_); (*parameter_list)[len].mode = CORBA::PARAM_IN; len++; return safe_parameter_list._retn (); } Dynamic::ExceptionList * TAO_ServerRequestInfo_CORBA_ValueDef_is_truncatable_set::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_CORBA_ValueDef_is_truncatable_set::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_CORBA_ValueDef_is_truncatable_set::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_CORBA_ValueDef_is_truncatable_set::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); } class TAO_ServerRequestInfo_CORBA_ValueDef_is_a : public TAO_ServerRequestInfo { public: TAO_ServerRequestInfo_CORBA_ValueDef_is_a ( TAO_ServerRequest &_tao_server_request, TAO_Object_Adapter::Servant_Upcall *tao_servant_upcall,POA_CORBA_ValueDef *tao_impl , const char * id 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)); void result (CORBA::Boolean result); private: TAO_ServerRequestInfo_CORBA_ValueDef_is_a (const TAO_ServerRequestInfo_CORBA_ValueDef_is_a &); void operator= (const TAO_ServerRequestInfo_CORBA_ValueDef_is_a &); private: POA_CORBA_ValueDef *_tao_impl; const char * id_; CORBA::Boolean _result; }; TAO_ServerRequestInfo_CORBA_ValueDef_is_a::TAO_ServerRequestInfo_CORBA_ValueDef_is_a ( TAO_ServerRequest &_tao_server_request, TAO_Object_Adapter::Servant_Upcall *_tao_servant_upcall, POA_CORBA_ValueDef *tao_impl, const char * id ACE_ENV_ARG_DECL_NOT_USED ) : TAO_ServerRequestInfo (_tao_server_request, _tao_servant_upcall), _tao_impl (tao_impl), id_ (id) {} Dynamic::ParameterList * TAO_ServerRequestInfo_CORBA_ValueDef_is_a::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 <<= id_; (*parameter_list)[len].mode = CORBA::PARAM_IN; len++; return safe_parameter_list._retn (); } Dynamic::ExceptionList * TAO_ServerRequestInfo_CORBA_ValueDef_is_a::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_CORBA_ValueDef_is_a::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_CORBA_ValueDef_is_a::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_CORBA_ValueDef_is_a::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_CORBA_ValueDef_is_a::result (CORBA::Boolean result) { // Update the result. this->_result = result; } class TAO_ServerRequestInfo_CORBA_ValueDef_describe_value : public TAO_ServerRequestInfo { public: TAO_ServerRequestInfo_CORBA_ValueDef_describe_value ( TAO_ServerRequest &_tao_server_request, TAO_Object_Adapter::Servant_Upcall *tao_servant_upcall,POA_CORBA_ValueDef *tao_impl ACE_ENV_ARG_DECL_WITH_DEFAULTS); virtual Dynamic::ParameterList * arguments ( ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) ACE_THROW_SPEC ((CORBA::SystemException)); virtual Dynamic::ExceptionList * exceptions ( ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) ACE_THROW_SPEC ((CORBA::SystemException)); virtual CORBA::Any * result ( ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) ACE_THROW_SPEC ((CORBA::SystemException)); virtual char * target_most_derived_interface ( ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) ACE_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_ValueDef::FullValueDescription * result); private: TAO_ServerRequestInfo_CORBA_ValueDef_describe_value (const TAO_ServerRequestInfo_CORBA_ValueDef_describe_value &); void operator= (const TAO_ServerRequestInfo_CORBA_ValueDef_describe_value &); private: POA_CORBA_ValueDef *_tao_impl; CORBA_ValueDef::FullValueDescription * _result; }; TAO_ServerRequestInfo_CORBA_ValueDef_describe_value::TAO_ServerRequestInfo_CORBA_ValueDef_describe_value ( TAO_ServerRequest &_tao_server_request, TAO_Object_Adapter::Servant_Upcall *_tao_servant_upcall, POA_CORBA_ValueDef *tao_impl ACE_ENV_ARG_DECL_NOT_USED ) : TAO_ServerRequestInfo (_tao_server_request, _tao_servant_upcall), _tao_impl (tao_impl) {} Dynamic::ParameterList * TAO_ServerRequestInfo_CORBA_ValueDef_describe_value::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_CORBA_ValueDef_describe_value::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_CORBA_ValueDef_describe_value::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) <<= this->_result; return safe_result_any._retn (); } char * TAO_ServerRequestInfo_CORBA_ValueDef_describe_value::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_CORBA_ValueDef_describe_value::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_CORBA_ValueDef_describe_value::result (CORBA_ValueDef::FullValueDescription * result) { // Update the result. this->_result = result; } class TAO_ServerRequestInfo_CORBA_ValueDef_create_value_member : public TAO_ServerRequestInfo { public: TAO_ServerRequestInfo_CORBA_ValueDef_create_value_member ( TAO_ServerRequest &_tao_server_request, TAO_Object_Adapter::Servant_Upcall *tao_servant_upcall,POA_CORBA_ValueDef *tao_impl , const char * id, const char * name, const char * version, CORBA_IDLType_ptr type, const CORBA::Visibility & access 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)); void result (CORBA_ValueMemberDef_ptr result); private: TAO_ServerRequestInfo_CORBA_ValueDef_create_value_member (const TAO_ServerRequestInfo_CORBA_ValueDef_create_value_member &); void operator= (const TAO_ServerRequestInfo_CORBA_ValueDef_create_value_member &); private: POA_CORBA_ValueDef *_tao_impl; const char * id_; const char * name_; const char * version_; CORBA_IDLType_ptr type_; const CORBA::Visibility & access_; CORBA_ValueMemberDef_ptr _result; }; TAO_ServerRequestInfo_CORBA_ValueDef_create_value_member::TAO_ServerRequestInfo_CORBA_ValueDef_create_value_member ( TAO_ServerRequest &_tao_server_request, TAO_Object_Adapter::Servant_Upcall *_tao_servant_upcall, POA_CORBA_ValueDef *tao_impl, const char * id, const char * name, const char * version, CORBA_IDLType_ptr type, const CORBA::Visibility & access ACE_ENV_ARG_DECL_NOT_USED ) : TAO_ServerRequestInfo (_tao_server_request, _tao_servant_upcall), _tao_impl (tao_impl), id_ (id), name_ (name), version_ (version), type_ (type), access_ (access) {} Dynamic::ParameterList * TAO_ServerRequestInfo_CORBA_ValueDef_create_value_member::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 (5); CORBA::ULong len = 0; (*parameter_list)[len].argument <<= id_; (*parameter_list)[len].mode = CORBA::PARAM_IN; len++; (*parameter_list)[len].argument <<= name_; (*parameter_list)[len].mode = CORBA::PARAM_IN; len++; (*parameter_list)[len].argument <<= version_; (*parameter_list)[len].mode = CORBA::PARAM_IN; len++; (*parameter_list)[len].argument <<= this->type_; (*parameter_list)[len].mode = CORBA::PARAM_IN; len++; (*parameter_list)[len].argument <<= access_; (*parameter_list)[len].mode = CORBA::PARAM_IN; len++; return safe_parameter_list._retn (); } Dynamic::ExceptionList * TAO_ServerRequestInfo_CORBA_ValueDef_create_value_member::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_CORBA_ValueDef_create_value_member::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) <<= this->_result; return safe_result_any._retn (); } char * TAO_ServerRequestInfo_CORBA_ValueDef_create_value_member::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_CORBA_ValueDef_create_value_member::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_CORBA_ValueDef_create_value_member::result (CORBA_ValueMemberDef_ptr result) { // Update the result. this->_result = result; } class TAO_ServerRequestInfo_CORBA_ValueDef_create_attribute : public TAO_ServerRequestInfo { public: TAO_ServerRequestInfo_CORBA_ValueDef_create_attribute ( TAO_ServerRequest &_tao_server_request, TAO_Object_Adapter::Servant_Upcall *tao_servant_upcall,POA_CORBA_ValueDef *tao_impl , const char * id, const char * name, const char * version, CORBA_IDLType_ptr type, CORBA::AttributeMode & mode 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)); void result (CORBA_AttributeDef_ptr result); private: TAO_ServerRequestInfo_CORBA_ValueDef_create_attribute (const TAO_ServerRequestInfo_CORBA_ValueDef_create_attribute &); void operator= (const TAO_ServerRequestInfo_CORBA_ValueDef_create_attribute &); private: POA_CORBA_ValueDef *_tao_impl; const char * id_; const char * name_; const char * version_; CORBA_IDLType_ptr type_; const CORBA::AttributeMode & mode_; CORBA_AttributeDef_ptr _result; }; TAO_ServerRequestInfo_CORBA_ValueDef_create_attribute::TAO_ServerRequestInfo_CORBA_ValueDef_create_attribute ( TAO_ServerRequest &_tao_server_request, TAO_Object_Adapter::Servant_Upcall *_tao_servant_upcall, POA_CORBA_ValueDef *tao_impl, const char * id, const char * name, const char * version, CORBA_IDLType_ptr type, CORBA::AttributeMode & mode ACE_ENV_ARG_DECL_NOT_USED ) : TAO_ServerRequestInfo (_tao_server_request, _tao_servant_upcall), _tao_impl (tao_impl), id_ (id), name_ (name), version_ (version), type_ (type), mode_ (mode) {} Dynamic::ParameterList * TAO_ServerRequestInfo_CORBA_ValueDef_create_attribute::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 (5); CORBA::ULong len = 0; (*parameter_list)[len].argument <<= id_; (*parameter_list)[len].mode = CORBA::PARAM_IN; len++; (*parameter_list)[len].argument <<= name_; (*parameter_list)[len].mode = CORBA::PARAM_IN; len++; (*parameter_list)[len].argument <<= version_; (*parameter_list)[len].mode = CORBA::PARAM_IN; len++; (*parameter_list)[len].argument <<= this->type_; (*parameter_list)[len].mode = CORBA::PARAM_IN; len++; (*parameter_list)[len].argument <<= this->mode_; (*parameter_list)[len].mode = CORBA::PARAM_IN; len++; return safe_parameter_list._retn (); } Dynamic::ExceptionList * TAO_ServerRequestInfo_CORBA_ValueDef_create_attribute::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_CORBA_ValueDef_create_attribute::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) <<= this->_result; return safe_result_any._retn (); } char * TAO_ServerRequestInfo_CORBA_ValueDef_create_attribute::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_CORBA_ValueDef_create_attribute::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_CORBA_ValueDef_create_attribute::result (CORBA_AttributeDef_ptr result) { // Update the result. this->_result = result; } class TAO_ServerRequestInfo_CORBA_ValueDef_create_operation : public TAO_ServerRequestInfo { public: TAO_ServerRequestInfo_CORBA_ValueDef_create_operation ( TAO_ServerRequest &_tao_server_request, TAO_Object_Adapter::Servant_Upcall *tao_servant_upcall,POA_CORBA_ValueDef *tao_impl , const char * id, const char * name, const char * version, CORBA_IDLType_ptr result, CORBA::OperationMode & mode, const CORBA_ParDescriptionSeq & params, const CORBA_ExceptionDefSeq & exceptions, const CORBA_ContextIdSeq & contexts 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)); void result (CORBA_OperationDef_ptr result); private: TAO_ServerRequestInfo_CORBA_ValueDef_create_operation (const TAO_ServerRequestInfo_CORBA_ValueDef_create_operation &); void operator= (const TAO_ServerRequestInfo_CORBA_ValueDef_create_operation &); private: POA_CORBA_ValueDef *_tao_impl; const char * id_; const char * name_; const char * version_; CORBA_IDLType_ptr result_; const CORBA::OperationMode & mode_; const CORBA_ParDescriptionSeq & params_; const CORBA_ExceptionDefSeq & exceptions_; const CORBA_ContextIdSeq & contexts_; CORBA_OperationDef_ptr _result; }; TAO_ServerRequestInfo_CORBA_ValueDef_create_operation::TAO_ServerRequestInfo_CORBA_ValueDef_create_operation ( TAO_ServerRequest &_tao_server_request, TAO_Object_Adapter::Servant_Upcall *_tao_servant_upcall, POA_CORBA_ValueDef *tao_impl, const char * id, const char * name, const char * version, CORBA_IDLType_ptr result, CORBA::OperationMode & mode, const CORBA_ParDescriptionSeq & params, const CORBA_ExceptionDefSeq & exceptions, const CORBA_ContextIdSeq & contexts ACE_ENV_ARG_DECL_NOT_USED ) : TAO_ServerRequestInfo (_tao_server_request, _tao_servant_upcall), _tao_impl (tao_impl), id_ (id), name_ (name), version_ (version), result_ (result), mode_ (mode), params_ (params), exceptions_ (exceptions), contexts_ (contexts) {} Dynamic::ParameterList * TAO_ServerRequestInfo_CORBA_ValueDef_create_operation::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 (8); CORBA::ULong len = 0; (*parameter_list)[len].argument <<= id_; (*parameter_list)[len].mode = CORBA::PARAM_IN; len++; (*parameter_list)[len].argument <<= name_; (*parameter_list)[len].mode = CORBA::PARAM_IN; len++; (*parameter_list)[len].argument <<= version_; (*parameter_list)[len].mode = CORBA::PARAM_IN; len++; (*parameter_list)[len].argument <<= this->result_; (*parameter_list)[len].mode = CORBA::PARAM_IN; len++; (*parameter_list)[len].argument <<= this->mode_; (*parameter_list)[len].mode = CORBA::PARAM_IN; len++; (*parameter_list)[len].argument <<= this->params_; (*parameter_list)[len].mode = CORBA::PARAM_IN; len++; (*parameter_list)[len].argument <<= this->exceptions_; (*parameter_list)[len].mode = CORBA::PARAM_IN; len++; (*parameter_list)[len].argument <<= this->contexts_; (*parameter_list)[len].mode = CORBA::PARAM_IN; len++; return safe_parameter_list._retn (); } Dynamic::ExceptionList * TAO_ServerRequestInfo_CORBA_ValueDef_create_operation::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_CORBA_ValueDef_create_operation::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) <<= this->_result; return safe_result_any._retn (); } char * TAO_ServerRequestInfo_CORBA_ValueDef_create_operation::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_CORBA_ValueDef_create_operation::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_CORBA_ValueDef_create_operation::result (CORBA_OperationDef_ptr result) { // Update the result. this->_result = result; } #endif /* TAO_HAS_INTERCEPTORS */ /////////////////////////////////////////////////////////////////////// // Strategized Proxy Broker Implementation // // Factory function Implementation. _TAO_CORBA_ValueDef_Strategized_Proxy_Broker *_TAO_CORBA_ValueDef_Strategized_Proxy_Broker::the_TAO_CORBA_ValueDef_Strategized_Proxy_Broker (void) { static _TAO_CORBA_ValueDef_Strategized_Proxy_Broker strategized_proxy_broker; return &strategized_proxy_broker; } _TAO_CORBA_ValueDef_Strategized_Proxy_Broker::_TAO_CORBA_ValueDef_Strategized_Proxy_Broker (void) { for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i) this->proxy_cache_[i] = 0; } _TAO_CORBA_ValueDef_Strategized_Proxy_Broker::~_TAO_CORBA_ValueDef_Strategized_Proxy_Broker (void) { for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i) delete this->proxy_cache_[i]; } _TAO_CORBA_ValueDef_Proxy_Impl& _TAO_CORBA_ValueDef_Strategized_Proxy_Broker::select_proxy ( ::CORBA_ValueDef *object ACE_ENV_ARG_DECL ) { int strategy = TAO_ORB_Core::collocation_strategy (object ACE_ENV_ARG_PARAMETER); ACE_CHECK_RETURN (*this->proxy_cache_[strategy]); if (this->proxy_cache_[strategy] != 0) return *this->proxy_cache_[strategy]; this->create_proxy (strategy ACE_ENV_ARG_PARAMETER); ACE_CHECK_RETURN (*this->proxy_cache_[strategy]); return *this->proxy_cache_[strategy]; } void _TAO_CORBA_ValueDef_Strategized_Proxy_Broker::create_proxy ( int strategy ACE_ENV_ARG_DECL ) { ACE_GUARD (TAO_SYNCH_MUTEX, guard, this->mutex_); if (this->proxy_cache_[strategy] == 0) { switch (strategy) { case TAO_Collocation_Strategies::CS_THRU_POA_STRATEGY: ACE_NEW_THROW_EX ( this->proxy_cache_[strategy], _TAO_CORBA_ValueDef_ThruPOA_Proxy_Impl, CORBA::NO_MEMORY () ); ACE_CHECK; break; case TAO_Collocation_Strategies::CS_REMOTE_STRATEGY: default: ACE_NEW_THROW_EX ( this->proxy_cache_[strategy], ::_TAO_CORBA_ValueDef_Remote_Proxy_Impl, CORBA::NO_MEMORY () ); ACE_CHECK; break; } } } // // End Strategized Proxy Broker Implementation /////////////////////////////////////////////////////////////////////// _TAO_CORBA_ValueDef_Proxy_Broker * _TAO_CORBA_ValueDef_Proxy_Broker_Factory_function (CORBA::Object_ptr obj) { ACE_UNUSED_ARG (obj); return ::_TAO_CORBA_ValueDef_Strategized_Proxy_Broker::the_TAO_CORBA_ValueDef_Strategized_Proxy_Broker(); } int _TAO_CORBA_ValueDef_Proxy_Broker_Factory_Initializer (long) { _TAO_CORBA_ValueDef_Proxy_Broker_Factory_function_pointer = _TAO_CORBA_ValueDef_Proxy_Broker_Factory_function; return 0; } static int _TAO_CORBA_ValueDef_Proxy_Broker_Stub_Factory_Initializer_Scarecrow = _TAO_CORBA_ValueDef_Proxy_Broker_Factory_Initializer (ACE_reinterpret_cast (long, _TAO_CORBA_ValueDef_Proxy_Broker_Factory_Initializer)); /////////////////////////////////////////////////////////////////////// // ThruPOA Proxy Implementation // _TAO_CORBA_ValueDef_ThruPOA_Proxy_Impl::_TAO_CORBA_ValueDef_ThruPOA_Proxy_Impl (void) {} // ThruPOA Implementation of the IDL interface methods CORBA_InterfaceDefSeq * _TAO_CORBA_ValueDef_ThruPOA_Proxy_Impl::supported_interfaces ( CORBA_Object *_collocated_tao_target_ ACE_ENV_ARG_DECL ) ACE_THROW_SPEC (( CORBA::SystemException )) { CORBA_InterfaceDefSeq_var _tao_retval; ACE_UNUSED_ARG (_tao_retval); TAO_Object_Adapter::Servant_Upcall servant_upcall ( _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core () ); CORBA::Object_var forward_to; servant_upcall.prepare_for_upcall ( _collocated_tao_target_->_object_key (), "supported_interfaces", forward_to.out () ACE_ENV_ARG_PARAMETER ); ACE_CHECK_RETURN (0); return ACE_reinterpret_cast ( POA_CORBA_ValueDef_ptr, servant_upcall.servant ()->_downcast ( "IDL:omg.org/CORBA/ValueDef:1.0" ) )->supported_interfaces ( ACE_ENV_SINGLE_ARG_PARAMETER ); } void _TAO_CORBA_ValueDef_ThruPOA_Proxy_Impl::supported_interfaces ( CORBA_Object *_collocated_tao_target_, const CORBA_InterfaceDefSeq & supported_interfaces ACE_ENV_ARG_DECL ) ACE_THROW_SPEC (( CORBA::SystemException )) { TAO_Object_Adapter::Servant_Upcall servant_upcall ( _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core () ); CORBA::Object_var forward_to; servant_upcall.prepare_for_upcall ( _collocated_tao_target_->_object_key (), "supported_interfaces", forward_to.out () ACE_ENV_ARG_PARAMETER ); ACE_CHECK; ACE_reinterpret_cast ( POA_CORBA_ValueDef_ptr, servant_upcall.servant ()->_downcast ( "IDL:omg.org/CORBA/ValueDef:1.0" ) )->supported_interfaces ( supported_interfaces ACE_ENV_ARG_PARAMETER ); return; } CORBA_InitializerSeq * _TAO_CORBA_ValueDef_ThruPOA_Proxy_Impl::initializers ( CORBA_Object *_collocated_tao_target_ ACE_ENV_ARG_DECL ) ACE_THROW_SPEC (( CORBA::SystemException )) { CORBA_InitializerSeq_var _tao_retval; ACE_UNUSED_ARG (_tao_retval); TAO_Object_Adapter::Servant_Upcall servant_upcall ( _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core () ); CORBA::Object_var forward_to; servant_upcall.prepare_for_upcall ( _collocated_tao_target_->_object_key (), "initializers", forward_to.out () ACE_ENV_ARG_PARAMETER ); ACE_CHECK_RETURN (0); return ACE_reinterpret_cast ( POA_CORBA_ValueDef_ptr, servant_upcall.servant ()->_downcast ( "IDL:omg.org/CORBA/ValueDef:1.0" ) )->initializers ( ACE_ENV_SINGLE_ARG_PARAMETER ); } void _TAO_CORBA_ValueDef_ThruPOA_Proxy_Impl::initializers ( CORBA_Object *_collocated_tao_target_, const CORBA_InitializerSeq & initializers ACE_ENV_ARG_DECL ) ACE_THROW_SPEC (( CORBA::SystemException )) { TAO_Object_Adapter::Servant_Upcall servant_upcall ( _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core () ); CORBA::Object_var forward_to; servant_upcall.prepare_for_upcall ( _collocated_tao_target_->_object_key (), "initializers", forward_to.out () ACE_ENV_ARG_PARAMETER ); ACE_CHECK; ACE_reinterpret_cast ( POA_CORBA_ValueDef_ptr, servant_upcall.servant ()->_downcast ( "IDL:omg.org/CORBA/ValueDef:1.0" ) )->initializers ( initializers ACE_ENV_ARG_PARAMETER ); return; } CORBA_ValueDef_ptr _TAO_CORBA_ValueDef_ThruPOA_Proxy_Impl::base_value ( CORBA_Object *_collocated_tao_target_ ACE_ENV_ARG_DECL ) ACE_THROW_SPEC (( CORBA::SystemException )) { CORBA_ValueDef_var _tao_retval; ACE_UNUSED_ARG (_tao_retval); TAO_Object_Adapter::Servant_Upcall servant_upcall ( _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core () ); CORBA::Object_var forward_to; servant_upcall.prepare_for_upcall ( _collocated_tao_target_->_object_key (), "base_value", forward_to.out () ACE_ENV_ARG_PARAMETER ); ACE_CHECK_RETURN (0); return ACE_reinterpret_cast ( POA_CORBA_ValueDef_ptr, servant_upcall.servant ()->_downcast ( "IDL:omg.org/CORBA/ValueDef:1.0" ) )->base_value ( ACE_ENV_SINGLE_ARG_PARAMETER ); } void _TAO_CORBA_ValueDef_ThruPOA_Proxy_Impl::base_value ( CORBA_Object *_collocated_tao_target_, CORBA_ValueDef_ptr base_value ACE_ENV_ARG_DECL ) ACE_THROW_SPEC (( CORBA::SystemException )) { TAO_Object_Adapter::Servant_Upcall servant_upcall ( _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core () ); CORBA::Object_var forward_to; servant_upcall.prepare_for_upcall ( _collocated_tao_target_->_object_key (), "base_value", forward_to.out () ACE_ENV_ARG_PARAMETER ); ACE_CHECK; ACE_reinterpret_cast ( POA_CORBA_ValueDef_ptr, servant_upcall.servant ()->_downcast ( "IDL:omg.org/CORBA/ValueDef:1.0" ) )->base_value ( base_value ACE_ENV_ARG_PARAMETER ); return; } CORBA_ValueDefSeq * _TAO_CORBA_ValueDef_ThruPOA_Proxy_Impl::abstract_base_values ( CORBA_Object *_collocated_tao_target_ ACE_ENV_ARG_DECL ) ACE_THROW_SPEC (( CORBA::SystemException )) { CORBA_ValueDefSeq_var _tao_retval; ACE_UNUSED_ARG (_tao_retval); TAO_Object_Adapter::Servant_Upcall servant_upcall ( _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core () ); CORBA::Object_var forward_to; servant_upcall.prepare_for_upcall ( _collocated_tao_target_->_object_key (), "abstract_base_values", forward_to.out () ACE_ENV_ARG_PARAMETER ); ACE_CHECK_RETURN (0); return ACE_reinterpret_cast ( POA_CORBA_ValueDef_ptr, servant_upcall.servant ()->_downcast ( "IDL:omg.org/CORBA/ValueDef:1.0" ) )->abstract_base_values ( ACE_ENV_SINGLE_ARG_PARAMETER ); } void _TAO_CORBA_ValueDef_ThruPOA_Proxy_Impl::abstract_base_values ( CORBA_Object *_collocated_tao_target_, const CORBA_ValueDefSeq & abstract_base_values ACE_ENV_ARG_DECL ) ACE_THROW_SPEC (( CORBA::SystemException )) { TAO_Object_Adapter::Servant_Upcall servant_upcall ( _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core () ); CORBA::Object_var forward_to; servant_upcall.prepare_for_upcall ( _collocated_tao_target_->_object_key (), "abstract_base_values", forward_to.out () ACE_ENV_ARG_PARAMETER ); ACE_CHECK; ACE_reinterpret_cast ( POA_CORBA_ValueDef_ptr, servant_upcall.servant ()->_downcast ( "IDL:omg.org/CORBA/ValueDef:1.0" ) )->abstract_base_values ( abstract_base_values ACE_ENV_ARG_PARAMETER ); return; } CORBA::Boolean _TAO_CORBA_ValueDef_ThruPOA_Proxy_Impl::is_abstract ( CORBA_Object *_collocated_tao_target_ ACE_ENV_ARG_DECL ) ACE_THROW_SPEC (( CORBA::SystemException )) { CORBA::Boolean _tao_retval = 0; ACE_UNUSED_ARG (_tao_retval); TAO_Object_Adapter::Servant_Upcall servant_upcall ( _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core () ); CORBA::Object_var forward_to; servant_upcall.prepare_for_upcall ( _collocated_tao_target_->_object_key (), "is_abstract", forward_to.out () ACE_ENV_ARG_PARAMETER ); ACE_CHECK_RETURN (_tao_retval); return ACE_reinterpret_cast ( POA_CORBA_ValueDef_ptr, servant_upcall.servant ()->_downcast ( "IDL:omg.org/CORBA/ValueDef:1.0" ) )->is_abstract ( ACE_ENV_SINGLE_ARG_PARAMETER ); } void _TAO_CORBA_ValueDef_ThruPOA_Proxy_Impl::is_abstract ( CORBA_Object *_collocated_tao_target_, CORBA::Boolean is_abstract ACE_ENV_ARG_DECL ) ACE_THROW_SPEC (( CORBA::SystemException )) { TAO_Object_Adapter::Servant_Upcall servant_upcall ( _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core () ); CORBA::Object_var forward_to; servant_upcall.prepare_for_upcall ( _collocated_tao_target_->_object_key (), "is_abstract", forward_to.out () ACE_ENV_ARG_PARAMETER ); ACE_CHECK; ACE_reinterpret_cast ( POA_CORBA_ValueDef_ptr, servant_upcall.servant ()->_downcast ( "IDL:omg.org/CORBA/ValueDef:1.0" ) )->is_abstract ( is_abstract ACE_ENV_ARG_PARAMETER ); return; } CORBA::Boolean _TAO_CORBA_ValueDef_ThruPOA_Proxy_Impl::is_custom ( CORBA_Object *_collocated_tao_target_ ACE_ENV_ARG_DECL ) ACE_THROW_SPEC (( CORBA::SystemException )) { CORBA::Boolean _tao_retval = 0; ACE_UNUSED_ARG (_tao_retval); TAO_Object_Adapter::Servant_Upcall servant_upcall ( _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core () ); CORBA::Object_var forward_to; servant_upcall.prepare_for_upcall ( _collocated_tao_target_->_object_key (), "is_custom", forward_to.out () ACE_ENV_ARG_PARAMETER ); ACE_CHECK_RETURN (_tao_retval); return ACE_reinterpret_cast ( POA_CORBA_ValueDef_ptr, servant_upcall.servant ()->_downcast ( "IDL:omg.org/CORBA/ValueDef:1.0" ) )->is_custom ( ACE_ENV_SINGLE_ARG_PARAMETER ); } void _TAO_CORBA_ValueDef_ThruPOA_Proxy_Impl::is_custom ( CORBA_Object *_collocated_tao_target_, CORBA::Boolean is_custom ACE_ENV_ARG_DECL ) ACE_THROW_SPEC (( CORBA::SystemException )) { TAO_Object_Adapter::Servant_Upcall servant_upcall ( _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core () ); CORBA::Object_var forward_to; servant_upcall.prepare_for_upcall ( _collocated_tao_target_->_object_key (), "is_custom", forward_to.out () ACE_ENV_ARG_PARAMETER ); ACE_CHECK; ACE_reinterpret_cast ( POA_CORBA_ValueDef_ptr, servant_upcall.servant ()->_downcast ( "IDL:omg.org/CORBA/ValueDef:1.0" ) )->is_custom ( is_custom ACE_ENV_ARG_PARAMETER ); return; } CORBA::Boolean _TAO_CORBA_ValueDef_ThruPOA_Proxy_Impl::is_truncatable ( CORBA_Object *_collocated_tao_target_ ACE_ENV_ARG_DECL ) ACE_THROW_SPEC (( CORBA::SystemException )) { CORBA::Boolean _tao_retval = 0; ACE_UNUSED_ARG (_tao_retval); TAO_Object_Adapter::Servant_Upcall servant_upcall ( _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core () ); CORBA::Object_var forward_to; servant_upcall.prepare_for_upcall ( _collocated_tao_target_->_object_key (), "is_truncatable", forward_to.out () ACE_ENV_ARG_PARAMETER ); ACE_CHECK_RETURN (_tao_retval); return ACE_reinterpret_cast ( POA_CORBA_ValueDef_ptr, servant_upcall.servant ()->_downcast ( "IDL:omg.org/CORBA/ValueDef:1.0" ) )->is_truncatable ( ACE_ENV_SINGLE_ARG_PARAMETER ); } void _TAO_CORBA_ValueDef_ThruPOA_Proxy_Impl::is_truncatable ( CORBA_Object *_collocated_tao_target_, CORBA::Boolean is_truncatable ACE_ENV_ARG_DECL ) ACE_THROW_SPEC (( CORBA::SystemException )) { TAO_Object_Adapter::Servant_Upcall servant_upcall ( _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core () ); CORBA::Object_var forward_to; servant_upcall.prepare_for_upcall ( _collocated_tao_target_->_object_key (), "is_truncatable", forward_to.out () ACE_ENV_ARG_PARAMETER ); ACE_CHECK; ACE_reinterpret_cast ( POA_CORBA_ValueDef_ptr, servant_upcall.servant ()->_downcast ( "IDL:omg.org/CORBA/ValueDef:1.0" ) )->is_truncatable ( is_truncatable ACE_ENV_ARG_PARAMETER ); return; } CORBA::Boolean _TAO_CORBA_ValueDef_ThruPOA_Proxy_Impl::is_a ( CORBA_Object *_collocated_tao_target_, const char * id ACE_ENV_ARG_DECL ) ACE_THROW_SPEC (( CORBA::SystemException )) { CORBA::Boolean _tao_retval = 0; ACE_UNUSED_ARG (_tao_retval); TAO_Object_Adapter::Servant_Upcall servant_upcall ( _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core () ); CORBA::Object_var forward_to; servant_upcall.prepare_for_upcall ( _collocated_tao_target_->_object_key (), "is_a", forward_to.out () ACE_ENV_ARG_PARAMETER ); ACE_CHECK_RETURN (_tao_retval); return ACE_reinterpret_cast ( POA_CORBA_ValueDef_ptr, servant_upcall.servant ()->_downcast ( "IDL:omg.org/CORBA/ValueDef:1.0" ) )->is_a ( id ACE_ENV_ARG_PARAMETER ); } CORBA_ValueDef::FullValueDescription * _TAO_CORBA_ValueDef_ThruPOA_Proxy_Impl::describe_value ( CORBA_Object *_collocated_tao_target_ ACE_ENV_ARG_DECL ) ACE_THROW_SPEC (( CORBA::SystemException )) { CORBA_ValueDef::FullValueDescription_var _tao_retval; ACE_UNUSED_ARG (_tao_retval); TAO_Object_Adapter::Servant_Upcall servant_upcall ( _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core () ); CORBA::Object_var forward_to; servant_upcall.prepare_for_upcall ( _collocated_tao_target_->_object_key (), "describe_value", forward_to.out () ACE_ENV_ARG_PARAMETER ); ACE_CHECK_RETURN (0); return ACE_reinterpret_cast ( POA_CORBA_ValueDef_ptr, servant_upcall.servant ()->_downcast ( "IDL:omg.org/CORBA/ValueDef:1.0" ) )->describe_value ( ACE_ENV_SINGLE_ARG_PARAMETER ); } CORBA_ValueMemberDef_ptr _TAO_CORBA_ValueDef_ThruPOA_Proxy_Impl::create_value_member ( CORBA_Object *_collocated_tao_target_, const char * id, const char * name, const char * version, CORBA_IDLType_ptr type, CORBA::Visibility access ACE_ENV_ARG_DECL ) ACE_THROW_SPEC (( CORBA::SystemException )) { CORBA_ValueMemberDef_var _tao_retval; ACE_UNUSED_ARG (_tao_retval); TAO_Object_Adapter::Servant_Upcall servant_upcall ( _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core () ); CORBA::Object_var forward_to; servant_upcall.prepare_for_upcall ( _collocated_tao_target_->_object_key (), "create_value_member", forward_to.out () ACE_ENV_ARG_PARAMETER ); ACE_CHECK_RETURN (0); return ACE_reinterpret_cast ( POA_CORBA_ValueDef_ptr, servant_upcall.servant ()->_downcast ( "IDL:omg.org/CORBA/ValueDef:1.0" ) )->create_value_member ( id, name, version, type, access ACE_ENV_ARG_PARAMETER ); } CORBA_AttributeDef_ptr _TAO_CORBA_ValueDef_ThruPOA_Proxy_Impl::create_attribute ( CORBA_Object *_collocated_tao_target_, const char * id, const char * name, const char * version, CORBA_IDLType_ptr type, CORBA::AttributeMode mode ACE_ENV_ARG_DECL ) ACE_THROW_SPEC (( CORBA::SystemException )) { CORBA_AttributeDef_var _tao_retval; ACE_UNUSED_ARG (_tao_retval); TAO_Object_Adapter::Servant_Upcall servant_upcall ( _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core () ); CORBA::Object_var forward_to; servant_upcall.prepare_for_upcall ( _collocated_tao_target_->_object_key (), "create_attribute", forward_to.out () ACE_ENV_ARG_PARAMETER ); ACE_CHECK_RETURN (0); return ACE_reinterpret_cast ( POA_CORBA_ValueDef_ptr, servant_upcall.servant ()->_downcast ( "IDL:omg.org/CORBA/ValueDef:1.0" ) )->create_attribute ( id, name, version, type, mode ACE_ENV_ARG_PARAMETER ); } CORBA_OperationDef_ptr _TAO_CORBA_ValueDef_ThruPOA_Proxy_Impl::create_operation ( CORBA_Object *_collocated_tao_target_, const char * id, const char * name, const char * version, CORBA_IDLType_ptr result, CORBA::OperationMode mode, const CORBA_ParDescriptionSeq & params, const CORBA_ExceptionDefSeq & exceptions, const CORBA_ContextIdSeq & contexts ACE_ENV_ARG_DECL ) ACE_THROW_SPEC (( CORBA::SystemException )) { CORBA_OperationDef_var _tao_retval; ACE_UNUSED_ARG (_tao_retval); TAO_Object_Adapter::Servant_Upcall servant_upcall ( _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core () ); CORBA::Object_var forward_to; servant_upcall.prepare_for_upcall ( _collocated_tao_target_->_object_key (), "create_operation", forward_to.out () ACE_ENV_ARG_PARAMETER ); ACE_CHECK_RETURN (0); return ACE_reinterpret_cast ( POA_CORBA_ValueDef_ptr, servant_upcall.servant ()->_downcast ( "IDL:omg.org/CORBA/ValueDef:1.0" ) )->create_operation ( id, name, version, result, mode, params, exceptions, contexts ACE_ENV_ARG_PARAMETER ); } // // End ThruPOA Proxy Implementation /////////////////////////////////////////////////////////////////////// // skeleton constructor POA_CORBA_ValueDef::POA_CORBA_ValueDef (void) { this->optable_ = &tao_CORBA_ValueDef_optable; } // copy ctor POA_CORBA_ValueDef::POA_CORBA_ValueDef (const POA_CORBA_ValueDef& rhs) : POA_CORBA_Container (rhs), POA_CORBA_Contained (rhs), POA_CORBA_IDLType (rhs), POA_CORBA_IRObject (rhs), TAO_ServantBase (rhs) {} // skeleton destructor POA_CORBA_ValueDef::~POA_CORBA_ValueDef (void) { } void POA_CORBA_ValueDef::_get_supported_interfaces_skel ( TAO_ServerRequest &_tao_server_request, void *_tao_object_reference, void *_tao_servant_upcall ACE_ENV_ARG_DECL ) { POA_CORBA_ValueDef *_tao_impl = ACE_static_cast (POA_CORBA_ValueDef *, _tao_object_reference); CORBA_InterfaceDefSeq_var _tao_retval; #if (TAO_HAS_INTERCEPTORS == 1) TAO_Object_Adapter::Servant_Upcall *_tao_upcall = ACE_static_cast (TAO_Object_Adapter::Servant_Upcall *, _tao_servant_upcall); TAO_ServerRequestInterceptor_Adapter _tao_vfr ( _tao_server_request.orb_core ()->server_request_interceptors (), _tao_server_request.interceptor_count () ); TAO_ServerRequestInfo_CORBA_ValueDef_supported_interfaces_get ri ( _tao_server_request, _tao_upcall, _tao_impl ACE_ENV_ARG_PARAMETER ); ACE_TRY { _tao_vfr.receive_request (&ri ACE_ENV_ARG_PARAMETER); ACE_TRY_CHECK; #endif /* TAO_HAS_INTERCEPTORS */ _tao_retval = _tao_impl->supported_interfaces ( ACE_ENV_SINGLE_ARG_PARAMETER ); TAO_INTERCEPTOR_CHECK; #if (TAO_HAS_INTERCEPTORS == 1) CORBA_InterfaceDefSeq * _tao_retval_info = _tao_retval._retn (); ri.result (_tao_retval_info); _tao_retval = _tao_retval_info; ri.reply_status (PortableInterceptor::SUCCESSFUL); _tao_vfr.send_reply (&ri ACE_ENV_ARG_PARAMETER); ACE_TRY_CHECK; } ACE_CATCHANY { ri.exception (&ACE_ANY_EXCEPTION); _tao_vfr.send_exception ( &ri ACE_ENV_ARG_PARAMETER ); ACE_TRY_CHECK; PortableInterceptor::ReplyStatus _tao_status = ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER); ACE_TRY_CHECK; if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION || _tao_status == PortableInterceptor::USER_EXCEPTION) ACE_RE_THROW; } ACE_ENDTRY; ACE_CHECK; #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()); // In case _tao_servant_upcall is not used in this function ACE_UNUSED_ARG (_tao_servant_upcall); } void POA_CORBA_ValueDef::_set_supported_interfaces_skel ( TAO_ServerRequest &_tao_server_request, void *_tao_object_reference, void *_tao_servant_upcall ACE_ENV_ARG_DECL ) { TAO_InputCDR &_tao_in = _tao_server_request.incoming (); POA_CORBA_ValueDef *_tao_impl = ACE_static_cast (POA_CORBA_ValueDef *, _tao_object_reference); _tao_server_request.argument_flag (0); CORBA_InterfaceDefSeq supported_interfaces; if (!( (_tao_in >> supported_interfaces) )) ACE_THROW (CORBA::MARSHAL()); #if (TAO_HAS_INTERCEPTORS == 1) TAO_Object_Adapter::Servant_Upcall *_tao_upcall = ACE_static_cast (TAO_Object_Adapter::Servant_Upcall *, _tao_servant_upcall); TAO_ServerRequestInterceptor_Adapter _tao_vfr ( _tao_server_request.orb_core ()->server_request_interceptors (), _tao_server_request.interceptor_count () ); TAO_ServerRequestInfo_CORBA_ValueDef_supported_interfaces_set ri ( _tao_server_request, _tao_upcall, _tao_impl, supported_interfaces ACE_ENV_ARG_PARAMETER ); ACE_TRY { _tao_vfr.receive_request (&ri ACE_ENV_ARG_PARAMETER); ACE_TRY_CHECK; #endif /* TAO_HAS_INTERCEPTORS */ _tao_impl->supported_interfaces ( supported_interfaces ACE_ENV_ARG_PARAMETER ); TAO_INTERCEPTOR_CHECK; #if (TAO_HAS_INTERCEPTORS == 1) ri.reply_status (PortableInterceptor::SUCCESSFUL); _tao_vfr.send_reply (&ri ACE_ENV_ARG_PARAMETER); ACE_TRY_CHECK; } ACE_CATCHANY { ri.exception (&ACE_ANY_EXCEPTION); _tao_vfr.send_exception ( &ri ACE_ENV_ARG_PARAMETER ); ACE_TRY_CHECK; PortableInterceptor::ReplyStatus _tao_status = ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER); ACE_TRY_CHECK; if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION || _tao_status == PortableInterceptor::USER_EXCEPTION) ACE_RE_THROW; } ACE_ENDTRY; ACE_CHECK; #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); } void POA_CORBA_ValueDef::_get_initializers_skel ( TAO_ServerRequest &_tao_server_request, void *_tao_object_reference, void *_tao_servant_upcall ACE_ENV_ARG_DECL ) { POA_CORBA_ValueDef *_tao_impl = ACE_static_cast (POA_CORBA_ValueDef *, _tao_object_reference); CORBA_InitializerSeq_var _tao_retval; #if (TAO_HAS_INTERCEPTORS == 1) TAO_Object_Adapter::Servant_Upcall *_tao_upcall = ACE_static_cast (TAO_Object_Adapter::Servant_Upcall *, _tao_servant_upcall); TAO_ServerRequestInterceptor_Adapter _tao_vfr ( _tao_server_request.orb_core ()->server_request_interceptors (), _tao_server_request.interceptor_count () ); TAO_ServerRequestInfo_CORBA_ValueDef_initializers_get ri ( _tao_server_request, _tao_upcall, _tao_impl ACE_ENV_ARG_PARAMETER ); ACE_TRY { _tao_vfr.receive_request (&ri ACE_ENV_ARG_PARAMETER); ACE_TRY_CHECK; #endif /* TAO_HAS_INTERCEPTORS */ _tao_retval = _tao_impl->initializers ( ACE_ENV_SINGLE_ARG_PARAMETER ); TAO_INTERCEPTOR_CHECK; #if (TAO_HAS_INTERCEPTORS == 1) CORBA_InitializerSeq * _tao_retval_info = _tao_retval._retn (); ri.result (_tao_retval_info); _tao_retval = _tao_retval_info; ri.reply_status (PortableInterceptor::SUCCESSFUL); _tao_vfr.send_reply (&ri ACE_ENV_ARG_PARAMETER); ACE_TRY_CHECK; } ACE_CATCHANY { ri.exception (&ACE_ANY_EXCEPTION); _tao_vfr.send_exception ( &ri ACE_ENV_ARG_PARAMETER ); ACE_TRY_CHECK; PortableInterceptor::ReplyStatus _tao_status = ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER); ACE_TRY_CHECK; if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION || _tao_status == PortableInterceptor::USER_EXCEPTION) ACE_RE_THROW; } ACE_ENDTRY; ACE_CHECK; #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()); // In case _tao_servant_upcall is not used in this function ACE_UNUSED_ARG (_tao_servant_upcall); } void POA_CORBA_ValueDef::_set_initializers_skel ( TAO_ServerRequest &_tao_server_request, void *_tao_object_reference, void *_tao_servant_upcall ACE_ENV_ARG_DECL ) { TAO_InputCDR &_tao_in = _tao_server_request.incoming (); POA_CORBA_ValueDef *_tao_impl = ACE_static_cast (POA_CORBA_ValueDef *, _tao_object_reference); _tao_server_request.argument_flag (0); CORBA_InitializerSeq initializers; if (!( (_tao_in >> initializers) )) ACE_THROW (CORBA::MARSHAL()); #if (TAO_HAS_INTERCEPTORS == 1) TAO_Object_Adapter::Servant_Upcall *_tao_upcall = ACE_static_cast (TAO_Object_Adapter::Servant_Upcall *, _tao_servant_upcall); TAO_ServerRequestInterceptor_Adapter _tao_vfr ( _tao_server_request.orb_core ()->server_request_interceptors (), _tao_server_request.interceptor_count () ); TAO_ServerRequestInfo_CORBA_ValueDef_initializers_set ri ( _tao_server_request, _tao_upcall, _tao_impl, initializers ACE_ENV_ARG_PARAMETER ); ACE_TRY { _tao_vfr.receive_request (&ri ACE_ENV_ARG_PARAMETER); ACE_TRY_CHECK; #endif /* TAO_HAS_INTERCEPTORS */ _tao_impl->initializers ( initializers ACE_ENV_ARG_PARAMETER ); TAO_INTERCEPTOR_CHECK; #if (TAO_HAS_INTERCEPTORS == 1) ri.reply_status (PortableInterceptor::SUCCESSFUL); _tao_vfr.send_reply (&ri ACE_ENV_ARG_PARAMETER); ACE_TRY_CHECK; } ACE_CATCHANY { ri.exception (&ACE_ANY_EXCEPTION); _tao_vfr.send_exception ( &ri ACE_ENV_ARG_PARAMETER ); ACE_TRY_CHECK; PortableInterceptor::ReplyStatus _tao_status = ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER); ACE_TRY_CHECK; if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION || _tao_status == PortableInterceptor::USER_EXCEPTION) ACE_RE_THROW; } ACE_ENDTRY; ACE_CHECK; #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); } void POA_CORBA_ValueDef::_get_base_value_skel ( TAO_ServerRequest &_tao_server_request, void *_tao_object_reference, void *_tao_servant_upcall ACE_ENV_ARG_DECL ) { POA_CORBA_ValueDef *_tao_impl = ACE_static_cast (POA_CORBA_ValueDef *, _tao_object_reference); CORBA_ValueDef_var _tao_retval; #if (TAO_HAS_INTERCEPTORS == 1) TAO_Object_Adapter::Servant_Upcall *_tao_upcall = ACE_static_cast (TAO_Object_Adapter::Servant_Upcall *, _tao_servant_upcall); TAO_ServerRequestInterceptor_Adapter _tao_vfr ( _tao_server_request.orb_core ()->server_request_interceptors (), _tao_server_request.interceptor_count () ); TAO_ServerRequestInfo_CORBA_ValueDef_base_value_get ri ( _tao_server_request, _tao_upcall, _tao_impl ACE_ENV_ARG_PARAMETER ); ACE_TRY { _tao_vfr.receive_request (&ri ACE_ENV_ARG_PARAMETER); ACE_TRY_CHECK; #endif /* TAO_HAS_INTERCEPTORS */ _tao_retval = _tao_impl->base_value ( ACE_ENV_SINGLE_ARG_PARAMETER ); TAO_INTERCEPTOR_CHECK; #if (TAO_HAS_INTERCEPTORS == 1) CORBA_ValueDef_ptr _tao_retval_info = _tao_retval._retn (); ri.result (_tao_retval_info); _tao_retval = _tao_retval_info; ri.reply_status (PortableInterceptor::SUCCESSFUL); _tao_vfr.send_reply (&ri ACE_ENV_ARG_PARAMETER); ACE_TRY_CHECK; } ACE_CATCHANY { ri.exception (&ACE_ANY_EXCEPTION); _tao_vfr.send_exception ( &ri ACE_ENV_ARG_PARAMETER ); ACE_TRY_CHECK; PortableInterceptor::ReplyStatus _tao_status = ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER); ACE_TRY_CHECK; if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION || _tao_status == PortableInterceptor::USER_EXCEPTION) ACE_RE_THROW; } ACE_ENDTRY; ACE_CHECK; #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()); // In case _tao_servant_upcall is not used in this function ACE_UNUSED_ARG (_tao_servant_upcall); } void POA_CORBA_ValueDef::_set_base_value_skel ( TAO_ServerRequest &_tao_server_request, void *_tao_object_reference, void *_tao_servant_upcall ACE_ENV_ARG_DECL ) { TAO_InputCDR &_tao_in = _tao_server_request.incoming (); POA_CORBA_ValueDef *_tao_impl = ACE_static_cast (POA_CORBA_ValueDef *, _tao_object_reference); _tao_server_request.argument_flag (0); CORBA_ValueDef_var base_value; if (!( (_tao_in >> base_value.out ()) )) ACE_THROW (CORBA::MARSHAL()); #if (TAO_HAS_INTERCEPTORS == 1) TAO_Object_Adapter::Servant_Upcall *_tao_upcall = ACE_static_cast (TAO_Object_Adapter::Servant_Upcall *, _tao_servant_upcall); TAO_ServerRequestInterceptor_Adapter _tao_vfr ( _tao_server_request.orb_core ()->server_request_interceptors (), _tao_server_request.interceptor_count () ); TAO_ServerRequestInfo_CORBA_ValueDef_base_value_set ri ( _tao_server_request, _tao_upcall, _tao_impl, base_value.in () ACE_ENV_ARG_PARAMETER ); ACE_TRY { _tao_vfr.receive_request (&ri ACE_ENV_ARG_PARAMETER); ACE_TRY_CHECK; #endif /* TAO_HAS_INTERCEPTORS */ _tao_impl->base_value ( base_value.in () ACE_ENV_ARG_PARAMETER ); TAO_INTERCEPTOR_CHECK; #if (TAO_HAS_INTERCEPTORS == 1) ri.reply_status (PortableInterceptor::SUCCESSFUL); _tao_vfr.send_reply (&ri ACE_ENV_ARG_PARAMETER); ACE_TRY_CHECK; } ACE_CATCHANY { ri.exception (&ACE_ANY_EXCEPTION); _tao_vfr.send_exception ( &ri ACE_ENV_ARG_PARAMETER ); ACE_TRY_CHECK; PortableInterceptor::ReplyStatus _tao_status = ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER); ACE_TRY_CHECK; if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION || _tao_status == PortableInterceptor::USER_EXCEPTION) ACE_RE_THROW; } ACE_ENDTRY; ACE_CHECK; #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); } void POA_CORBA_ValueDef::_get_abstract_base_values_skel ( TAO_ServerRequest &_tao_server_request, void *_tao_object_reference, void *_tao_servant_upcall ACE_ENV_ARG_DECL ) { POA_CORBA_ValueDef *_tao_impl = ACE_static_cast (POA_CORBA_ValueDef *, _tao_object_reference); CORBA_ValueDefSeq_var _tao_retval; #if (TAO_HAS_INTERCEPTORS == 1) TAO_Object_Adapter::Servant_Upcall *_tao_upcall = ACE_static_cast (TAO_Object_Adapter::Servant_Upcall *, _tao_servant_upcall); TAO_ServerRequestInterceptor_Adapter _tao_vfr ( _tao_server_request.orb_core ()->server_request_interceptors (), _tao_server_request.interceptor_count () ); TAO_ServerRequestInfo_CORBA_ValueDef_abstract_base_values_get ri ( _tao_server_request, _tao_upcall, _tao_impl ACE_ENV_ARG_PARAMETER ); ACE_TRY { _tao_vfr.receive_request (&ri ACE_ENV_ARG_PARAMETER); ACE_TRY_CHECK; #endif /* TAO_HAS_INTERCEPTORS */ _tao_retval = _tao_impl->abstract_base_values ( ACE_ENV_SINGLE_ARG_PARAMETER ); TAO_INTERCEPTOR_CHECK; #if (TAO_HAS_INTERCEPTORS == 1) CORBA_ValueDefSeq * _tao_retval_info = _tao_retval._retn (); ri.result (_tao_retval_info); _tao_retval = _tao_retval_info; ri.reply_status (PortableInterceptor::SUCCESSFUL); _tao_vfr.send_reply (&ri ACE_ENV_ARG_PARAMETER); ACE_TRY_CHECK; } ACE_CATCHANY { ri.exception (&ACE_ANY_EXCEPTION); _tao_vfr.send_exception ( &ri ACE_ENV_ARG_PARAMETER ); ACE_TRY_CHECK; PortableInterceptor::ReplyStatus _tao_status = ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER); ACE_TRY_CHECK; if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION || _tao_status == PortableInterceptor::USER_EXCEPTION) ACE_RE_THROW; } ACE_ENDTRY; ACE_CHECK; #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()); // In case _tao_servant_upcall is not used in this function ACE_UNUSED_ARG (_tao_servant_upcall); } void POA_CORBA_ValueDef::_set_abstract_base_values_skel ( TAO_ServerRequest &_tao_server_request, void *_tao_object_reference, void *_tao_servant_upcall ACE_ENV_ARG_DECL ) { TAO_InputCDR &_tao_in = _tao_server_request.incoming (); POA_CORBA_ValueDef *_tao_impl = ACE_static_cast (POA_CORBA_ValueDef *, _tao_object_reference); _tao_server_request.argument_flag (0); CORBA_ValueDefSeq abstract_base_values; if (!( (_tao_in >> abstract_base_values) )) ACE_THROW (CORBA::MARSHAL()); #if (TAO_HAS_INTERCEPTORS == 1) TAO_Object_Adapter::Servant_Upcall *_tao_upcall = ACE_static_cast (TAO_Object_Adapter::Servant_Upcall *, _tao_servant_upcall); TAO_ServerRequestInterceptor_Adapter _tao_vfr ( _tao_server_request.orb_core ()->server_request_interceptors (), _tao_server_request.interceptor_count () ); TAO_ServerRequestInfo_CORBA_ValueDef_abstract_base_values_set ri ( _tao_server_request, _tao_upcall, _tao_impl, abstract_base_values ACE_ENV_ARG_PARAMETER ); ACE_TRY { _tao_vfr.receive_request (&ri ACE_ENV_ARG_PARAMETER); ACE_TRY_CHECK; #endif /* TAO_HAS_INTERCEPTORS */ _tao_impl->abstract_base_values ( abstract_base_values ACE_ENV_ARG_PARAMETER ); TAO_INTERCEPTOR_CHECK; #if (TAO_HAS_INTERCEPTORS == 1) ri.reply_status (PortableInterceptor::SUCCESSFUL); _tao_vfr.send_reply (&ri ACE_ENV_ARG_PARAMETER); ACE_TRY_CHECK; } ACE_CATCHANY { ri.exception (&ACE_ANY_EXCEPTION); _tao_vfr.send_exception ( &ri ACE_ENV_ARG_PARAMETER ); ACE_TRY_CHECK; PortableInterceptor::ReplyStatus _tao_status = ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER); ACE_TRY_CHECK; if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION || _tao_status == PortableInterceptor::USER_EXCEPTION) ACE_RE_THROW; } ACE_ENDTRY; ACE_CHECK; #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); } void POA_CORBA_ValueDef::_get_is_abstract_skel ( TAO_ServerRequest &_tao_server_request, void *_tao_object_reference, void *_tao_servant_upcall ACE_ENV_ARG_DECL ) { POA_CORBA_ValueDef *_tao_impl = ACE_static_cast (POA_CORBA_ValueDef *, _tao_object_reference); CORBA::Boolean _tao_retval = 0; #if (TAO_HAS_INTERCEPTORS == 1) TAO_Object_Adapter::Servant_Upcall *_tao_upcall = ACE_static_cast (TAO_Object_Adapter::Servant_Upcall *, _tao_servant_upcall); TAO_ServerRequestInterceptor_Adapter _tao_vfr ( _tao_server_request.orb_core ()->server_request_interceptors (), _tao_server_request.interceptor_count () ); TAO_ServerRequestInfo_CORBA_ValueDef_is_abstract_get ri ( _tao_server_request, _tao_upcall, _tao_impl ACE_ENV_ARG_PARAMETER ); ACE_TRY { _tao_vfr.receive_request (&ri ACE_ENV_ARG_PARAMETER); ACE_TRY_CHECK; #endif /* TAO_HAS_INTERCEPTORS */ _tao_retval = _tao_impl->is_abstract ( ACE_ENV_SINGLE_ARG_PARAMETER ); TAO_INTERCEPTOR_CHECK; #if (TAO_HAS_INTERCEPTORS == 1) CORBA::Boolean _tao_retval_info = _tao_retval; ri.result (_tao_retval_info); ri.reply_status (PortableInterceptor::SUCCESSFUL); _tao_vfr.send_reply (&ri ACE_ENV_ARG_PARAMETER); ACE_TRY_CHECK; } ACE_CATCHANY { ri.exception (&ACE_ANY_EXCEPTION); _tao_vfr.send_exception ( &ri ACE_ENV_ARG_PARAMETER ); ACE_TRY_CHECK; PortableInterceptor::ReplyStatus _tao_status = ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER); ACE_TRY_CHECK; if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION || _tao_status == PortableInterceptor::USER_EXCEPTION) ACE_RE_THROW; } ACE_ENDTRY; ACE_CHECK; #endif /* TAO_HAS_INTERCEPTORS */ _tao_server_request.init_reply (); TAO_OutputCDR &_tao_out = _tao_server_request.outgoing (); if (!( (_tao_out << CORBA::Any::from_boolean (_tao_retval)) )) ACE_THROW (CORBA::MARSHAL()); // In case _tao_servant_upcall is not used in this function ACE_UNUSED_ARG (_tao_servant_upcall); } void POA_CORBA_ValueDef::_set_is_abstract_skel ( TAO_ServerRequest &_tao_server_request, void *_tao_object_reference, void *_tao_servant_upcall ACE_ENV_ARG_DECL ) { TAO_InputCDR &_tao_in = _tao_server_request.incoming (); POA_CORBA_ValueDef *_tao_impl = ACE_static_cast (POA_CORBA_ValueDef *, _tao_object_reference); _tao_server_request.argument_flag (0); CORBA::Boolean is_abstract; if (!( (_tao_in >> CORBA::Any::to_boolean (is_abstract)) )) ACE_THROW (CORBA::MARSHAL()); #if (TAO_HAS_INTERCEPTORS == 1) TAO_Object_Adapter::Servant_Upcall *_tao_upcall = ACE_static_cast (TAO_Object_Adapter::Servant_Upcall *, _tao_servant_upcall); TAO_ServerRequestInterceptor_Adapter _tao_vfr ( _tao_server_request.orb_core ()->server_request_interceptors (), _tao_server_request.interceptor_count () ); TAO_ServerRequestInfo_CORBA_ValueDef_is_abstract_set ri ( _tao_server_request, _tao_upcall, _tao_impl, is_abstract ACE_ENV_ARG_PARAMETER ); ACE_TRY { _tao_vfr.receive_request (&ri ACE_ENV_ARG_PARAMETER); ACE_TRY_CHECK; #endif /* TAO_HAS_INTERCEPTORS */ _tao_impl->is_abstract ( is_abstract ACE_ENV_ARG_PARAMETER ); TAO_INTERCEPTOR_CHECK; #if (TAO_HAS_INTERCEPTORS == 1) ri.reply_status (PortableInterceptor::SUCCESSFUL); _tao_vfr.send_reply (&ri ACE_ENV_ARG_PARAMETER); ACE_TRY_CHECK; } ACE_CATCHANY { ri.exception (&ACE_ANY_EXCEPTION); _tao_vfr.send_exception ( &ri ACE_ENV_ARG_PARAMETER ); ACE_TRY_CHECK; PortableInterceptor::ReplyStatus _tao_status = ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER); ACE_TRY_CHECK; if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION || _tao_status == PortableInterceptor::USER_EXCEPTION) ACE_RE_THROW; } ACE_ENDTRY; ACE_CHECK; #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); } void POA_CORBA_ValueDef::_get_is_custom_skel ( TAO_ServerRequest &_tao_server_request, void *_tao_object_reference, void *_tao_servant_upcall ACE_ENV_ARG_DECL ) { POA_CORBA_ValueDef *_tao_impl = ACE_static_cast (POA_CORBA_ValueDef *, _tao_object_reference); CORBA::Boolean _tao_retval = 0; #if (TAO_HAS_INTERCEPTORS == 1) TAO_Object_Adapter::Servant_Upcall *_tao_upcall = ACE_static_cast (TAO_Object_Adapter::Servant_Upcall *, _tao_servant_upcall); TAO_ServerRequestInterceptor_Adapter _tao_vfr ( _tao_server_request.orb_core ()->server_request_interceptors (), _tao_server_request.interceptor_count () ); TAO_ServerRequestInfo_CORBA_ValueDef_is_custom_get ri ( _tao_server_request, _tao_upcall, _tao_impl ACE_ENV_ARG_PARAMETER ); ACE_TRY { _tao_vfr.receive_request (&ri ACE_ENV_ARG_PARAMETER); ACE_TRY_CHECK; #endif /* TAO_HAS_INTERCEPTORS */ _tao_retval = _tao_impl->is_custom ( ACE_ENV_SINGLE_ARG_PARAMETER ); TAO_INTERCEPTOR_CHECK; #if (TAO_HAS_INTERCEPTORS == 1) CORBA::Boolean _tao_retval_info = _tao_retval; ri.result (_tao_retval_info); ri.reply_status (PortableInterceptor::SUCCESSFUL); _tao_vfr.send_reply (&ri ACE_ENV_ARG_PARAMETER); ACE_TRY_CHECK; } ACE_CATCHANY { ri.exception (&ACE_ANY_EXCEPTION); _tao_vfr.send_exception ( &ri ACE_ENV_ARG_PARAMETER ); ACE_TRY_CHECK; PortableInterceptor::ReplyStatus _tao_status = ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER); ACE_TRY_CHECK; if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION || _tao_status == PortableInterceptor::USER_EXCEPTION) ACE_RE_THROW; } ACE_ENDTRY; ACE_CHECK; #endif /* TAO_HAS_INTERCEPTORS */ _tao_server_request.init_reply (); TAO_OutputCDR &_tao_out = _tao_server_request.outgoing (); if (!( (_tao_out << CORBA::Any::from_boolean (_tao_retval)) )) ACE_THROW (CORBA::MARSHAL()); // In case _tao_servant_upcall is not used in this function ACE_UNUSED_ARG (_tao_servant_upcall); } void POA_CORBA_ValueDef::_set_is_custom_skel ( TAO_ServerRequest &_tao_server_request, void *_tao_object_reference, void *_tao_servant_upcall ACE_ENV_ARG_DECL ) { TAO_InputCDR &_tao_in = _tao_server_request.incoming (); POA_CORBA_ValueDef *_tao_impl = ACE_static_cast (POA_CORBA_ValueDef *, _tao_object_reference); _tao_server_request.argument_flag (0); CORBA::Boolean is_custom; if (!( (_tao_in >> CORBA::Any::to_boolean (is_custom)) )) ACE_THROW (CORBA::MARSHAL()); #if (TAO_HAS_INTERCEPTORS == 1) TAO_Object_Adapter::Servant_Upcall *_tao_upcall = ACE_static_cast (TAO_Object_Adapter::Servant_Upcall *, _tao_servant_upcall); TAO_ServerRequestInterceptor_Adapter _tao_vfr ( _tao_server_request.orb_core ()->server_request_interceptors (), _tao_server_request.interceptor_count () ); TAO_ServerRequestInfo_CORBA_ValueDef_is_custom_set ri ( _tao_server_request, _tao_upcall, _tao_impl, is_custom ACE_ENV_ARG_PARAMETER ); ACE_TRY { _tao_vfr.receive_request (&ri ACE_ENV_ARG_PARAMETER); ACE_TRY_CHECK; #endif /* TAO_HAS_INTERCEPTORS */ _tao_impl->is_custom ( is_custom ACE_ENV_ARG_PARAMETER ); TAO_INTERCEPTOR_CHECK; #if (TAO_HAS_INTERCEPTORS == 1) ri.reply_status (PortableInterceptor::SUCCESSFUL); _tao_vfr.send_reply (&ri ACE_ENV_ARG_PARAMETER); ACE_TRY_CHECK; } ACE_CATCHANY { ri.exception (&ACE_ANY_EXCEPTION); _tao_vfr.send_exception ( &ri ACE_ENV_ARG_PARAMETER ); ACE_TRY_CHECK; PortableInterceptor::ReplyStatus _tao_status = ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER); ACE_TRY_CHECK; if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION || _tao_status == PortableInterceptor::USER_EXCEPTION) ACE_RE_THROW; } ACE_ENDTRY; ACE_CHECK; #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); } void POA_CORBA_ValueDef::_get_is_truncatable_skel ( TAO_ServerRequest &_tao_server_request, void *_tao_object_reference, void *_tao_servant_upcall ACE_ENV_ARG_DECL ) { POA_CORBA_ValueDef *_tao_impl = ACE_static_cast (POA_CORBA_ValueDef *, _tao_object_reference); CORBA::Boolean _tao_retval = 0; #if (TAO_HAS_INTERCEPTORS == 1) TAO_Object_Adapter::Servant_Upcall *_tao_upcall = ACE_static_cast (TAO_Object_Adapter::Servant_Upcall *, _tao_servant_upcall); TAO_ServerRequestInterceptor_Adapter _tao_vfr ( _tao_server_request.orb_core ()->server_request_interceptors (), _tao_server_request.interceptor_count () ); TAO_ServerRequestInfo_CORBA_ValueDef_is_truncatable_get ri ( _tao_server_request, _tao_upcall, _tao_impl ACE_ENV_ARG_PARAMETER ); ACE_TRY { _tao_vfr.receive_request (&ri ACE_ENV_ARG_PARAMETER); ACE_TRY_CHECK; #endif /* TAO_HAS_INTERCEPTORS */ _tao_retval = _tao_impl->is_truncatable ( ACE_ENV_SINGLE_ARG_PARAMETER ); TAO_INTERCEPTOR_CHECK; #if (TAO_HAS_INTERCEPTORS == 1) CORBA::Boolean _tao_retval_info = _tao_retval; ri.result (_tao_retval_info); ri.reply_status (PortableInterceptor::SUCCESSFUL); _tao_vfr.send_reply (&ri ACE_ENV_ARG_PARAMETER); ACE_TRY_CHECK; } ACE_CATCHANY { ri.exception (&ACE_ANY_EXCEPTION); _tao_vfr.send_exception ( &ri ACE_ENV_ARG_PARAMETER ); ACE_TRY_CHECK; PortableInterceptor::ReplyStatus _tao_status = ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER); ACE_TRY_CHECK; if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION || _tao_status == PortableInterceptor::USER_EXCEPTION) ACE_RE_THROW; } ACE_ENDTRY; ACE_CHECK; #endif /* TAO_HAS_INTERCEPTORS */ _tao_server_request.init_reply (); TAO_OutputCDR &_tao_out = _tao_server_request.outgoing (); if (!( (_tao_out << CORBA::Any::from_boolean (_tao_retval)) )) ACE_THROW (CORBA::MARSHAL()); // In case _tao_servant_upcall is not used in this function ACE_UNUSED_ARG (_tao_servant_upcall); } void POA_CORBA_ValueDef::_set_is_truncatable_skel ( TAO_ServerRequest &_tao_server_request, void *_tao_object_reference, void *_tao_servant_upcall ACE_ENV_ARG_DECL ) { TAO_InputCDR &_tao_in = _tao_server_request.incoming (); POA_CORBA_ValueDef *_tao_impl = ACE_static_cast (POA_CORBA_ValueDef *, _tao_object_reference); _tao_server_request.argument_flag (0); CORBA::Boolean is_truncatable; if (!( (_tao_in >> CORBA::Any::to_boolean (is_truncatable)) )) ACE_THROW (CORBA::MARSHAL()); #if (TAO_HAS_INTERCEPTORS == 1) TAO_Object_Adapter::Servant_Upcall *_tao_upcall = ACE_static_cast (TAO_Object_Adapter::Servant_Upcall *, _tao_servant_upcall); TAO_ServerRequestInterceptor_Adapter _tao_vfr ( _tao_server_request.orb_core ()->server_request_interceptors (), _tao_server_request.interceptor_count () ); TAO_ServerRequestInfo_CORBA_ValueDef_is_truncatable_set ri ( _tao_server_request, _tao_upcall, _tao_impl, is_truncatable ACE_ENV_ARG_PARAMETER ); ACE_TRY { _tao_vfr.receive_request (&ri ACE_ENV_ARG_PARAMETER); ACE_TRY_CHECK; #endif /* TAO_HAS_INTERCEPTORS */ _tao_impl->is_truncatable ( is_truncatable ACE_ENV_ARG_PARAMETER ); TAO_INTERCEPTOR_CHECK; #if (TAO_HAS_INTERCEPTORS == 1) ri.reply_status (PortableInterceptor::SUCCESSFUL); _tao_vfr.send_reply (&ri ACE_ENV_ARG_PARAMETER); ACE_TRY_CHECK; } ACE_CATCHANY { ri.exception (&ACE_ANY_EXCEPTION); _tao_vfr.send_exception ( &ri ACE_ENV_ARG_PARAMETER ); ACE_TRY_CHECK; PortableInterceptor::ReplyStatus _tao_status = ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER); ACE_TRY_CHECK; if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION || _tao_status == PortableInterceptor::USER_EXCEPTION) ACE_RE_THROW; } ACE_ENDTRY; ACE_CHECK; #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); } void POA_CORBA_ValueDef::is_a_skel ( TAO_ServerRequest &_tao_server_request, void *_tao_object_reference, void *_tao_servant_upcall ACE_ENV_ARG_DECL ) { TAO_InputCDR &_tao_in = _tao_server_request.incoming (); POA_CORBA_ValueDef *_tao_impl = ACE_static_cast (POA_CORBA_ValueDef *, _tao_object_reference); CORBA::Boolean _tao_retval = 0; CORBA::String_var id; if (!( (_tao_in >> id.out ()) )) ACE_THROW (CORBA::MARSHAL()); #if (TAO_HAS_INTERCEPTORS == 1) TAO_Object_Adapter::Servant_Upcall *_tao_upcall = ACE_static_cast (TAO_Object_Adapter::Servant_Upcall *, _tao_servant_upcall); TAO_ServerRequestInterceptor_Adapter _tao_vfr ( _tao_server_request.orb_core ()->server_request_interceptors (), _tao_server_request.interceptor_count () ); TAO_ServerRequestInfo_CORBA_ValueDef_is_a ri ( _tao_server_request, _tao_upcall, _tao_impl, id.in () ACE_ENV_ARG_PARAMETER ); ACE_TRY { _tao_vfr.receive_request (&ri ACE_ENV_ARG_PARAMETER); ACE_TRY_CHECK; #endif /* TAO_HAS_INTERCEPTORS */ _tao_retval = _tao_impl->is_a ( id.in () ACE_ENV_ARG_PARAMETER ); TAO_INTERCEPTOR_CHECK; #if (TAO_HAS_INTERCEPTORS == 1) CORBA::Boolean _tao_retval_info = _tao_retval; ri.result (_tao_retval_info); ri.reply_status (PortableInterceptor::SUCCESSFUL); _tao_vfr.send_reply (&ri ACE_ENV_ARG_PARAMETER); ACE_TRY_CHECK; } ACE_CATCHANY { ri.exception (&ACE_ANY_EXCEPTION); _tao_vfr.send_exception ( &ri ACE_ENV_ARG_PARAMETER ); ACE_TRY_CHECK; PortableInterceptor::ReplyStatus _tao_status = ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER); ACE_TRY_CHECK; if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION || _tao_status == PortableInterceptor::USER_EXCEPTION) ACE_RE_THROW; } ACE_ENDTRY; ACE_CHECK; #endif /* TAO_HAS_INTERCEPTORS */ _tao_server_request.init_reply (); TAO_OutputCDR &_tao_out = _tao_server_request.outgoing (); if (!( (_tao_out << CORBA::Any::from_boolean (_tao_retval)) )) ACE_THROW (CORBA::MARSHAL()); // In case _tao_servant_upcall is not used in this function ACE_UNUSED_ARG (_tao_servant_upcall); } void POA_CORBA_ValueDef::describe_value_skel ( TAO_ServerRequest &_tao_server_request, void *_tao_object_reference, void *_tao_servant_upcall ACE_ENV_ARG_DECL ) { POA_CORBA_ValueDef *_tao_impl = ACE_static_cast (POA_CORBA_ValueDef *, _tao_object_reference); CORBA_ValueDef::FullValueDescription_var _tao_retval; #if (TAO_HAS_INTERCEPTORS == 1) TAO_Object_Adapter::Servant_Upcall *_tao_upcall = ACE_static_cast (TAO_Object_Adapter::Servant_Upcall *, _tao_servant_upcall); TAO_ServerRequestInterceptor_Adapter _tao_vfr ( _tao_server_request.orb_core ()->server_request_interceptors (), _tao_server_request.interceptor_count () ); TAO_ServerRequestInfo_CORBA_ValueDef_describe_value ri ( _tao_server_request, _tao_upcall, _tao_impl ACE_ENV_ARG_PARAMETER ); ACE_TRY { _tao_vfr.receive_request (&ri ACE_ENV_ARG_PARAMETER); ACE_TRY_CHECK; #endif /* TAO_HAS_INTERCEPTORS */ _tao_retval = _tao_impl->describe_value ( ACE_ENV_SINGLE_ARG_PARAMETER ); TAO_INTERCEPTOR_CHECK; #if (TAO_HAS_INTERCEPTORS == 1) CORBA_ValueDef::FullValueDescription * _tao_retval_info = _tao_retval._retn (); ri.result (_tao_retval_info); _tao_retval = _tao_retval_info; ri.reply_status (PortableInterceptor::SUCCESSFUL); _tao_vfr.send_reply (&ri ACE_ENV_ARG_PARAMETER); ACE_TRY_CHECK; } ACE_CATCHANY { ri.exception (&ACE_ANY_EXCEPTION); _tao_vfr.send_exception ( &ri ACE_ENV_ARG_PARAMETER ); ACE_TRY_CHECK; PortableInterceptor::ReplyStatus _tao_status = ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER); ACE_TRY_CHECK; if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION || _tao_status == PortableInterceptor::USER_EXCEPTION) ACE_RE_THROW; } ACE_ENDTRY; ACE_CHECK; #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()); // In case _tao_servant_upcall is not used in this function ACE_UNUSED_ARG (_tao_servant_upcall); } void POA_CORBA_ValueDef::create_value_member_skel ( TAO_ServerRequest &_tao_server_request, void *_tao_object_reference, void *_tao_servant_upcall ACE_ENV_ARG_DECL ) { TAO_InputCDR &_tao_in = _tao_server_request.incoming (); POA_CORBA_ValueDef *_tao_impl = ACE_static_cast (POA_CORBA_ValueDef *, _tao_object_reference); CORBA_ValueMemberDef_var _tao_retval; CORBA::String_var id; CORBA::String_var name; CORBA::String_var version; CORBA_IDLType_var type; CORBA::Visibility access; if (!( (_tao_in >> id.out ()) && (_tao_in >> name.out ()) && (_tao_in >> version.out ()) && (_tao_in >> type.out ()) && (_tao_in >> access) )) ACE_THROW (CORBA::MARSHAL()); #if (TAO_HAS_INTERCEPTORS == 1) TAO_Object_Adapter::Servant_Upcall *_tao_upcall = ACE_static_cast (TAO_Object_Adapter::Servant_Upcall *, _tao_servant_upcall); TAO_ServerRequestInterceptor_Adapter _tao_vfr ( _tao_server_request.orb_core ()->server_request_interceptors (), _tao_server_request.interceptor_count () ); TAO_ServerRequestInfo_CORBA_ValueDef_create_value_member ri ( _tao_server_request, _tao_upcall, _tao_impl, id.in (), name.in (), version.in (), type.in (), access ACE_ENV_ARG_PARAMETER ); ACE_TRY { _tao_vfr.receive_request (&ri ACE_ENV_ARG_PARAMETER); ACE_TRY_CHECK; #endif /* TAO_HAS_INTERCEPTORS */ _tao_retval = _tao_impl->create_value_member ( id.in (), name.in (), version.in (), type.in (), access ACE_ENV_ARG_PARAMETER ); TAO_INTERCEPTOR_CHECK; #if (TAO_HAS_INTERCEPTORS == 1) CORBA_ValueMemberDef_ptr _tao_retval_info = _tao_retval._retn (); ri.result (_tao_retval_info); _tao_retval = _tao_retval_info; ri.reply_status (PortableInterceptor::SUCCESSFUL); _tao_vfr.send_reply (&ri ACE_ENV_ARG_PARAMETER); ACE_TRY_CHECK; } ACE_CATCHANY { ri.exception (&ACE_ANY_EXCEPTION); _tao_vfr.send_exception ( &ri ACE_ENV_ARG_PARAMETER ); ACE_TRY_CHECK; PortableInterceptor::ReplyStatus _tao_status = ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER); ACE_TRY_CHECK; if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION || _tao_status == PortableInterceptor::USER_EXCEPTION) ACE_RE_THROW; } ACE_ENDTRY; ACE_CHECK; #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()); // In case _tao_servant_upcall is not used in this function ACE_UNUSED_ARG (_tao_servant_upcall); } void POA_CORBA_ValueDef::create_attribute_skel ( TAO_ServerRequest &_tao_server_request, void *_tao_object_reference, void *_tao_servant_upcall ACE_ENV_ARG_DECL ) { TAO_InputCDR &_tao_in = _tao_server_request.incoming (); POA_CORBA_ValueDef *_tao_impl = ACE_static_cast (POA_CORBA_ValueDef *, _tao_object_reference); CORBA_AttributeDef_var _tao_retval; CORBA::String_var id; CORBA::String_var name; CORBA::String_var version; CORBA_IDLType_var type; CORBA::AttributeMode mode; if (!( (_tao_in >> id.out ()) && (_tao_in >> name.out ()) && (_tao_in >> version.out ()) && (_tao_in >> type.out ()) && (_tao_in >> mode) )) ACE_THROW (CORBA::MARSHAL()); #if (TAO_HAS_INTERCEPTORS == 1) TAO_Object_Adapter::Servant_Upcall *_tao_upcall = ACE_static_cast (TAO_Object_Adapter::Servant_Upcall *, _tao_servant_upcall); TAO_ServerRequestInterceptor_Adapter _tao_vfr ( _tao_server_request.orb_core ()->server_request_interceptors (), _tao_server_request.interceptor_count () ); TAO_ServerRequestInfo_CORBA_ValueDef_create_attribute ri ( _tao_server_request, _tao_upcall, _tao_impl, id.in (), name.in (), version.in (), type.in (), mode ACE_ENV_ARG_PARAMETER ); ACE_TRY { _tao_vfr.receive_request (&ri ACE_ENV_ARG_PARAMETER); ACE_TRY_CHECK; #endif /* TAO_HAS_INTERCEPTORS */ _tao_retval = _tao_impl->create_attribute ( id.in (), name.in (), version.in (), type.in (), mode ACE_ENV_ARG_PARAMETER ); TAO_INTERCEPTOR_CHECK; #if (TAO_HAS_INTERCEPTORS == 1) CORBA_AttributeDef_ptr _tao_retval_info = _tao_retval._retn (); ri.result (_tao_retval_info); _tao_retval = _tao_retval_info; ri.reply_status (PortableInterceptor::SUCCESSFUL); _tao_vfr.send_reply (&ri ACE_ENV_ARG_PARAMETER); ACE_TRY_CHECK; } ACE_CATCHANY { ri.exception (&ACE_ANY_EXCEPTION); _tao_vfr.send_exception ( &ri ACE_ENV_ARG_PARAMETER ); ACE_TRY_CHECK; PortableInterceptor::ReplyStatus _tao_status = ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER); ACE_TRY_CHECK; if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION || _tao_status == PortableInterceptor::USER_EXCEPTION) ACE_RE_THROW; } ACE_ENDTRY; ACE_CHECK; #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()); // In case _tao_servant_upcall is not used in this function ACE_UNUSED_ARG (_tao_servant_upcall); } void POA_CORBA_ValueDef::create_operation_skel ( TAO_ServerRequest &_tao_server_request, void *_tao_object_reference, void *_tao_servant_upcall ACE_ENV_ARG_DECL ) { TAO_InputCDR &_tao_in = _tao_server_request.incoming (); POA_CORBA_ValueDef *_tao_impl = ACE_static_cast (POA_CORBA_ValueDef *, _tao_object_reference); CORBA_OperationDef_var _tao_retval; CORBA::String_var id; CORBA::String_var name; CORBA::String_var version; CORBA_IDLType_var result; CORBA::OperationMode mode; CORBA_ParDescriptionSeq params; CORBA_ExceptionDefSeq exceptions; CORBA_ContextIdSeq contexts; if (!( (_tao_in >> id.out ()) && (_tao_in >> name.out ()) && (_tao_in >> version.out ()) && (_tao_in >> result.out ()) && (_tao_in >> mode) && (_tao_in >> params) && (_tao_in >> exceptions) && (_tao_in >> contexts) )) ACE_THROW (CORBA::MARSHAL()); #if (TAO_HAS_INTERCEPTORS == 1) TAO_Object_Adapter::Servant_Upcall *_tao_upcall = ACE_static_cast (TAO_Object_Adapter::Servant_Upcall *, _tao_servant_upcall); TAO_ServerRequestInterceptor_Adapter _tao_vfr ( _tao_server_request.orb_core ()->server_request_interceptors (), _tao_server_request.interceptor_count () ); TAO_ServerRequestInfo_CORBA_ValueDef_create_operation ri ( _tao_server_request, _tao_upcall, _tao_impl, id.in (), name.in (), version.in (), result.in (), mode, params, exceptions, contexts ACE_ENV_ARG_PARAMETER ); ACE_TRY { _tao_vfr.receive_request (&ri ACE_ENV_ARG_PARAMETER); ACE_TRY_CHECK; #endif /* TAO_HAS_INTERCEPTORS */ _tao_retval = _tao_impl->create_operation ( id.in (), name.in (), version.in (), result.in (), mode, params, exceptions, contexts ACE_ENV_ARG_PARAMETER ); TAO_INTERCEPTOR_CHECK; #if (TAO_HAS_INTERCEPTORS == 1) CORBA_OperationDef_ptr _tao_retval_info = _tao_retval._retn (); ri.result (_tao_retval_info); _tao_retval = _tao_retval_info; ri.reply_status (PortableInterceptor::SUCCESSFUL); _tao_vfr.send_reply (&ri ACE_ENV_ARG_PARAMETER); ACE_TRY_CHECK; } ACE_CATCHANY { ri.exception (&ACE_ANY_EXCEPTION); _tao_vfr.send_exception ( &ri ACE_ENV_ARG_PARAMETER ); ACE_TRY_CHECK; PortableInterceptor::ReplyStatus _tao_status = ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER); ACE_TRY_CHECK; if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION || _tao_status == PortableInterceptor::USER_EXCEPTION) ACE_RE_THROW; } ACE_ENDTRY; ACE_CHECK; #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()); // In case _tao_servant_upcall is not used in this function ACE_UNUSED_ARG (_tao_servant_upcall); } void POA_CORBA_ValueDef::_is_a_skel ( TAO_ServerRequest &_tao_server_request, void * _tao_object_reference, void * /* Servant_Upcall */ ACE_ENV_ARG_DECL ) { TAO_InputCDR &_tao_in = _tao_server_request.incoming (); POA_CORBA_ValueDef *_tao_impl = (POA_CORBA_ValueDef *) _tao_object_reference; CORBA::Boolean _tao_retval = 0; CORBA::String_var value; if (!(_tao_in >> value.out ())) ACE_THROW (CORBA::MARSHAL ()); _tao_retval = _tao_impl->_is_a (value.in () ACE_ENV_ARG_PARAMETER); ACE_CHECK; _tao_server_request.init_reply (); TAO_OutputCDR &_tao_out = _tao_server_request.outgoing (); if (!(_tao_out << CORBA::Any::from_boolean (_tao_retval))) ACE_THROW (CORBA::MARSHAL ()); } void POA_CORBA_ValueDef::_non_existent_skel ( TAO_ServerRequest &_tao_server_request, void * _tao_object_reference, void * /* Servant_Upcall */ ACE_ENV_ARG_DECL ) { POA_CORBA_ValueDef *_tao_impl = (POA_CORBA_ValueDef *) _tao_object_reference; CORBA::Boolean _tao_retval = _tao_impl->_non_existent (ACE_ENV_SINGLE_ARG_PARAMETER); ACE_CHECK; _tao_server_request.init_reply (); TAO_OutputCDR &_tao_out = _tao_server_request.outgoing (); if (!(_tao_out << CORBA::Any::from_boolean (_tao_retval))) ACE_THROW (CORBA::MARSHAL ()); } void POA_CORBA_ValueDef::_interface_skel ( TAO_ServerRequest &_tao_server_request, void * _tao_object_reference, void * /* Servant_Upcall */ ACE_ENV_ARG_DECL ) { POA_CORBA_ValueDef *_tao_impl = (POA_CORBA_ValueDef *) _tao_object_reference; CORBA_InterfaceDef_ptr _tao_retval = 0; CORBA::Boolean _tao_result = 0; TAO_IFR_Client_Adapter *_tao_adapter = ACE_Dynamic_Service::instance ( TAO_ORB_Core::ifr_client_adapter_name () ); if (_tao_adapter == 0) { ACE_THROW (CORBA::INTF_REPOS ()); } ACE_TRY { _tao_retval = _tao_impl->_get_interface (ACE_ENV_SINGLE_ARG_PARAMETER); ACE_TRY_CHECK; _tao_server_request.init_reply (); TAO_OutputCDR &_tao_out = _tao_server_request.outgoing (); _tao_result = _tao_adapter->interfacedef_cdr_insert ( _tao_out, _tao_retval ); } ACE_CATCHALL { _tao_adapter->dispose (_tao_retval); } ACE_ENDTRY; if (_tao_result == 0) { ACE_THROW (CORBA::MARSHAL ()); } } CORBA::Boolean POA_CORBA_ValueDef::_is_a ( const char* value ACE_ENV_ARG_DECL ) { const char *base_id = CORBA::_tc_Object->id (ACE_ENV_SINGLE_ARG_PARAMETER); ACE_CHECK_RETURN (0); if ( (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/ValueDef:1.0")) || (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/Container:1.0")) || (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/Contained:1.0")) || (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/IDLType:1.0")) || (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/IRObject:1.0")) || (!ACE_OS::strcmp ((char *)value, base_id))) return 1; else return 0; } void* POA_CORBA_ValueDef::_downcast ( const char* logical_type_id ) { if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/ValueDef:1.0") == 0) return ACE_static_cast (POA_CORBA_ValueDef_ptr, this); if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/Container:1.0") == 0) return ACE_static_cast (POA_CORBA_Container_ptr, this); if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/Contained:1.0") == 0) return ACE_static_cast (POA_CORBA_Contained_ptr, this); if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/IDLType:1.0") == 0) return ACE_static_cast (POA_CORBA_IDLType_ptr, this); if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/IRObject:1.0") == 0) return ACE_static_cast (POA_CORBA_IRObject_ptr, this); if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/Object:1.0") == 0) return ACE_static_cast(PortableServer::Servant, this); return 0; } void POA_CORBA_ValueDef::_dispatch (TAO_ServerRequest &req, void *servant_upcall ACE_ENV_ARG_DECL) { this->synchronous_upcall_dispatch (req, servant_upcall, this ACE_ENV_ARG_PARAMETER); } const char* POA_CORBA_ValueDef::_interface_repository_id (void) const { return "IDL:omg.org/CORBA/ValueDef:1.0"; } CORBA_ValueDef* POA_CORBA_ValueDef::_this (ACE_ENV_SINGLE_ARG_DECL) { TAO_Stub *stub = this->_create_stub (ACE_ENV_SINGLE_ARG_PARAMETER); ACE_CHECK_RETURN (0); TAO_Stub_Auto_Ptr safe_stub (stub); CORBA::Object_ptr tmp = CORBA::Object::_nil (); if (stub->servant_orb_var ()->orb_core ()->optimize_collocation_objects ()) ACE_NEW_RETURN (tmp, CORBA::Object (stub, 1, this), 0); else ACE_NEW_RETURN (tmp, CORBA::Object (stub, 0, this), 0); CORBA::Object_var obj = tmp; (void) safe_stub.release (); return ::CORBA_ValueDef::_unchecked_narrow (obj.in ()); } class TAO_CORBA_ValueBoxDef_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); }; /* starting time is 23:00:08 */ /* C++ code produced by gperf version 2.8 (ACE version) */ /* Command-line: gperf -m -M -J -c -C -D -E -T -f 0 -F 0 -a -o -t -p -K opname_ -L C++ -Z TAO_CORBA_ValueBoxDef_Perfect_Hash_OpTable -N lookup */ unsigned int TAO_CORBA_ValueBoxDef_Perfect_Hash_OpTable::hash (const char *str, unsigned int len) { static const unsigned char asso_values[] = { #if defined (ACE_MVS) 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 0, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 0, 37, 37, 0, 0, 0, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 0, 0, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 10, 37, 37, 37, 37, 10, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, #else 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 0, 37, 0, 37, 37, 0, 0, 0, 37, 37, 37, 37, 37, 37, 0, 0, 37, 37, 37, 37, 37, 10, 37, 37, 37, 37, 10, 37, 37, 37, 37, 37, 37, #endif /* ACE_MVS */ }; return len + asso_values[str[len - 1]] + asso_values[str[0]]; } const class TAO_operation_db_entry * TAO_CORBA_ValueBoxDef_Perfect_Hash_OpTable::lookup (const char *str, unsigned int len) { enum { TOTAL_KEYWORDS = 19, MIN_WORD_LENGTH = 4, MAX_WORD_LENGTH = 26, MIN_HASH_VALUE = 4, MAX_HASH_VALUE = 36, HASH_VALUE_RANGE = 33, DUPLICATES = 6, WORDLIST_SIZE = 23 }; static const class TAO_operation_db_entry wordlist[] = { {"",0},{"",0},{"",0},{"",0}, {"move", &POA_CORBA_ValueBoxDef::move_skel}, {"_is_a", &POA_CORBA_ValueBoxDef::_is_a_skel}, {"_get_id", &POA_CORBA_ValueBoxDef::_get_id_skel}, {"_set_id", &POA_CORBA_ValueBoxDef::_set_id_skel}, {"describe", &POA_CORBA_ValueBoxDef::describe_skel}, {"_get_name", &POA_CORBA_ValueBoxDef::_get_name_skel}, {"_get_type", &POA_CORBA_ValueBoxDef::_get_type_skel}, {"_set_name", &POA_CORBA_ValueBoxDef::_set_name_skel}, {"_interface", &POA_CORBA_ValueBoxDef::_interface_skel}, {"_get_version", &POA_CORBA_ValueBoxDef::_get_version_skel}, {"_set_version", &POA_CORBA_ValueBoxDef::_set_version_skel}, {"_get_def_kind", &POA_CORBA_ValueBoxDef::_get_def_kind_skel}, {"_get_defined_in", &POA_CORBA_ValueBoxDef::_get_defined_in_skel}, {"destroy", &POA_CORBA_ValueBoxDef::destroy_skel}, {"_get_absolute_name", &POA_CORBA_ValueBoxDef::_get_absolute_name_skel}, {"_get_original_type_def", &POA_CORBA_ValueBoxDef::_get_original_type_def_skel}, {"_set_original_type_def", &POA_CORBA_ValueBoxDef::_set_original_type_def_skel}, {"_non_existent", &POA_CORBA_ValueBoxDef::_non_existent_skel}, {"_get_containing_repository", &POA_CORBA_ValueBoxDef::_get_containing_repository_skel}, }; static const signed char lookup[] = { -9, -3, -13, -2, 4, 5, -1, 53, 8, -45, 12, -1, -46, 15, -1, 16, -1, 17, 18, -1, -19, -2, -38, 21, -6, -2, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 22, }; if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH) { unsigned int key = hash (str, len); if (key <= MAX_HASH_VALUE && key >= MIN_HASH_VALUE) { int slot = lookup[key]; if (slot >= 0 && slot < WORDLIST_SIZE) { const char *s = wordlist[slot].opname_; if (*str == *s && !strncmp (str + 1, s + 1, len - 1)) return &wordlist[slot]; } else if (slot < 0 && slot >= -MAX_HASH_VALUE) return 0; else { unsigned int offset = key + slot + (slot > 0 ? -MAX_HASH_VALUE : MAX_HASH_VALUE); const class TAO_operation_db_entry *base = &wordlist[-lookup[offset]]; const class TAO_operation_db_entry *ptr = base + -lookup[offset + 1]; while (--ptr >= base) if (*str == *ptr->opname_ && !strncmp (str + 1, ptr->opname_ + 1, len - 1)) return ptr; } } } return 0; } /* ending time is 23:00:08 */ static TAO_CORBA_ValueBoxDef_Perfect_Hash_OpTable tao_CORBA_ValueBoxDef_optable; #if (TAO_HAS_INTERCEPTORS == 1) class TAO_ServerRequestInfo_CORBA_ValueBoxDef_original_type_def_get : public TAO_ServerRequestInfo { public: TAO_ServerRequestInfo_CORBA_ValueBoxDef_original_type_def_get ( TAO_ServerRequest &_tao_server_request, TAO_Object_Adapter::Servant_Upcall *tao_servant_upcall,POA_CORBA_ValueBoxDef *tao_impl ACE_ENV_ARG_DECL_WITH_DEFAULTS); virtual Dynamic::ParameterList * arguments ( ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) ACE_THROW_SPEC ((CORBA::SystemException)); virtual Dynamic::ExceptionList * exceptions ( ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) ACE_THROW_SPEC ((CORBA::SystemException)); virtual CORBA::Any * result ( ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) ACE_THROW_SPEC ((CORBA::SystemException)); virtual char * target_most_derived_interface ( ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) ACE_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_IDLType_ptr result); private: TAO_ServerRequestInfo_CORBA_ValueBoxDef_original_type_def_get (const TAO_ServerRequestInfo_CORBA_ValueBoxDef_original_type_def_get &); void operator= (const TAO_ServerRequestInfo_CORBA_ValueBoxDef_original_type_def_get &); private: POA_CORBA_ValueBoxDef *_tao_impl; CORBA_IDLType_ptr _result; }; TAO_ServerRequestInfo_CORBA_ValueBoxDef_original_type_def_get::TAO_ServerRequestInfo_CORBA_ValueBoxDef_original_type_def_get ( TAO_ServerRequest &_tao_server_request, TAO_Object_Adapter::Servant_Upcall *_tao_servant_upcall, POA_CORBA_ValueBoxDef *tao_impl ACE_ENV_ARG_DECL_NOT_USED ) : TAO_ServerRequestInfo (_tao_server_request, _tao_servant_upcall), _tao_impl (tao_impl) {} Dynamic::ParameterList * TAO_ServerRequestInfo_CORBA_ValueBoxDef_original_type_def_get::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_CORBA_ValueBoxDef_original_type_def_get::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_CORBA_ValueBoxDef_original_type_def_get::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) <<= this->_result; return safe_result_any._retn (); } char * TAO_ServerRequestInfo_CORBA_ValueBoxDef_original_type_def_get::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_CORBA_ValueBoxDef_original_type_def_get::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_CORBA_ValueBoxDef_original_type_def_get::result (CORBA_IDLType_ptr result) { // Update the result. this->_result = result; } class TAO_ServerRequestInfo_CORBA_ValueBoxDef_original_type_def_set : public TAO_ServerRequestInfo { public: TAO_ServerRequestInfo_CORBA_ValueBoxDef_original_type_def_set ( TAO_ServerRequest &_tao_server_request, TAO_Object_Adapter::Servant_Upcall *tao_servant_upcall,POA_CORBA_ValueBoxDef *tao_impl , CORBA_IDLType_ptr original_type_def 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_CORBA_ValueBoxDef_original_type_def_set (const TAO_ServerRequestInfo_CORBA_ValueBoxDef_original_type_def_set &); void operator= (const TAO_ServerRequestInfo_CORBA_ValueBoxDef_original_type_def_set &); private: POA_CORBA_ValueBoxDef *_tao_impl; CORBA_IDLType_ptr original_type_def_; }; TAO_ServerRequestInfo_CORBA_ValueBoxDef_original_type_def_set::TAO_ServerRequestInfo_CORBA_ValueBoxDef_original_type_def_set ( TAO_ServerRequest &_tao_server_request, TAO_Object_Adapter::Servant_Upcall *_tao_servant_upcall, POA_CORBA_ValueBoxDef *tao_impl, CORBA_IDLType_ptr original_type_def ACE_ENV_ARG_DECL_NOT_USED ) : TAO_ServerRequestInfo (_tao_server_request, _tao_servant_upcall), _tao_impl (tao_impl), original_type_def_ (original_type_def) {} Dynamic::ParameterList * TAO_ServerRequestInfo_CORBA_ValueBoxDef_original_type_def_set::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 <<= this->original_type_def_; (*parameter_list)[len].mode = CORBA::PARAM_IN; len++; return safe_parameter_list._retn (); } Dynamic::ExceptionList * TAO_ServerRequestInfo_CORBA_ValueBoxDef_original_type_def_set::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_CORBA_ValueBoxDef_original_type_def_set::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_CORBA_ValueBoxDef_original_type_def_set::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_CORBA_ValueBoxDef_original_type_def_set::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 // // Factory function Implementation. _TAO_CORBA_ValueBoxDef_Strategized_Proxy_Broker *_TAO_CORBA_ValueBoxDef_Strategized_Proxy_Broker::the_TAO_CORBA_ValueBoxDef_Strategized_Proxy_Broker (void) { static _TAO_CORBA_ValueBoxDef_Strategized_Proxy_Broker strategized_proxy_broker; return &strategized_proxy_broker; } _TAO_CORBA_ValueBoxDef_Strategized_Proxy_Broker::_TAO_CORBA_ValueBoxDef_Strategized_Proxy_Broker (void) { for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i) this->proxy_cache_[i] = 0; } _TAO_CORBA_ValueBoxDef_Strategized_Proxy_Broker::~_TAO_CORBA_ValueBoxDef_Strategized_Proxy_Broker (void) { for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i) delete this->proxy_cache_[i]; } _TAO_CORBA_ValueBoxDef_Proxy_Impl& _TAO_CORBA_ValueBoxDef_Strategized_Proxy_Broker::select_proxy ( ::CORBA_ValueBoxDef *object ACE_ENV_ARG_DECL ) { int strategy = TAO_ORB_Core::collocation_strategy (object ACE_ENV_ARG_PARAMETER); ACE_CHECK_RETURN (*this->proxy_cache_[strategy]); if (this->proxy_cache_[strategy] != 0) return *this->proxy_cache_[strategy]; this->create_proxy (strategy ACE_ENV_ARG_PARAMETER); ACE_CHECK_RETURN (*this->proxy_cache_[strategy]); return *this->proxy_cache_[strategy]; } void _TAO_CORBA_ValueBoxDef_Strategized_Proxy_Broker::create_proxy ( int strategy ACE_ENV_ARG_DECL ) { ACE_GUARD (TAO_SYNCH_MUTEX, guard, this->mutex_); if (this->proxy_cache_[strategy] == 0) { switch (strategy) { case TAO_Collocation_Strategies::CS_THRU_POA_STRATEGY: ACE_NEW_THROW_EX ( this->proxy_cache_[strategy], _TAO_CORBA_ValueBoxDef_ThruPOA_Proxy_Impl, CORBA::NO_MEMORY () ); ACE_CHECK; break; case TAO_Collocation_Strategies::CS_REMOTE_STRATEGY: default: ACE_NEW_THROW_EX ( this->proxy_cache_[strategy], ::_TAO_CORBA_ValueBoxDef_Remote_Proxy_Impl, CORBA::NO_MEMORY () ); ACE_CHECK; break; } } } // // End Strategized Proxy Broker Implementation /////////////////////////////////////////////////////////////////////// _TAO_CORBA_ValueBoxDef_Proxy_Broker * _TAO_CORBA_ValueBoxDef_Proxy_Broker_Factory_function (CORBA::Object_ptr obj) { ACE_UNUSED_ARG (obj); return ::_TAO_CORBA_ValueBoxDef_Strategized_Proxy_Broker::the_TAO_CORBA_ValueBoxDef_Strategized_Proxy_Broker(); } int _TAO_CORBA_ValueBoxDef_Proxy_Broker_Factory_Initializer (long) { _TAO_CORBA_ValueBoxDef_Proxy_Broker_Factory_function_pointer = _TAO_CORBA_ValueBoxDef_Proxy_Broker_Factory_function; return 0; } static int _TAO_CORBA_ValueBoxDef_Proxy_Broker_Stub_Factory_Initializer_Scarecrow = _TAO_CORBA_ValueBoxDef_Proxy_Broker_Factory_Initializer (ACE_reinterpret_cast (long, _TAO_CORBA_ValueBoxDef_Proxy_Broker_Factory_Initializer)); /////////////////////////////////////////////////////////////////////// // ThruPOA Proxy Implementation // _TAO_CORBA_ValueBoxDef_ThruPOA_Proxy_Impl::_TAO_CORBA_ValueBoxDef_ThruPOA_Proxy_Impl (void) {} // ThruPOA Implementation of the IDL interface methods CORBA_IDLType_ptr _TAO_CORBA_ValueBoxDef_ThruPOA_Proxy_Impl::original_type_def ( CORBA_Object *_collocated_tao_target_ ACE_ENV_ARG_DECL ) ACE_THROW_SPEC (( CORBA::SystemException )) { CORBA_IDLType_var _tao_retval; ACE_UNUSED_ARG (_tao_retval); TAO_Object_Adapter::Servant_Upcall servant_upcall ( _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core () ); CORBA::Object_var forward_to; servant_upcall.prepare_for_upcall ( _collocated_tao_target_->_object_key (), "original_type_def", forward_to.out () ACE_ENV_ARG_PARAMETER ); ACE_CHECK_RETURN (0); return ACE_reinterpret_cast ( POA_CORBA_ValueBoxDef_ptr, servant_upcall.servant ()->_downcast ( "IDL:omg.org/CORBA/ValueBoxDef:1.0" ) )->original_type_def ( ACE_ENV_SINGLE_ARG_PARAMETER ); } void _TAO_CORBA_ValueBoxDef_ThruPOA_Proxy_Impl::original_type_def ( CORBA_Object *_collocated_tao_target_, CORBA_IDLType_ptr original_type_def ACE_ENV_ARG_DECL ) ACE_THROW_SPEC (( CORBA::SystemException )) { TAO_Object_Adapter::Servant_Upcall servant_upcall ( _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core () ); CORBA::Object_var forward_to; servant_upcall.prepare_for_upcall ( _collocated_tao_target_->_object_key (), "original_type_def", forward_to.out () ACE_ENV_ARG_PARAMETER ); ACE_CHECK; ACE_reinterpret_cast ( POA_CORBA_ValueBoxDef_ptr, servant_upcall.servant ()->_downcast ( "IDL:omg.org/CORBA/ValueBoxDef:1.0" ) )->original_type_def ( original_type_def ACE_ENV_ARG_PARAMETER ); return; } // // End ThruPOA Proxy Implementation /////////////////////////////////////////////////////////////////////// // skeleton constructor POA_CORBA_ValueBoxDef::POA_CORBA_ValueBoxDef (void) { this->optable_ = &tao_CORBA_ValueBoxDef_optable; } // copy ctor POA_CORBA_ValueBoxDef::POA_CORBA_ValueBoxDef (const POA_CORBA_ValueBoxDef& rhs) : POA_CORBA_TypedefDef (rhs), POA_CORBA_Contained (rhs), POA_CORBA_IDLType (rhs), POA_CORBA_IRObject (rhs), TAO_ServantBase (rhs) {} // skeleton destructor POA_CORBA_ValueBoxDef::~POA_CORBA_ValueBoxDef (void) { } void POA_CORBA_ValueBoxDef::_get_original_type_def_skel ( TAO_ServerRequest &_tao_server_request, void *_tao_object_reference, void *_tao_servant_upcall ACE_ENV_ARG_DECL ) { POA_CORBA_ValueBoxDef *_tao_impl = ACE_static_cast (POA_CORBA_ValueBoxDef *, _tao_object_reference); CORBA_IDLType_var _tao_retval; #if (TAO_HAS_INTERCEPTORS == 1) TAO_Object_Adapter::Servant_Upcall *_tao_upcall = ACE_static_cast (TAO_Object_Adapter::Servant_Upcall *, _tao_servant_upcall); TAO_ServerRequestInterceptor_Adapter _tao_vfr ( _tao_server_request.orb_core ()->server_request_interceptors (), _tao_server_request.interceptor_count () ); TAO_ServerRequestInfo_CORBA_ValueBoxDef_original_type_def_get ri ( _tao_server_request, _tao_upcall, _tao_impl ACE_ENV_ARG_PARAMETER ); ACE_TRY { _tao_vfr.receive_request (&ri ACE_ENV_ARG_PARAMETER); ACE_TRY_CHECK; #endif /* TAO_HAS_INTERCEPTORS */ _tao_retval = _tao_impl->original_type_def ( ACE_ENV_SINGLE_ARG_PARAMETER ); TAO_INTERCEPTOR_CHECK; #if (TAO_HAS_INTERCEPTORS == 1) CORBA_IDLType_ptr _tao_retval_info = _tao_retval._retn (); ri.result (_tao_retval_info); _tao_retval = _tao_retval_info; ri.reply_status (PortableInterceptor::SUCCESSFUL); _tao_vfr.send_reply (&ri ACE_ENV_ARG_PARAMETER); ACE_TRY_CHECK; } ACE_CATCHANY { ri.exception (&ACE_ANY_EXCEPTION); _tao_vfr.send_exception ( &ri ACE_ENV_ARG_PARAMETER ); ACE_TRY_CHECK; PortableInterceptor::ReplyStatus _tao_status = ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER); ACE_TRY_CHECK; if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION || _tao_status == PortableInterceptor::USER_EXCEPTION) ACE_RE_THROW; } ACE_ENDTRY; ACE_CHECK; #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()); // In case _tao_servant_upcall is not used in this function ACE_UNUSED_ARG (_tao_servant_upcall); } void POA_CORBA_ValueBoxDef::_set_original_type_def_skel ( TAO_ServerRequest &_tao_server_request, void *_tao_object_reference, void *_tao_servant_upcall ACE_ENV_ARG_DECL ) { TAO_InputCDR &_tao_in = _tao_server_request.incoming (); POA_CORBA_ValueBoxDef *_tao_impl = ACE_static_cast (POA_CORBA_ValueBoxDef *, _tao_object_reference); _tao_server_request.argument_flag (0); CORBA_IDLType_var original_type_def; if (!( (_tao_in >> original_type_def.out ()) )) ACE_THROW (CORBA::MARSHAL()); #if (TAO_HAS_INTERCEPTORS == 1) TAO_Object_Adapter::Servant_Upcall *_tao_upcall = ACE_static_cast (TAO_Object_Adapter::Servant_Upcall *, _tao_servant_upcall); TAO_ServerRequestInterceptor_Adapter _tao_vfr ( _tao_server_request.orb_core ()->server_request_interceptors (), _tao_server_request.interceptor_count () ); TAO_ServerRequestInfo_CORBA_ValueBoxDef_original_type_def_set ri ( _tao_server_request, _tao_upcall, _tao_impl, original_type_def.in () ACE_ENV_ARG_PARAMETER ); ACE_TRY { _tao_vfr.receive_request (&ri ACE_ENV_ARG_PARAMETER); ACE_TRY_CHECK; #endif /* TAO_HAS_INTERCEPTORS */ _tao_impl->original_type_def ( original_type_def.in () ACE_ENV_ARG_PARAMETER ); TAO_INTERCEPTOR_CHECK; #if (TAO_HAS_INTERCEPTORS == 1) ri.reply_status (PortableInterceptor::SUCCESSFUL); _tao_vfr.send_reply (&ri ACE_ENV_ARG_PARAMETER); ACE_TRY_CHECK; } ACE_CATCHANY { ri.exception (&ACE_ANY_EXCEPTION); _tao_vfr.send_exception ( &ri ACE_ENV_ARG_PARAMETER ); ACE_TRY_CHECK; PortableInterceptor::ReplyStatus _tao_status = ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER); ACE_TRY_CHECK; if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION || _tao_status == PortableInterceptor::USER_EXCEPTION) ACE_RE_THROW; } ACE_ENDTRY; ACE_CHECK; #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); } void POA_CORBA_ValueBoxDef::_is_a_skel ( TAO_ServerRequest &_tao_server_request, void * _tao_object_reference, void * /* Servant_Upcall */ ACE_ENV_ARG_DECL ) { TAO_InputCDR &_tao_in = _tao_server_request.incoming (); POA_CORBA_ValueBoxDef *_tao_impl = (POA_CORBA_ValueBoxDef *) _tao_object_reference; CORBA::Boolean _tao_retval = 0; CORBA::String_var value; if (!(_tao_in >> value.out ())) ACE_THROW (CORBA::MARSHAL ()); _tao_retval = _tao_impl->_is_a (value.in () ACE_ENV_ARG_PARAMETER); ACE_CHECK; _tao_server_request.init_reply (); TAO_OutputCDR &_tao_out = _tao_server_request.outgoing (); if (!(_tao_out << CORBA::Any::from_boolean (_tao_retval))) ACE_THROW (CORBA::MARSHAL ()); } void POA_CORBA_ValueBoxDef::_non_existent_skel ( TAO_ServerRequest &_tao_server_request, void * _tao_object_reference, void * /* Servant_Upcall */ ACE_ENV_ARG_DECL ) { POA_CORBA_ValueBoxDef *_tao_impl = (POA_CORBA_ValueBoxDef *) _tao_object_reference; CORBA::Boolean _tao_retval = _tao_impl->_non_existent (ACE_ENV_SINGLE_ARG_PARAMETER); ACE_CHECK; _tao_server_request.init_reply (); TAO_OutputCDR &_tao_out = _tao_server_request.outgoing (); if (!(_tao_out << CORBA::Any::from_boolean (_tao_retval))) ACE_THROW (CORBA::MARSHAL ()); } void POA_CORBA_ValueBoxDef::_interface_skel ( TAO_ServerRequest &_tao_server_request, void * _tao_object_reference, void * /* Servant_Upcall */ ACE_ENV_ARG_DECL ) { POA_CORBA_ValueBoxDef *_tao_impl = (POA_CORBA_ValueBoxDef *) _tao_object_reference; CORBA_InterfaceDef_ptr _tao_retval = 0; CORBA::Boolean _tao_result = 0; TAO_IFR_Client_Adapter *_tao_adapter = ACE_Dynamic_Service::instance ( TAO_ORB_Core::ifr_client_adapter_name () ); if (_tao_adapter == 0) { ACE_THROW (CORBA::INTF_REPOS ()); } ACE_TRY { _tao_retval = _tao_impl->_get_interface (ACE_ENV_SINGLE_ARG_PARAMETER); ACE_TRY_CHECK; _tao_server_request.init_reply (); TAO_OutputCDR &_tao_out = _tao_server_request.outgoing (); _tao_result = _tao_adapter->interfacedef_cdr_insert ( _tao_out, _tao_retval ); } ACE_CATCHALL { _tao_adapter->dispose (_tao_retval); } ACE_ENDTRY; if (_tao_result == 0) { ACE_THROW (CORBA::MARSHAL ()); } } CORBA::Boolean POA_CORBA_ValueBoxDef::_is_a ( const char* value ACE_ENV_ARG_DECL ) { const char *base_id = CORBA::_tc_Object->id (ACE_ENV_SINGLE_ARG_PARAMETER); ACE_CHECK_RETURN (0); if ( (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/ValueBoxDef:1.0")) || (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/TypedefDef:1.0")) || (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/Contained:1.0")) || (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/IDLType:1.0")) || (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/IRObject:1.0")) || (!ACE_OS::strcmp ((char *)value, base_id))) return 1; else return 0; } void* POA_CORBA_ValueBoxDef::_downcast ( const char* logical_type_id ) { if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/ValueBoxDef:1.0") == 0) return ACE_static_cast (POA_CORBA_ValueBoxDef_ptr, this); if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/TypedefDef:1.0") == 0) return ACE_static_cast (POA_CORBA_TypedefDef_ptr, this); if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/Contained:1.0") == 0) return ACE_static_cast (POA_CORBA_Contained_ptr, this); if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/IDLType:1.0") == 0) return ACE_static_cast (POA_CORBA_IDLType_ptr, this); if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/IRObject:1.0") == 0) return ACE_static_cast (POA_CORBA_IRObject_ptr, this); if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/Object:1.0") == 0) return ACE_static_cast(PortableServer::Servant, this); return 0; } void POA_CORBA_ValueBoxDef::_dispatch (TAO_ServerRequest &req, void *servant_upcall ACE_ENV_ARG_DECL) { this->synchronous_upcall_dispatch (req, servant_upcall, this ACE_ENV_ARG_PARAMETER); } const char* POA_CORBA_ValueBoxDef::_interface_repository_id (void) const { return "IDL:omg.org/CORBA/ValueBoxDef:1.0"; } CORBA_ValueBoxDef* POA_CORBA_ValueBoxDef::_this (ACE_ENV_SINGLE_ARG_DECL) { TAO_Stub *stub = this->_create_stub (ACE_ENV_SINGLE_ARG_PARAMETER); ACE_CHECK_RETURN (0); TAO_Stub_Auto_Ptr safe_stub (stub); CORBA::Object_ptr tmp = CORBA::Object::_nil (); if (stub->servant_orb_var ()->orb_core ()->optimize_collocation_objects ()) ACE_NEW_RETURN (tmp, CORBA::Object (stub, 1, this), 0); else ACE_NEW_RETURN (tmp, CORBA::Object (stub, 0, this), 0); CORBA::Object_var obj = tmp; (void) safe_stub.release (); return ::CORBA_ValueBoxDef::_unchecked_narrow (obj.in ()); } #endif /* ifndef */