本文整理汇总了C++中TAO_ServerRequest::operation_details方法的典型用法代码示例。如果您正苦于以下问题:C++ TAO_ServerRequest::operation_details方法的具体用法?C++ TAO_ServerRequest::operation_details怎么用?C++ TAO_ServerRequest::operation_details使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类TAO_ServerRequest
的用法示例。
在下文中一共展示了TAO_ServerRequest::operation_details方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: command
void POA_Test::Peer::create_session_skel (
TAO_ServerRequest & server_request,
TAO::Portable_Server::Servant_Upcall *TAO_INTERCEPTOR (servant_upcall),
TAO_ServantBase *servant)
{
#if TAO_HAS_INTERCEPTORS == 1
static ::CORBA::TypeCode_ptr const * const exceptions = 0;
static ::CORBA::ULong const nexceptions = 0;
#endif /* TAO_HAS_INTERCEPTORS */
TAO::SArg_Traits< ::Test::Session>::ret_val retval;
TAO::SArg_Traits< ::Test::Session_Control>::in_arg_val _tao_control;
TAO::SArg_Traits< ::CORBA::ULong>::in_arg_val _tao_payload_size;
TAO::SArg_Traits< ::CORBA::ULong>::in_arg_val _tao_thread_count;
TAO::SArg_Traits< ::CORBA::ULong>::in_arg_val _tao_message_count;
TAO::SArg_Traits< ::CORBA::ULong>::in_arg_val _tao_peer_count;
TAO::Argument * const args[] =
{
&retval,
&_tao_control,
&_tao_payload_size,
&_tao_thread_count,
&_tao_message_count,
&_tao_peer_count
};
static size_t const nargs = 6;
POA_Test::Peer * const impl =
dynamic_cast<POA_Test::Peer *> (servant);
if (!impl)
{
throw ::CORBA::INTERNAL ();
}
create_session_Peer command (
impl,
server_request.operation_details (),
args);
TAO::Upcall_Wrapper upcall_wrapper;
upcall_wrapper.upcall (server_request
, args
, nargs
, command
#if TAO_HAS_INTERCEPTORS == 1
, servant_upcall
, exceptions
, nexceptions
#endif /* TAO_HAS_INTERCEPTORS == 1 */
);
}
示例2: command
void POA_CosEventChannelFactory::ChannelFactory::create_skel (
TAO_ServerRequest & server_request,
TAO::Portable_Server::Servant_Upcall *TAO_INTERCEPTOR (servant_upcall),
TAO_ServantBase *servant)
{
#if TAO_HAS_INTERCEPTORS == 1
static ::CORBA::TypeCode_ptr const exceptions[] =
{
CosEventChannelFactory::_tc_DuplicateChannel,
CosEventChannelFactory::_tc_BindFailed
};
static ::CORBA::ULong const nexceptions = 2;
#endif /* TAO_HAS_INTERCEPTORS */
TAO::SArg_Traits< ::CosEventChannelAdmin::EventChannel>::ret_val retval;
TAO::SArg_Traits< char *>::in_arg_val _tao_channel_id;
TAO::SArg_Traits< ::ACE_InputCDR::to_boolean>::in_arg_val _tao_store_in_naming_service;
TAO::Argument * const args[] =
{
&retval,
&_tao_channel_id,
&_tao_store_in_naming_service
};
static size_t const nargs = 3;
POA_CosEventChannelFactory::ChannelFactory * const impl =
dynamic_cast<POA_CosEventChannelFactory::ChannelFactory *> (servant);
if (!impl)
{
throw ::CORBA::INTERNAL ();
}
create_ChannelFactory command (
impl,
server_request.operation_details (),
args);
TAO::Upcall_Wrapper upcall_wrapper;
upcall_wrapper.upcall (server_request
, args
, nargs
, command
#if TAO_HAS_INTERCEPTORS == 1
, servant_upcall
, exceptions
, nexceptions
#endif /* TAO_HAS_INTERCEPTORS == 1 */
);
}
示例3: server_test_skel
void POA_Test::server_test_skel (
TAO_ServerRequest & server_request,
TAO::Portable_Server::Servant_Upcall *TAO_INTERCEPTOR (servant_upcall),
TAO_ServantBase *servant)
{
#if TAO_HAS_INTERCEPTORS == 1
static ::CORBA::TypeCode_ptr const exceptions[] =
{
Test::_tc_X,
Test::_tc_UnknownScenario
};
static ::CORBA::ULong const nexceptions = 2;
#endif /* TAO_HAS_INTERCEPTORS */
TAO::SArg_Traits< void>::ret_val retval;
TAO::SArg_Traits< ::CORBA::Short>::in_arg_val _tao_scenario;
TAO::SArg_Traits< ::CORBA::ULongSeq>::out_arg_val _tao_myseq;
TAO::Argument * const args[] =
{
&retval,
&_tao_scenario,
&_tao_myseq
};
static size_t const nargs = 3;
POA_Test * const impl =
dynamic_cast<POA_Test *> (servant);
if (!impl)
{
throw ::CORBA::INTERNAL ();
}
server_test_Test command (
impl,
server_request.operation_details (),
args);
TAO::Upcall_Wrapper upcall_wrapper;
upcall_wrapper.upcall (server_request
, args
, nargs
, command
#if TAO_HAS_INTERCEPTORS == 1
, servant_upcall
, exceptions
, nexceptions
#endif /* TAO_HAS_INTERCEPTORS == 1 */
);
}
示例4: command
void POA_A::AMI_Test::foo_skel (
TAO_ServerRequest & server_request,
TAO::Portable_Server::Servant_Upcall *TAO_INTERCEPTOR (servant_upcall),
TAO_ServantBase *servant)
{
#if TAO_HAS_INTERCEPTORS == 1
static ::CORBA::TypeCode_ptr const * const exceptions = 0;
static ::CORBA::ULong const nexceptions = 0;
#endif /* TAO_HAS_INTERCEPTORS */
TAO::SArg_Traits< ::CORBA::Long>::ret_val retval;
TAO::SArg_Traits< ::CORBA::Long>::out_arg_val _tao_out_l;
TAO::SArg_Traits< ::CORBA::Long>::in_arg_val _tao_in_l;
TAO::SArg_Traits< char *>::in_arg_val _tao_in_str;
TAO::SArg_Traits< ::A::Payload>::in_arg_val _tao_the_payload;
TAO::Argument * const args[] =
{
&retval,
&_tao_out_l,
&_tao_in_l,
&_tao_in_str,
&_tao_the_payload
};
static size_t const nargs = 5;
POA_A::AMI_Test * const impl =
dynamic_cast<POA_A::AMI_Test *> (servant);
if (!impl)
{
throw ::CORBA::INTERNAL ();
}
foo_AMI_Test command (
impl,
server_request.operation_details (),
args);
TAO::Upcall_Wrapper upcall_wrapper;
upcall_wrapper.upcall (server_request
, args
, nargs
, command
#if TAO_HAS_INTERCEPTORS == 1
, servant_upcall
, exceptions
, nexceptions
#endif /* TAO_HAS_INTERCEPTORS == 1 */
);
}
示例5: command
void POA_Test::A::arr_method_s_skel (
TAO_ServerRequest & server_request,
TAO::Portable_Server::Servant_Upcall *TAO_INTERCEPTOR (servant_upcall),
TAO_ServantBase *servant)
{
#if TAO_HAS_INTERCEPTORS == 1
static ::CORBA::TypeCode_ptr const * const exceptions = 0;
static ::CORBA::ULong const nexceptions = 0;
#endif /* TAO_HAS_INTERCEPTORS */
TAO::SArg_Traits< ::Test::arr_bds_str_tag>::ret_val retval;
TAO::SArg_Traits< ::Test::A::FailOn>::in_arg_val _tao_where;
TAO::SArg_Traits< ::Test::arr_bds_str_tag>::in_arg_val _tao_arg1;
TAO::SArg_Traits< ::Test::arr_bds_str_tag>::out_arg_val _tao_arg2;
TAO::SArg_Traits< ::Test::arr_bds_str_tag>::inout_arg_val _tao_arg3;
TAO::Argument * const args[] =
{
&retval,
&_tao_where,
&_tao_arg1,
&_tao_arg2,
&_tao_arg3
};
static size_t const nargs = 5;
POA_Test::A * const impl =
dynamic_cast<POA_Test::A *> (servant);
if (!impl)
{
throw ::CORBA::INTERNAL ();
}
arr_method_s_A command (
impl,
server_request.operation_details (),
args);
TAO::Upcall_Wrapper upcall_wrapper;
upcall_wrapper.upcall (server_request
, args
, nargs
, command
#if TAO_HAS_INTERCEPTORS == 1
, servant_upcall
, exceptions
, nexceptions
#endif /* TAO_HAS_INTERCEPTORS == 1 */
);
}
示例6: test_method_skel
void POA_Simple_Server::test_method_skel (
TAO_ServerRequest & server_request,
TAO::Portable_Server::Servant_Upcall *TAO_INTERCEPTOR (servant_upcall),
TAO_ServantBase *servant)
{
#if TAO_HAS_INTERCEPTORS == 1
static ::CORBA::TypeCode_ptr const * const exceptions = 0;
static ::CORBA::ULong const nexceptions = 0;
#endif /* TAO_HAS_INTERCEPTORS */
TAO::SArg_Traits< ::CORBA::Long>::ret_val retval;
TAO::SArg_Traits< ::ACE_InputCDR::to_boolean>::in_arg_val _tao_do_callback;
TAO::SArg_Traits< ::ACE_InputCDR::to_boolean>::in_arg_val _tao_is_clean;
TAO::SArg_Traits< ::Callback>::in_arg_val _tao_cb;
TAO::Argument * const args[] =
{
&retval,
&_tao_do_callback,
&_tao_is_clean,
&_tao_cb
};
static size_t const nargs = 4;
POA_Simple_Server * const impl =
dynamic_cast<POA_Simple_Server *> (servant);
if (!impl)
{
throw ::CORBA::INTERNAL ();
}
test_method_Simple_Server command (
impl,
server_request.operation_details (),
args);
TAO::Upcall_Wrapper upcall_wrapper;
upcall_wrapper.upcall (server_request
, args
, nargs
, command
#if TAO_HAS_INTERCEPTORS == 1
, servant_upcall
, exceptions
, nexceptions
#endif /* TAO_HAS_INTERCEPTORS == 1 */
);
}
示例7: send_message_skel
void POA_Messenger::send_message_skel (
TAO_ServerRequest & server_request,
TAO::Portable_Server::Servant_Upcall *TAO_INTERCEPTOR (servant_upcall),
TAO_ServantBase *servant)
{
#if TAO_HAS_INTERCEPTORS == 1
static ::CORBA::TypeCode_ptr const * const exceptions = 0;
static ::CORBA::ULong const nexceptions = 0;
#endif /* TAO_HAS_INTERCEPTORS */
TAO::SArg_Traits< ::ACE_InputCDR::to_boolean>::ret_val retval;
TAO::SArg_Traits< char *>::in_arg_val _tao_user_name;
TAO::SArg_Traits< char *>::in_arg_val _tao_subject;
TAO::SArg_Traits< char *>::inout_arg_val _tao_message;
TAO::Argument * const args[] =
{
&retval,
&_tao_user_name,
&_tao_subject,
&_tao_message
};
static size_t const nargs = 4;
POA_Messenger * const impl =
dynamic_cast<POA_Messenger *> (servant);
if (!impl)
{
throw ::CORBA::INTERNAL ();
}
send_message_Messenger command (
impl,
server_request.operation_details (),
args);
TAO::Upcall_Wrapper upcall_wrapper;
upcall_wrapper.upcall (server_request
, args
, nargs
, command
#if TAO_HAS_INTERCEPTORS == 1
, servant_upcall
, exceptions
, nexceptions
#endif /* TAO_HAS_INTERCEPTORS == 1 */
);
}
示例8: set_skel
void POA_Grid::set_skel (
TAO_ServerRequest & server_request,
TAO::Portable_Server::Servant_Upcall *TAO_INTERCEPTOR (servant_upcall),
TAO_ServantBase *servant)
{
#if TAO_HAS_INTERCEPTORS == 1
static ::CORBA::TypeCode_ptr const * const exceptions = 0;
static ::CORBA::ULong const nexceptions = 0;
#endif /* TAO_HAS_INTERCEPTORS */
TAO::SArg_Traits< void>::ret_val retval;
TAO::SArg_Traits< ::CORBA::Short>::in_arg_val _tao_n;
TAO::SArg_Traits< ::CORBA::Short>::in_arg_val _tao_m;
TAO::SArg_Traits< ::CORBA::Long>::in_arg_val _tao_value;
TAO::Argument * const args[] =
{
&retval,
&_tao_n,
&_tao_m,
&_tao_value
};
static size_t const nargs = 4;
POA_Grid * const impl =
dynamic_cast<POA_Grid *> (servant);
if (!impl)
{
throw ::CORBA::INTERNAL ();
}
set_Grid command (
impl,
server_request.operation_details (),
args);
TAO::Upcall_Wrapper upcall_wrapper;
upcall_wrapper.upcall (server_request
, args
, nargs
, command
#if TAO_HAS_INTERCEPTORS == 1
, servant_upcall
, exceptions
, nexceptions
#endif /* TAO_HAS_INTERCEPTORS == 1 */
);
}
示例9: command
void POA_Quoter::Stock_Factory::get_stock_skel (
TAO_ServerRequest & server_request,
TAO::Portable_Server::Servant_Upcall *TAO_INTERCEPTOR (servant_upcall),
TAO_ServantBase *servant)
{
#if TAO_HAS_INTERCEPTORS == 1
static ::CORBA::TypeCode_ptr const exceptions[] =
{
Quoter::_tc_Invalid_Stock_Symbol
};
static ::CORBA::ULong const nexceptions = 1;
#endif /* TAO_HAS_INTERCEPTORS */
TAO::SArg_Traits< ::Quoter::Stock>::ret_val retval;
TAO::SArg_Traits< char *>::in_arg_val _tao_stock_symbol;
TAO::Argument * const args[] =
{
&retval,
&_tao_stock_symbol
};
static size_t const nargs = 2;
POA_Quoter::Stock_Factory * const impl =
dynamic_cast<POA_Quoter::Stock_Factory *> (servant);
if (!impl)
{
throw ::CORBA::INTERNAL ();
}
get_stock_Stock_Factory command (
impl,
server_request.operation_details (),
args);
TAO::Upcall_Wrapper upcall_wrapper;
upcall_wrapper.upcall (server_request
, args
, nargs
, command
#if TAO_HAS_INTERCEPTORS == 1
, servant_upcall
, exceptions
, nexceptions
#endif /* TAO_HAS_INTERCEPTORS == 1 */
);
}
示例10: command
void POA_Bank::Account::withdraw_skel (
TAO_ServerRequest & server_request,
TAO::Portable_Server::Servant_Upcall *TAO_INTERCEPTOR (servant_upcall),
TAO_ServantBase *servant)
{
#if TAO_HAS_INTERCEPTORS == 1
static ::CORBA::TypeCode_ptr const exceptions[] =
{
Bank::Account::_tc_Overdraft
};
static ::CORBA::ULong const nexceptions = 1;
#endif /* TAO_HAS_INTERCEPTORS */
TAO::SArg_Traits< void>::ret_val retval;
TAO::SArg_Traits< ::CORBA::Float>::in_arg_val _tao_amount;
TAO::Argument * const args[] =
{
&retval,
&_tao_amount
};
static size_t const nargs = 2;
POA_Bank::Account * const impl =
dynamic_cast<POA_Bank::Account *> (servant);
if (!impl)
{
throw ::CORBA::INTERNAL ();
}
withdraw_Account command (
impl,
server_request.operation_details (),
args);
TAO::Upcall_Wrapper upcall_wrapper;
upcall_wrapper.upcall (server_request
, args
, nargs
, command
#if TAO_HAS_INTERCEPTORS == 1
, servant_upcall
, exceptions
, nexceptions
#endif /* TAO_HAS_INTERCEPTORS == 1 */
);
}
示例11: yadda_skel
void POA_MT_Object::yadda_skel (
TAO_ServerRequest & server_request,
TAO::Portable_Server::Servant_Upcall *TAO_INTERCEPTOR (servant_upcall),
TAO_ServantBase *servant)
{
#if TAO_HAS_INTERCEPTORS == 1
static ::CORBA::TypeCode_ptr const * const exceptions = 0;
static ::CORBA::ULong const nexceptions = 0;
#endif /* TAO_HAS_INTERCEPTORS */
TAO::SArg_Traits< ::CORBA::Long>::ret_val retval;
TAO::SArg_Traits< ::CORBA::Long>::in_arg_val _tao_hop_count;
TAO::SArg_Traits< ::MT_Object>::in_arg_val _tao_partner;
TAO::Argument * const args[] =
{
&retval,
&_tao_hop_count,
&_tao_partner
};
static size_t const nargs = 3;
POA_MT_Object * const impl =
dynamic_cast<POA_MT_Object *> (servant);
if (!impl)
{
throw ::CORBA::INTERNAL ();
}
yadda_MT_Object command (
impl,
server_request.operation_details (),
args);
TAO::Upcall_Wrapper upcall_wrapper;
upcall_wrapper.upcall (server_request
, args
, nargs
, command
#if TAO_HAS_INTERCEPTORS == 1
, servant_upcall
, exceptions
, nexceptions
#endif /* TAO_HAS_INTERCEPTORS == 1 */
);
}
示例12: command
void POA_Test_Interceptors::Visual::calculate_skel (
TAO_ServerRequest & server_request,
TAO::Portable_Server::Servant_Upcall *TAO_INTERCEPTOR (servant_upcall),
TAO_ServantBase *servant)
{
#if TAO_HAS_INTERCEPTORS == 1
static ::CORBA::TypeCode_ptr const * const exceptions = 0;
static ::CORBA::ULong const nexceptions = 0;
#endif /* TAO_HAS_INTERCEPTORS */
TAO::SArg_Traits< ::CORBA::Long>::ret_val retval;
TAO::SArg_Traits< ::CORBA::Long>::in_arg_val _tao_one;
TAO::SArg_Traits< ::CORBA::Long>::in_arg_val _tao_two;
TAO::Argument * const args[] =
{
&retval,
&_tao_one,
&_tao_two
};
static size_t const nargs = 3;
POA_Test_Interceptors::Visual * const impl =
dynamic_cast<POA_Test_Interceptors::Visual *> (servant);
if (!impl)
{
throw ::CORBA::INTERNAL ();
}
calculate_Visual command (
impl,
server_request.operation_details (),
args);
TAO::Upcall_Wrapper upcall_wrapper;
upcall_wrapper.upcall (server_request
, args
, nargs
, command
#if TAO_HAS_INTERCEPTORS == 1
, servant_upcall
, exceptions
, nexceptions
#endif /* TAO_HAS_INTERCEPTORS == 1 */
);
}
示例13: command
void POA_Test::Roundtrip::test_double_method_skel (
TAO_ServerRequest & server_request,
TAO::Portable_Server::Servant_Upcall *TAO_INTERCEPTOR (servant_upcall),
TAO_ServantBase *servant)
{
#if TAO_HAS_INTERCEPTORS == 1
static ::CORBA::TypeCode_ptr const * const exceptions = 0;
static ::CORBA::ULong const nexceptions = 0;
#endif /* TAO_HAS_INTERCEPTORS */
TAO::SArg_Traits< ::CORBA::ULongLong>::ret_val retval;
TAO::SArg_Traits< ::Test::double_load>::in_arg_val _tao_ol;
TAO::SArg_Traits< ::CORBA::ULongLong>::in_arg_val _tao_send_time;
TAO::Argument * const args[] =
{
&retval,
&_tao_ol,
&_tao_send_time
};
static size_t const nargs = 3;
POA_Test::Roundtrip * const impl =
dynamic_cast<POA_Test::Roundtrip *> (servant);
if (!impl)
{
throw ::CORBA::INTERNAL ();
}
test_double_method_Roundtrip command (
impl,
server_request.operation_details (),
args);
TAO::Upcall_Wrapper upcall_wrapper;
upcall_wrapper.upcall (server_request
, args
, nargs
, command
#if TAO_HAS_INTERCEPTORS == 1
, servant_upcall
, exceptions
, nexceptions
#endif /* TAO_HAS_INTERCEPTORS == 1 */
);
}
示例14: command
void POA_OASIS::DataChannel::unregister_einode_skel (
TAO_ServerRequest & server_request,
TAO::Portable_Server::Servant_Upcall *TAO_INTERCEPTOR (servant_upcall),
TAO_ServantBase *servant)
{
#if TAO_HAS_INTERCEPTORS == 1
static ::CORBA::TypeCode_ptr const * const exceptions = 0;
static ::CORBA::ULong const nexceptions = 0;
#endif /* TAO_HAS_INTERCEPTORS */
TAO::SArg_Traits< void>::ret_val retval;
TAO::SArg_Traits< ::OASIS::UUID>::in_arg_val _tao_uuid;
TAO::Argument * const args[] =
{
&retval,
&_tao_uuid
};
static size_t const nargs = 2;
POA_OASIS::DataChannel * const impl =
dynamic_cast<POA_OASIS::DataChannel *> (servant);
if (!impl)
{
throw ::CORBA::INTERNAL ();
}
unregister_einode_DataChannel command (
impl,
server_request.operation_details (),
args);
TAO::Upcall_Wrapper upcall_wrapper;
upcall_wrapper.upcall (server_request
, args
, nargs
, command
#if TAO_HAS_INTERCEPTORS == 1
, servant_upcall
, exceptions
, nexceptions
#endif /* TAO_HAS_INTERCEPTORS == 1 */
);
}
示例15: command
void POA_Test::McastHello::send_large_octet_array_skel (
TAO_ServerRequest & server_request,
TAO::Portable_Server::Servant_Upcall *TAO_INTERCEPTOR (servant_upcall),
TAO_ServantBase *servant)
{
#if TAO_HAS_INTERCEPTORS == 1
static ::CORBA::TypeCode_ptr const * const exceptions = 0;
static ::CORBA::ULong const nexceptions = 0;
#endif /* TAO_HAS_INTERCEPTORS */
TAO::SArg_Traits< void>::ret_val retval;
TAO::SArg_Traits< ::Test::Octets>::in_arg_val _tao_payload;
TAO::Argument * const args[] =
{
&retval,
&_tao_payload
};
static size_t const nargs = 2;
POA_Test::McastHello * const impl =
dynamic_cast<POA_Test::McastHello *> (servant);
if (!impl)
{
throw ::CORBA::INTERNAL ();
}
send_large_octet_array_McastHello command (
impl,
server_request.operation_details (),
args);
TAO::Upcall_Wrapper upcall_wrapper;
upcall_wrapper.upcall (server_request
, args
, nargs
, command
#if TAO_HAS_INTERCEPTORS == 1
, servant_upcall
, exceptions
, nexceptions
#endif /* TAO_HAS_INTERCEPTORS == 1 */
);
}