smart_test_factory.cpp
来自「这是广泛使用的通信开源项目,对于大容量,高并发的通讯要求完全能够胜任,他广泛可用」· C++ 代码 · 共 28 行
CPP
28 行
//Smart_Test_Factory.cpp,v 1.4 2002/01/29 20:21:11 okellogg Exp
#define ACE_BUILD_SVC_DLL
#include "Smart_Test_Factory.h"
Smart_Test_Factory::Smart_Test_Factory (void)
{
ACE_DEBUG ((LM_DEBUG,
"Smart_Test_Factory\n"));
}
Test_ptr
Smart_Test_Factory::create_proxy (Test_ptr proxy
ACE_ENV_ARG_DECL_NOT_USED)
{
ACE_DEBUG ((LM_DEBUG,
"create_smart_proxy\n"));
if (CORBA::is_nil (proxy) == 0)
ACE_NEW_RETURN (proxy, Smart_Test_Proxy (proxy), 0);
return proxy;
}
// The following Factory is used by the <ACE_Service_Config> to
// dynamically initialize the state of the Smart_Proxy_Factory
ACE_SVC_FACTORY_DEFINE (Smart_Test_Factory)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?