3 //=============================================================================
5 * @file CSD_Object_Adapter.h
7 * @author Yan Dai (dai_y@ociweb.com)
9 //=============================================================================
12 #ifndef TAO_CSD_OBJECT_ADAPTER_H
13 #define TAO_CSD_OBJECT_ADAPTER_H
14 #include /**/ "ace/pre.h"
16 #include "tao/CSD_Framework/CSD_FW_Export.h"
18 #if !defined (ACE_LACKS_PRAGMA_ONCE)
20 #endif /* ACE_LACKS_PRAGMA_ONCE */
22 #include "tao/PortableServer/Object_Adapter.h"
24 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
27 * @class TAO_CSD_Object_Adapter
29 * @brief Defines the CSD version Object Adapter which overrides
30 * default dispatch implementation.
32 * This class will be used as a facade for the CSD POAs in a server
34 class TAO_CSD_FW_Export TAO_CSD_Object_Adapter
: public TAO_Object_Adapter
38 TAO_CSD_Object_Adapter (const TAO_Server_Strategy_Factory::Active_Object_Map_Creation_Parameters
&creation_parameters
,
39 TAO_ORB_Core
&orb_core
);
42 virtual ~TAO_CSD_Object_Adapter ();
44 /// Hand the request to the Service_Dispatching_Strategy_Proxy for
46 virtual void do_dispatch (TAO_ServerRequest
& req
,
47 TAO::Portable_Server::Servant_Upcall
& upcall
);
50 TAO_END_VERSIONED_NAMESPACE_DECL
52 #include /**/ "ace/post.h"
53 #endif /* TAO_CSD_OBJECT_ADAPTER_H */