ins_locator.h

来自「这是广泛使用的通信开源项目,对于大容量,高并发的通讯要求完全能够胜任,他广泛可用」· C头文件 代码 · 共 50 行

H
50
字号
// -*- C++ -*-
//=============================================================================
/**
 *  @file   INS_Locator.h
 *
 *  INS_Locator.h,v 1.2 2003/11/12 22:58:08 michel_j Exp
 *
 *  @brief  This class implements the ImR's INS Locator class
 *
 *  @author Darrell Brunsch <brunsch@cs.wustl.edu>
 */
//=============================================================================

#ifndef IMR_INS_LOCATOR_H
#define IMR_INS_LOCATOR_H
#include /**/ "ace/pre.h"

#include "tao/IORTable/IORTable.h"
#include "tao/LocalObject.h"

class ImR_Locator_i;

/**
 * @class INS_Locator
 *
 * @brief Implementation Repository INS Locator class
 *
 * This class provides a callback for the IORTable to call when it needs
 * to dynamically receive a IOR to forward in response to an INS request.
 */
class INS_Locator : public virtual IORTable::Locator,
                    public virtual TAO_Local_RefCounted_Object
{
public:
  /// Constructor
  INS_Locator (ImR_Locator_i* loc);

  /// Locate the appropriate IOR.
  char * locate (const char *object_key ACE_ENV_ARG_DECL)
    ACE_THROW_SPEC ((CORBA::SystemException, IORTable::NotFound));

private:

  ImR_Locator_i* imr_locator_;

};

#include /**/ "ace/post.h"
#endif 

⌨️ 快捷键说明

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