lb_clientcomponent.h
来自「这是广泛使用的通信开源项目,对于大容量,高并发的通讯要求完全能够胜任,他广泛可用」· C头文件 代码 · 共 66 行
H
66 行
// -*- C++ -*-
//=============================================================================
/**
* @file LB_ClientComponent.h
*
* LB_ClientComponent.h,v 1.2 2003/07/21 23:51:31 dhinton Exp
* @author Ossama Othman <ossama@uci.edu>
*/
//=============================================================================
#ifndef TAO_LB_CLIENTCOMPONENT_H
#define TAO_LB_CLIENTCOMPONENT_H
#include /**/ "ace/pre.h"
#include "orbsvcs/LoadBalancing/LoadBalancing_export.h"
#if !defined (ACE_LACKS_PRAGMA_ONCE)
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */
#include "orbsvcs/LB_ORTC.h"
#include "ace/Service_Object.h"
#include "ace/Service_Config.h"
/**
* @class TAO_LB_ClientComponent
*
* @brief Service_Object that can be used to add load balancer support
* to a CORBA-based client.
*
* CORBA applications wishing to transparently add load shedding support
* can load this object via the ACE_Service_Configurator (e.g. by
* listing it in a `svc.conf' file).
*/
class TAO_LoadBalancing_Export TAO_LB_ClientComponent
: public ACE_Service_Object
{
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);
protected:
/// Register the LB_ClientComponent's ORBInitializer.
int register_orb_initializer (void);
};
ACE_STATIC_SVC_DECLARE_EXPORT (TAO_LoadBalancing, TAO_LB_ClientComponent)
ACE_STATIC_SVC_REQUIRE (TAO_LB_ClientComponent)
ACE_FACTORY_DECLARE (TAO_LoadBalancing, TAO_LB_ClientComponent)
#include /**/ "ace/post.h"
#endif /* TAO_LB_CLIENTCOMPONENT_H */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?