blob: 384db9dc465bcf06b33a289800baabb09a7f31e4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
|
// -*- C++ -*-
//=============================================================================
/**
* @file Collocated_Arguments_Converter.h
*
* @author Yan Dai <dai_y@ociweb.com>
* @author Johnny Willemsen <jwillemsen@remedy.nl>
*/
//=============================================================================
#ifndef TAO_COLLOCATED_ARGUMENTS_CONVERTER_H
#define TAO_COLLOCATED_ARGUMENTS_CONVERTER_H
#include /**/ "ace/pre.h"
#include "portableserver_export.h"
#if !defined (ACE_LACKS_PRAGMA_ONCE)
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */
#include "tao/TAO_Server_Request.h"
#include "tao/CDR.h"
#include "ace/Service_Object.h"
TAO_BEGIN_VERSIONED_NAMESPACE_DECL
namespace TAO
{
/**
* @class Collocated_Arguments_Converter
*
* @brief Collocated_Arguments_Converter.
*
* Abstract class that convert arguments in the case of a collocated call.
*/
class TAO_PortableServer_Export Collocated_Arguments_Converter :
public ACE_Service_Object
{
public:
virtual ~Collocated_Arguments_Converter (void);
virtual void convert_request (TAO_ServerRequest & server_request,
TAO::Argument * const args[],
size_t nargs) = 0;
virtual void dsi_convert_request (TAO_ServerRequest & server_request,
TAO_OutputCDR & output) = 0;
virtual void convert_reply (TAO_ServerRequest & server_request,
TAO::Argument * const args[],
size_t nargs) = 0;
virtual void dsi_convert_reply (TAO_ServerRequest & server_request,
TAO_InputCDR & input) = 0;
virtual void handle_corba_exception (TAO_ServerRequest & server_request,
CORBA::Exception *exception) = 0;
};
}
TAO_END_VERSIONED_NAMESPACE_DECL
#include /**/ "ace/post.h"
#endif /* TAO_COLLOCATED_ARGUMENTS_CONVERTER_H */
|