3 //=============================================================================
5 * @file Collocated_Arguments_Converter.h
7 * @author Yan Dai <dai_y@ociweb.com>
8 * @author Johnny Willemsen <jwillemsen@remedy.nl>
10 //=============================================================================
13 #ifndef TAO_COLLOCATED_ARGUMENTS_CONVERTER_H
14 #define TAO_COLLOCATED_ARGUMENTS_CONVERTER_H
16 #include /**/ "ace/pre.h"
18 #include "portableserver_export.h"
20 #if !defined (ACE_LACKS_PRAGMA_ONCE)
22 #endif /* ACE_LACKS_PRAGMA_ONCE */
24 #include "tao/TAO_Server_Request.h"
26 #include "ace/Service_Object.h"
28 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
33 * @class Collocated_Arguments_Converter
35 * @brief Collocated_Arguments_Converter.
37 * Abstract class that convert arguments in the case of a collocated call.
39 class TAO_PortableServer_Export Collocated_Arguments_Converter
:
40 public ACE_Service_Object
43 virtual ~Collocated_Arguments_Converter ();
45 virtual void convert_request (TAO_ServerRequest
& server_request
,
46 TAO::Argument
* const args
[],
49 virtual void dsi_convert_request (TAO_ServerRequest
& server_request
,
50 TAO_OutputCDR
& output
) = 0;
52 virtual void convert_reply (TAO_ServerRequest
& server_request
,
53 TAO::Argument
* const args
[],
56 virtual void dsi_convert_reply (TAO_ServerRequest
& server_request
,
57 TAO_InputCDR
& input
) = 0;
59 virtual void handle_corba_exception (TAO_ServerRequest
& server_request
,
60 CORBA::Exception
*exception
) = 0;
63 TAO_END_VERSIONED_NAMESPACE_DECL
65 #include /**/ "ace/post.h"
66 #endif /* TAO_COLLOCATED_ARGUMENTS_CONVERTER_H */