smart_proxy_impl.h

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

H
45
字号
// Smart_Proxy_Impl.h,v 1.6 2004/01/02 21:18:36 bala Exp
//
#ifndef SMART_PROXY_IMPL_H
#define SMART_PROXY_IMPL_H

#include "DiamondC.h"

#if !defined (ACE_BUILD_SVC_DLL)
#define ACE_BUILD_SVC_DLL
#endif /*ACE_BUILD_SVC_DLL*/

#include "ace/svc_export.h"

class ACE_Svc_Export Smart_Diamond_Top_Factory : public virtual Diamond::TAO_Diamond_Top_Default_Proxy_Factory
{
 public:

  Smart_Diamond_Top_Factory (void);

  virtual Diamond::Top_ptr create_proxy (Diamond::Top_ptr proxy
                                         ACE_ENV_ARG_DECL_WITH_DEFAULTS);

  // This method will create the smart_proxy.
};


class ACE_Svc_Export Smart_Diamond_Top_Proxy : public virtual Diamond::TAO_Diamond_Top_Smart_Proxy_Base
{
 public:

  Smart_Diamond_Top_Proxy (Diamond::Top_ptr proxy);

  virtual char * shape (
                       ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS)

    ACE_THROW_SPEC ((
      CORBA::SystemException
    ));
  // Smartify the method call!

  // Dont need to add any extra functionality into shutdown()
  // hence neednt define it.
};
#endif /*SMART_PROXY_IMPL_H*/

⌨️ 快捷键说明

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