summaryrefslogtreecommitdiff
path: root/TAO/tests/Portable_Interceptors/Benchmark/test.idl
blob: 734ad8e5301e33847ce3bedd95d0a3482024dcdd (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
// -*- IDL -*-
//
// $Id$

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

module Test_Interceptors
{
  exception Invalid {};

  interface Secure_Vault
  {
    // = TITLE
    //   A test idl for checking interceptor with the aim of
    //   performing benchmarks.
    //
    // = DESCRIPTION
    //   A secure vault into which one can store transaction details.

    struct Record
    {
      long check_num;
      long amount;
    };

    short ready ();
    // No args/exceptions operation.

    void authenticate (in string user) raises (Invalid);
    // throws a user exception.

    long update_records (in long id, in Record val);
    // Normal operation with a return val.

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