summaryrefslogtreecommitdiff
path: root/ACE/TAO/tests/IDL_Test/simple.idl
blob: f12b4c92458ccd24769f76915df285e0669311bd (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
// $Id$

// ============================================================================
//
// = LIBRARY
//    TAO/tests/IDL_Test
//
// = FILENAME
//    simple.idl
//
// = DESCRIPTION
//    Tests of simple IDL
//
// = AUTHORS
//    Andy Gokhale <gokhale@dre.vanderbilt.edu>
//
// ============================================================================

typedef sequence<long,10> vec10;

exception simple_error
{
  long reason;
};

interface simple
{
  long op (in long a,
           out simple b,
           inout long c)
    raises (simple_error);
};

interface simple2 : simple
{
  exception simple2_error
  {
    long reason2;
  };
  
  long op2 (in long a,
            in simple b,
            out simple2 c)
    raises (simple2_error);
};