Merge pull request #2301 from sonndinh/remove-dup-reactor-functions
[ACE_TAO.git] / TAO / orbsvcs / examples / ORT / Gateway_i.h
blobb375ea65a254d4050cdb3881514e984fac2bc190
1 // -*- C++ -*-
2 //=============================================================================
3 /**
4 * @file Gateway_i.h
6 * Implementation header used for forwarding the requests from the
7 * gateway to the server and reply to the client
9 * @author Carlos O'Ryan <coryan@uci.edu>
10 * @author Priyanka Gontla <gontla_p@ociweb.com>
12 //=============================================================================
14 #ifndef GATEWAY_I_H
15 #define GATEWAY_I_H
17 #include "tao/IFR_Client/IFR_Client_Adapter_Impl.h"
18 #include "tao/AnyTypeCode/AnyTypeCode_methods.h"
19 #include "tao/DynamicInterface/DII_CORBA_methods.h"
20 #include "tao/DynamicInterface/Dynamic_Implementation.h"
21 #include "tao/PortableServer/PortableServer.h"
23 class Gateway_i
24 : public virtual PortableServer::DynamicImplementation
26 public:
27 Gateway_i (CORBA::ORB_ptr orb,
28 PortableServer::Current_ptr poa_current);
30 virtual void invoke (CORBA::ServerRequest_ptr request);
32 virtual CORBA::RepositoryId _primary_interface (
33 const PortableServer::ObjectId &oid,
34 PortableServer::POA_ptr poa);
36 private:
37 CORBA::ORB_ptr orb_;
39 PortableServer::Current_ptr poa_current_;
42 #endif /* GATEWAY_I_H */