gateway_i.h

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

H
48
字号
// Gateway_i.h,v 1.2 2002/01/29 20:20:46 okellogg Exp

//=============================================================================
/**
 * @file Gateway_i.h
 *
 * Gateway_i.h,v 1.2 2002/01/29 20:20:46 okellogg Exp
 *
 * Implementation header used for forwarding the requests from the
 * gateway to the server and reply to the client
 *
 * @author Carlos O'Ryan <coryan@uci.edu>
 * @author Priyanka Gontla <gontla_p@ociweb.com>
 */
//=============================================================================

#ifndef GATEWAY_I_H
#define GATEWAY_I_H

#include "tao/PortableServer/PortableServerC.h"
#include "tao/DynamicInterface/Dynamic_Implementation.h"
#include "tao/IFR_Client/IFR_Client_Adapter_Impl.h"

class Gateway_i
  : public virtual PortableServer::DynamicImplementation
  , public virtual PortableServer::RefCountServantBase
{
public:
  Gateway_i (CORBA::ORB_ptr orb,
             PortableServer::Current_ptr poa_current);

  virtual void invoke (CORBA::ServerRequest_ptr request
                       ACE_ENV_ARG_DECL);

  virtual CORBA::RepositoryId _primary_interface (
      const PortableServer::ObjectId &oid,
      PortableServer::POA_ptr poa
      ACE_ENV_ARG_DECL);

 private:

  CORBA::ORB_ptr orb_;

  PortableServer::Current_ptr poa_current_;
};

#endif /* GATEWAY_I_H */

⌨️ 快捷键说明

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