//============================================================================= /** * @file test.idl * * A simple test of nested upcalls. * * * @author Irfan Pyarali */ //============================================================================= interface client { void ping (in unsigned short time_to_live); // Decrements . If 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 . If becomes zero, it // stops. Otherwise, it pings the client. oneway void shutdown (); // Shutdown the server. };