portablegroup_hooks.h

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

H
90
字号
/* -*- C++ -*- */

//=============================================================================
/**
 *  @file   PortableGroup_Hooks.h
 *
 *  PortableGroup_Hooks.h,v 1.5 2003/07/21 23:51:38 dhinton Exp
 *
 *  @author Frank Hunleth <fhunleth@cs.wustl.edu>
 */
//=============================================================================

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

#include "PortableServerC.h"

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

#include "POA.h"


/**
 * @class TAO_POA_PortableGroup_Hooks
 *
 * @brief TAO_POA_PortableGroup_Hooks
 *
 * This class is an abstract base class that contains hooks for the
 * PortableGroup library.
 */
class TAO_PortableServer_Export TAO_POA_PortableGroup_Hooks
{
public:
  /// Destructor.
  virtual ~TAO_POA_PortableGroup_Hooks (void);

#if (TAO_HAS_MINIMUM_POA == 0)

  virtual PortableServer::ObjectId * create_id_for_reference (
      TAO_POA &the_poa,
      CORBA::Object_ptr the_ref
      ACE_ENV_ARG_DECL_WITH_DEFAULTS
    )
    ACE_THROW_SPEC ((
      CORBA::SystemException,
      PortableServer::NotAGroupObject
    )) = 0;

  virtual PortableServer::IDs * reference_to_ids (
      TAO_POA &the_poa,
      CORBA::Object_ptr the_ref
      ACE_ENV_ARG_DECL_WITH_DEFAULTS
    )
    ACE_THROW_SPEC ((
      CORBA::SystemException,
      PortableServer::NotAGroupObject
    )) = 0;

  virtual void associate_reference_with_id (
      TAO_POA &the_poa,
      CORBA::Object_ptr ref,
      const PortableServer::ObjectId & oid
      ACE_ENV_ARG_DECL_WITH_DEFAULTS
    )
    ACE_THROW_SPEC ((
      CORBA::SystemException,
      PortableServer::NotAGroupObject
    )) = 0;

  virtual void disassociate_reference_with_id (
      TAO_POA &the_poa,
      CORBA::Object_ptr ref,
      const PortableServer::ObjectId & oid
      ACE_ENV_ARG_DECL_WITH_DEFAULTS
    )
    ACE_THROW_SPEC ((
      CORBA::SystemException,
      PortableServer::NotAGroupObject
    )) = 0;

#endif /* TAO_HAS_MINIMUM_POA == 0 */
};


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

⌨️ 快捷键说明

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