summaryrefslogtreecommitdiff
path: root/TAO/tests/NestedUpcall/Simple/test.idl
blob: 45664cfb035866c46ff0a788d23fe0f7114b2f0d (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 unsigned short 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 unsigned short time_to_live);
  // Turns around and starts pinging the client.

  void ping (in unsigned short 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.
};