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
42 virtual PortableServer::POA_ptr
_default_POA (
49 /// Target object, forward requests to it...
50 CORBA::Object_var target_
;
53 PortableServer::POA_var poa_
;
56 #if defined(__ACE_INLINE__)
57 #include "test_dsi.inl"
58 #endif /* __ACE_INLINE__ */
60 #endif /* TAO_DSI_GATEWAY_TEST_I_H */