3 //=============================================================================
5 * @file AMI_Arguments_Converter_Impl.h
7 * @author Johnny Willemsen <jwillemsen@remedy.nl>
9 //=============================================================================
12 #ifndef TAO_AMI_ARGUMENTS_CONVERTER_IMPL_H
13 #define TAO_AMI_ARGUMENTS_CONVERTER_IMPL_H
15 #include /**/ "ace/pre.h"
17 #include "tao/Messaging/messaging_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_AMI_Arguments_Converter_Impl
33 * @brief TAO_AMI_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_Messaging_Export TAO_AMI_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_AMI_Arguments_Converter_Impl_Initializer
=
65 TAO_AMI_Arguments_Converter_Impl::Initializer ();
67 ACE_STATIC_SVC_DECLARE (TAO_AMI_Arguments_Converter_Impl
)
68 ACE_FACTORY_DECLARE (TAO_Messaging
, TAO_AMI_Arguments_Converter_Impl
)
70 TAO_END_VERSIONED_NAMESPACE_DECL
72 #include /**/ "ace/post.h"
74 #endif /* TAO_AMI_ARGUMENTS_CONVERTER_IMPL_H */