本文整理汇总了C++中TAO_ServerRequest::orb_core方法的典型用法代码示例。如果您正苦于以下问题:C++ TAO_ServerRequest::orb_core方法的具体用法?C++ TAO_ServerRequest::orb_core怎么用?C++ TAO_ServerRequest::orb_core使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类TAO_ServerRequest
的用法示例。
在下文中一共展示了TAO_ServerRequest::orb_core方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1:
void
TAO_AMH_Response_Handler::init(TAO_ServerRequest &server_request,
TAO_AMH_BUFFER_ALLOCATOR* allocator)
{
mesg_base_ = server_request.mesg_base_;
request_id_ = server_request.request_id_;
response_expected_ = server_request.response_expected_;
transport_ = server_request.transport ();
orb_core_ = server_request.orb_core ();
allocator_ = allocator;
TAO_GIOP_Message_Version v;
server_request.outgoing()->get_version(v);
this->_tao_out.set_version(v.major, v.minor);
this->transport_->assign_translators (0, &this->_tao_out);
this->transport_->add_reference ();
}
示例2:
TAO_AMH_DSI_Response_Handler::TAO_AMH_DSI_Response_Handler (
TAO_ServerRequest & sr)
: TAO_AMH_Response_Handler (),
orb_core_ (sr.orb_core ())
{
}