3 //=============================================================================
5 * @file DII_Arguments_Converter_Impl.h
7 * @author Yan Dai <dai_y@ociweb.com>
9 //=============================================================================
12 #ifndef TAO_DII_ARGUMENTS_CONVERTER_IMPL_H
13 #define TAO_DII_ARGUMENTS_CONVERTER_IMPL_H
15 #include /**/ "ace/pre.h"
17 #include "tao/DynamicInterface/dynamicinterface_export.h"
19 #if !defined (ACE_LACKS_PRAGMA_ONCE)
21 #endif /* ACE_LACKS_PRAGMA_ONCE */
23 #include "tao/PortableServer/Collocated_Arguments_Converter.h"
25 #include "ace/Service_Config.h"
27 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
31 * @class TAO_DII_Arguments_Converter_Impl
33 * @brief TAO_DII_Arguments_Converter_Impl.
35 * This class provides the implementation to expand the DII arguments in NVList
36 * to the list of arguments.
38 class TAO_DynamicInterface_Export TAO_DII_Arguments_Converter_Impl
39 : public TAO::Collocated_Arguments_Converter
42 virtual void convert_request (TAO_ServerRequest
& server_request
,
43 TAO::Argument
* const args
[],
46 virtual void dsi_convert_request (TAO_ServerRequest
& server_request
,
47 TAO_OutputCDR
& output
);
49 virtual void convert_reply (TAO_ServerRequest
& server_request
,
50 TAO::Argument
* const args
[],
53 virtual void dsi_convert_reply (TAO_ServerRequest
& server_request
,
54 TAO_InputCDR
& input
);
56 virtual void handle_corba_exception (TAO_ServerRequest
& server_request
,
57 CORBA::Exception
*exception
);
59 // Used to force the initialization of the ORB code.
60 static int Initializer ();
64 TAO_Requires_DII_Arguments_Converter_Impl_Initializer
=
65 TAO_DII_Arguments_Converter_Impl::Initializer ();
67 TAO_END_VERSIONED_NAMESPACE_DECL
69 ACE_STATIC_SVC_DECLARE (TAO_DII_Arguments_Converter_Impl
)
70 ACE_FACTORY_DECLARE (TAO_DynamicInterface
, TAO_DII_Arguments_Converter_Impl
)
73 #include /**/ "ace/post.h"
75 #endif /* TAO_DII_ARGUMENTS_CONVERTER_IMPL_H */