test_client_module.h
来自「这是广泛使用的通信开源项目,对于大容量,高并发的通讯要求完全能够胜任,他广泛可用」· C头文件 代码 · 共 66 行
H
66 行
// -*- C++ -*-
//=============================================================================
/**
* @file Test_Client_Module.h
*
* Test_Client_Module.h,v 1.3 2003/07/21 23:51:40 dhinton Exp
*
* @author Ossama Othman <ossama@uci.edu>
*/
//=============================================================================
#ifndef TEST_MODULE_H
#define TEST_MODULE_H
#include /**/ "ace/pre.h"
#include "Test_Client_Module_Export.h"
#if !defined (ACE_LACKS_PRAGMA_ONCE)
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */
#include "ace/Task.h"
#include "ace/Service_Config.h"
#include "TestC.h"
/**
* @class Test_Client_Module
*
* @brief The shared object that is instantiated when the client-side
* test module/library is dynamically loaded.
*
* This class invokes an operation on a "remote" CORBA object.
*/
class Test_Client_Module_Export Test_Client_Module : public ACE_Task_Base
{
public:
/// Initializes object when dynamic linking occurs.
virtual int init (int argc, ACE_TCHAR *argv[]);
/// Terminates object when dynamic unlinking occurs.
virtual int fini (void);
/// Run by a daemon thread to handle deferred processing.
virtual int svc (void);
private:
/// Reference to the ORB.
CORBA::ORB_var orb_;
/// Reference to the test object.
Test_var test_;
};
ACE_FACTORY_DECLARE (Test_Client_Module, Test_Client_Module)
#include /**/ "ace/post.h"
#endif /* TEST_MODULE_H */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?