rtserver_setup.cpp
来自「这是广泛使用的通信开源项目,对于大容量,高并发的通讯要求完全能够胜任,他广泛可用」· C++ 代码 · 共 56 行
CPP
56 行
/**
* @file RTServer_Setup.cpp
*
* RTServer_Setup.cpp,v 1.9 2003/09/15 20:31:38 fields_t Exp
*
* @author Carlos O'Ryan <coryan@uci.edu>
*/
#include "RTServer_Setup.h"
#include "RIR_Narrow.h"
#include "tao/RTCORBA/RTCORBA.h"
#include "ace/Log_Msg.h"
#if !defined(__ACE_INLINE__)
#include "RTServer_Setup.inl"
#endif /* __ACE_INLINE__ */
ACE_RCSID(TAO_PERF_RTEC, RTServer_Setup, "RTServer_Setup.cpp,v 1.9 2003/09/15 20:31:38 fields_t Exp")
RTServer_Setup::RTServer_Setup (int use_rt_corba,
CORBA::ORB_ptr orb,
const RT_Class &rt_class,
int nthreads
ACE_ENV_ARG_DECL)
: RTClient_Setup (use_rt_corba,
orb,
rt_class,
nthreads
ACE_ENV_ARG_PARAMETER)
{
ACE_CHECK;
if (use_rt_corba)
{
ACE_AUTO_PTR_RESET (this->rtpoa_setup_,
new RTPOA_Setup (orb,
*this->rtcorba_setup ()
ACE_ENV_ARG_PARAMETER),
RTPOA_Setup
);
ACE_CHECK;
this->poa_ =
this->rtpoa_setup_->poa ();
}
else
{
this->poa_ =
RIR_Narrow<RTPortableServer::POA>::resolve (orb,
"RootPOA"
ACE_ENV_ARG_PARAMETER);
ACE_CHECK;
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?