::CORBA::Long Simple_Server::test_method ( ::CORBA::Long x) { if (!this->is_evaluated ()) { ::CORBA::Object::tao_object_initialize (this); } TAO::Arg_Traits< ::CORBA::Long>::ret_val _tao_retval; TAO::Arg_Traits< ::CORBA::Long>::in_arg_val _tao_x (x); TAO::Argument *_the_tao_operation_signature [] = { &_tao_retval, &_tao_x }; TAO::Invocation_Adapter _tao_call ( this, _the_tao_operation_signature, 2, "test_method", 11, TAO::TAO_CO_NONE | TAO::TAO_CO_THRU_POA_STRATEGY ); _tao_call.invoke (0, 0); return _tao_retval.retn (); }
::CORBA::Long Calculator::division ( ::CORBA::Long x, ::CORBA::Long y) { if (!this->is_evaluated ()) { ::CORBA::Object::tao_object_initialize (this); } if (this->the_TAO_Calculator_Proxy_Broker_ == 0) { Calculator_setup_collocation (); } TAO::Arg_Traits< ::CORBA::Long>::ret_val _tao_retval; TAO::Arg_Traits< ::CORBA::Long>::in_arg_val _tao_x (x); TAO::Arg_Traits< ::CORBA::Long>::in_arg_val _tao_y (y); TAO::Argument *_the_tao_operation_signature [] = { &_tao_retval, &_tao_x, &_tao_y }; TAO::Invocation_Adapter _tao_call ( this, _the_tao_operation_signature, 3, "division", 8, this->the_TAO_Calculator_Proxy_Broker_ ); _tao_call.invoke (0, 0); return _tao_retval.retn (); }