rt_endpoint_utils.h

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

H
64
字号
// This may look like C, but it's really -*- C++ -*-

//=============================================================================
/**
 *  @file   RT_Endpoint_Utils.h
 *
 *  RT_Endpoint_Utils.h,v 1.7 2003/12/19 11:23:47 jwillemsen Exp
 *
 *  Commonly used utility methods used by RT_Endpoint_Selectors.
 *
 *  @author Angelo Corsaro <corsaro@cs.wustl.edu>
 *  @author Frank Hunleth <fhunleth@cs.wustl.edu>
 */
//=============================================================================


#ifndef RT_ENDPOINT_UTILS_H
#define RT_ENDPOINT_UTILS_H

#include /**/ "ace/pre.h"

#include "rtcorba_export.h"

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

#include "tao/Policy_ForwardC.h"

class TAO_GIOP_Invocation;

namespace TAO
{
  class Profile_Transport_Resolver;
}

/**
 * @class RT_Endpoint_Utils
 *
 * @brief Commonly used utility methods used by the RT_Endpoint_Selectors.
 *
 */
class TAO_RTCORBA_Export TAO_RT_Endpoint_Utils
{
public:
  static CORBA::Policy *priority_bands_policy (
      TAO::Profile_Transport_Resolver &r
      ACE_ENV_ARG_DECL
    );

  static CORBA::Policy *client_protocol_policy (
      TAO::Profile_Transport_Resolver &r
      ACE_ENV_ARG_DECL
    );

private:
  /// ctor.
  TAO_RT_Endpoint_Utils ();
};

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

#endif  /* RT_ENDPOINT_UTILS_H */

⌨️ 快捷键说明

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