summaryrefslogtreecommitdiff
path: root/TAO/tests/DSI_Gateway/test.idl
blob: 29cdc6f4d1531929a847434435194bc5d3697165 (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
//
// $Id$
//

typedef sequence<long> DSI_LongSeq;

struct Structure
{
  short i;
  sequence<long> seq;
};

exception test_exception
{
  short error_code;
  string error_message;
  string status_message;
};

interface Simple_Server
{
  attribute long test_val;

  long test_method (in long x,
                    in Structure the_in_structure,
                    out Structure the_out_structure,
                    inout string name);

  void raise_user_exception () raises (test_exception);

  void raise_system_exception ();

  oneway void shutdown ();
};