summaryrefslogtreecommitdiff
path: root/TAO/tao/CORBA.pidl
blob: 642ba41855250a2b3e7b8999d9cf9f0c932ea0f8 (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
// $Id$

// This will have all new definitions that will go in to CORBA from
// now on.

#pragma prefix "omg.org"

module CORBA
{
  typedef string  ORBid;
  typedef string  Identifier;
  typedef unsigned long Flags;

  struct NamedValue
  {
    Identifier name;
    any value;
    Flags flags;
  };

  enum exception_type
  {
    NO_EXCEPTION,
    USER_EXCEPTION,
    SYSTEM_EXCEPTION
  };

  interface Object;
  interface Request;
  interface NVList;
  interface Exception;

  typedef sequence<Request> RequestSeq;

  typedef string ObjectId;
  typedef sequence <ObjectId> ObjectIdList;

  typedef unsigned short ServiceType;
  typedef unsigned long ServiceOption;
  typedef unsigned long ServiceDetailType;

  struct ServiceDetail
  {
    ServiceDetailType service_detail_type;
    sequence <octet> service_detail;
  };

  struct ServiceInformation
  {
    sequence <ServiceOption> service_options;
    sequence <ServiceDetail> service_details;
  };

};

#pragma prefix ""