blob: 2110fb9adb6cd0cba6135aeb774d42b5b7377fe0 (
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
69
70
71
72
73
74
75
76
77
|
// -*- C++ -*-
//=============================================================================
/**
* @file Collocation_Proxy_Broker.h
*
* $Id$
*
*
* @author Balachandran Natarajan <bala@dre.vanderbilt.edu>
*/
//=============================================================================
#ifndef TAO_COLLOCATION_PROXY_BROKER_H
#define TAO_COLLOCATION_PROXY_BROKER_H
#include /**/ "ace/pre.h"
#include "tao/TAO_Export.h"
#if !defined (ACE_LACKS_PRAGMA_ONCE)
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */
#include "tao/Collocation_Strategy.h"
#include "tao/Versioned_Namespace.h"
#include "ace/CORBA_macros.h"
#include "ace/os_include/os_stddef.h"
TAO_BEGIN_VERSIONED_NAMESPACE_DECL
template<typename T> class TAO_Pseudo_Var_T;
template<typename T> class TAO_Pseudo_Out_T;
namespace CORBA
{
class Object;
typedef Object *Object_ptr;
typedef TAO_Pseudo_Var_T<Object> Object_var;
typedef TAO_Pseudo_Out_T<Object> Object_out;
class Environment;
}
namespace TAO
{
class Argument;
/**
* @class Collocation_Proxy_Broker
*/
class TAO_Export Collocation_Proxy_Broker
{
public:
virtual ~Collocation_Proxy_Broker (void);
virtual Collocation_Strategy get_strategy (CORBA::Object_ptr obj
ACE_ENV_ARG_DECL) = 0;
virtual void dispatch (CORBA::Object_ptr obj,
CORBA::Object_out forward_obj,
Argument ** args,
int num_args,
const char * op,
size_t op_len,
Collocation_Strategy strategy
ACE_ENV_ARG_DECL) = 0;
};
TAO_END_VERSIONED_NAMESPACE_DECL
}
#include /**/ "ace/post.h"
#endif /*TAO_COLLOCATION_PROXY_BROKER_H */
|