2 //=============================================================================
6 * @author Carlos O'Ryan
8 //=============================================================================
11 #ifndef TAO_DSI_GATEWAY_TEST_DSI_H
12 #define TAO_DSI_GATEWAY_TEST_DSI_H
14 #include "tao/DynamicInterface/Server_Request.h"
15 #include "tao/DynamicInterface/Dynamic_Implementation.h"
16 #include "tao/PortableServer/PortableServer.h"
20 * @class DSI_Simple_Server
22 * @brief DSI Simpler Server implementation
24 * Implements the DSI/DII gateway.
26 class DSI_Simple_Server
: public TAO_DynamicImplementation
30 DSI_Simple_Server (CORBA::ORB_ptr orb
,
31 CORBA::Object_ptr target
,
32 PortableServer::POA_ptr poa
);
34 // = The DynamicImplementation methods.
35 virtual void invoke (CORBA::ServerRequest_ptr request
);
37 virtual CORBA::RepositoryId
_primary_interface (
38 const PortableServer::ObjectId
&oid
,
39 PortableServer::POA_ptr poa
);
41 virtual PortableServer::POA_ptr
_default_POA ();
47 /// Target object, forward requests to it...
48 CORBA::Object_var target_
;
51 PortableServer::POA_var poa_
;
54 #if defined(__ACE_INLINE__)
55 #include "test_dsi.inl"
56 #endif /* __ACE_INLINE__ */
58 #endif /* TAO_DSI_GATEWAY_TEST_I_H */