⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 monitor_signal_handler.h

📁 这是广泛使用的通信开源项目,对于大容量,高并发的通讯要求完全能够胜任,他广泛可用于网络游戏医学图像网关的高qos要求.更详细的内容可阅读相应的材料
💻 H
字号:
// -*- C++ -*-

//=============================================================================
/**
 * @file   Monitor_Signal_Handler.h
 *
 * Monitor_Signal_Handler.h,v 1.1 2002/10/02 16:56:32 ossama Exp
 *
 * @author Ossama Othman <ossama@uci.edu>
 */
//=============================================================================


#ifndef TAO_LB_MONITOR_SIGNAL_HANDLER_H
#define TAO_LB_MONITOR_SIGNAL_HANDLER_H

#include "Signal_Handler.h"

#if !defined (ACE_LACKS_PRAGMA_ONCE)
#pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */

#include "orbsvcs/CosLoadBalancingC.h"


/**
 * @class TAO_LB_Monitor_Signal_Handler
 *
 * @brief LoadMonitor-specific signal handler.
 *
 * This class simply builds on the TAO_LB_Signal_Handler class to add
 * some LoadMonitor-specific cleanup.
 */
class TAO_LB_Monitor_Signal_Handler : public TAO_LB_Signal_Handler
{
public:

  /// Constructor.
  TAO_LB_Monitor_Signal_Handler (
    CORBA::ORB_ptr orb,
    PortableServer::POA_ptr poa,
    CosLoadBalancing::LoadManager_ptr load_manager,
    const PortableGroup::Location & location);

protected:

  /// Template method that initiates the cleanup process.
  virtual int perform_cleanup (int signum);

private:

  /// Reference to the LoadManager with which the LoadMonitor is
  /// registered.
  CosLoadBalancing::LoadManager_var load_manager_;

  /// Reference to the location the LoadMonitor resides at.
  const PortableGroup::Location & location_;

};


#endif  /* TAO_LB_MONITOR_SIGNAL_HANDLER_H */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -