test_i.h
来自「这是广泛使用的通信开源项目,对于大容量,高并发的通讯要求完全能够胜任,他广泛可用」· C头文件 代码 · 共 46 行
H
46 行
//=============================================================================
/**
* @file test_i.h
*
* test_i.h,v 1.4 2002/01/29 20:21:11 okellogg Exp
*
* @author Irfan Pyarali
*/
// ===================================================================
#include "testS.h"
class test_i :
public POA_test,
public PortableServer::RefCountServantBase
{
public:
/// Constructor.
test_i (CORBA::ORB_ptr orb,
PortableServer::POA_ptr poa,
long msec_sleep);
/// Test method.
CORBA::Long method (CORBA::Long client_id,
CORBA::Long iteration
ACE_ENV_ARG_DECL_NOT_USED)
ACE_THROW_SPEC ((CORBA::SystemException));
/// Shutdown the server.
void shutdown (ACE_ENV_SINGLE_ARG_DECL_NOT_USED)
ACE_THROW_SPEC ((CORBA::SystemException));
/// Our POA.
PortableServer::POA_ptr _default_POA (ACE_ENV_SINGLE_ARG_DECL);
private:
/// ORB.
CORBA::ORB_var orb_;
/// Our POA.
PortableServer::POA_var poa_;
/// Time spent in executing the upcall.
ACE_Time_Value nap_time_;
};
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?