summaryrefslogtreecommitdiff
path: root/TAO/tests/Abstract_Interface/test.idl
blob: 5f70fbd6655204dff94e221c1ce60ee0dc2ef037 (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
exception BadInput
{
  string message;
};

abstract interface base
{
  string base_op (in string inarg)
    raises (BadInput);
};

interface foo : base
{
  string foo_op (in string inarg)
    raises (BadInput);
};

interface passer
{
  void pass_ops (out base outarg);
  void pass_state (out base outarg);
  void pass_nil (out base outarg);
  oneway void shutdown ();
};

valuetype BaseNode
{
  public BaseNode left;
  public BaseNode right;
};

valuetype StringNode : BaseNode
{
  public string name;
};

valuetype TreeController supports base
{
  public BaseNode root;
};