summaryrefslogtreecommitdiff
path: root/TAO/tao/Object.pidl
blob: 421f9e3be36c28bae58dc90121b2d7daac2fb592 (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
//
// $Id$
//

#pragma prefix "omg.org"

module CORBA
{
  typedef unsigned long PolicyType;
  interface Policy {};

  typedef sequence<Policy> PolicyList;

  enum SetOverrideType
  {
    SET_OVERRIDE,
    ADD_OVERRIDE
  };

  exception InvalidPolicies
  {
    sequence<unsigned short> indices;
  };

  typedef sequence<PolicyType> PolicyTypeSeq;

  interface Object
  {
    Policy get_policy (in PolicyType type);
    Policy get_client_policy (in PolicyType type);

    Object set_policy_overrides (
	    in PolicyList 	policies,
	    in SetOverrideType 	set_add)
	raises (InvalidPolicies);

    PolicyList get_policy_overrides (
	    in PolicyTypeSeq    types);
    boolean validate_connection (
            out PolicyList inconsistent_policies);
  };
};

#pragma prefix ""