summaryrefslogtreecommitdiff
path: root/TAO/tests/Portable_Interceptors/Collocated/Dynamic/test.idl
blob: 8671f9b0a9779b1817620acb995818ca4113baf5 (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
// $Id$

// ============================================================================
//
// = LIBRARY
//    TAO/tests/Portable_Interceptors
//
// = FILENAME
//    test.idl
//
// = DESCRIPTION
//   Simple IDL file to test portable interceptor support.
//
// = AUTHORS
//   Nanbor Wang <nanbor@cs.wustl.edu>
//
// ============================================================================

module Test_Interceptors
{
  exception Silly
    {};

  interface Visual
  {
    /// Normal operation.
    void normal (in long arg);

    /// Normal operation with a return val.
    long calculate (in long one, in long two);

    /// throws a user exception.
    void user ()
      raises (Silly);

    /// throws a system exception.
    void system ();

    /// shutdown the ORB
   oneway void shutdown ();
  };
};