summaryrefslogtreecommitdiff
path: root/TAO/tests/NestedUpcall/Simple/test.idl
blob: 5a2f8e4107b783950732527957c839143d5b1ecc (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
// $Id$
//
// ============================================================================
//
// = LIBRARY
//    TAO/tests/NestedUpcall
//
// = FILENAME
//    test.idl
//
// = DESCRIPTION
//    A simple test of nested upcalls.
//
// = AUTHOR
//    Irfan Pyarali
//
// ============================================================================

interface client
{
  void ping (in UShort time_to_live);
  // Decrements <time_to_live>.  If <time_to_live> becomes zero, it
  // stops. Otherwise, it pings the server.
};

interface server
{
  void start (in client c,
              in UShort time_to_live);
  // Turns around and starts pinging the client.

  void ping (in UShort time_to_live);
  // Decrements <time_to_live>.  If <time_to_live> becomes zero, it
  // stops. Otherwise, it pings the client.

  oneway void shutdown ();
  // Shutdown the server.
};