summaryrefslogtreecommitdiff
path: root/trunk/TAO/tests/CallbackTest/Test.idl
blob: d10096168e84d1b40e34f604e97ff1f06d5127d4 (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
//
// $Id$
//

module Test
{
  /**
   * Callback interface.
   */
  interface Callback
  {
    /// Make sure the callback object is in good shape
    boolean are_you_there (out string answer);

    /// Receive the first callback
    oneway void test_oneway ();

    /// Shutdown
    oneway void shutdown ();

  };

  /**
   * Clients connect to this interface passing in a Callback
   * object.
   * The service will then invoke all the methods on the
   * Callback.
   *
   */
  interface Service
  {
    /// Invoke the callback object from the server
    oneway void run_test (in Callback the_callback);
  };

};