summaryrefslogtreecommitdiff
path: root/TAO/tests/CallbackTest/Test.idl
blob: 4bfa44f23c8c21f23c42060040e204e7ef6cca46 (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

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);
  };

};