blob: dfdf50453ed842c7668881bb7dd3145d945add28 (
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
78
79
|
// -*- IDL -*-
/**
* @file ORBInitInfo.pidl
*
* $Id$
*
* @brief Pre-compiled IDL source for the ORBInitInfo
*/
#ifndef _ORBINITINFO_PIDL_
#define _ORBINITINFO_PIDL_
#include "tao/StringSeq.pidl"
#include "tao/CodecFactory/IOP_Codec_include.pidl"
#include "tao/PI_Forward.pidl"
#include "tao/Policy.pidl"
module PortableInterceptor {
typeprefix PortableInterceptor "omg.org";
local interface ClientRequestInterceptor;
local interface ServerRequestInterceptor;
local interface IORInterceptor;
local interface PolicyFactory;
local interface ORBInitInfo
{
typedef string ObjectId;
exception DuplicateName
{
string name;
};
exception InvalidName {};
readonly attribute CORBA::StringSeq arguments;
readonly attribute string orb_id;
readonly attribute IOP::CodecFactory codec_factory;
void register_initial_reference (in ObjectId id, in Object obj)
raises (InvalidName);
Object resolve_initial_references (in ObjectId id)
raises (InvalidName);
void add_client_request_interceptor (
in ClientRequestInterceptor interceptor)
raises (DuplicateName);
void add_server_request_interceptor (
in ServerRequestInterceptor interceptor)
raises (DuplicateName);
void add_ior_interceptor (in IORInterceptor interceptor)
raises (DuplicateName);
SlotId allocate_slot_id ();
void register_policy_factory (
in CORBA::PolicyType type,
in PolicyFactory policy_factory);
};
local interface ORBInitInfo_3_1 : ORBInitInfo
{
void add_client_request_interceptor_with_policy(
in ClientRequestInterceptor interceptor,
in CORBA::PolicyList policies)
raises (DuplicateName, CORBA::PolicyError);
void add_server_request_interceptor_with_policy(
in ServerRequestInterceptor interceptor,
in CORBA::PolicyList policies)
raises (DuplicateName, CORBA::PolicyError);
void add_ior_interceptor_with_policy(
in IORInterceptor interceptor,
in CORBA::PolicyList policies)
raises (DuplicateName, CORBA::PolicyError);
};
};
#endif /* _ORBINITINFO_PIDL_ */
|