Merge pull request #1844 from jrw972/monterey
[ACE_TAO.git] / TAO / tests / Bug_3647_Regression / Test.idl
blob2037ec3650f945e9be63672c6c52d88bce783ad4
1 /**
2 * @namespace Bug_3647_Regression
4 * Keep the types in this test to its own namespace.
6 * Keeping each test in its own namespace makes it easier to generate
7 * Doxygen documentation for all the tests. Also, it makes it clear as to
8 * what types are local vs. coming from the library vs. generated.
9 */
11 module Bug_3647_Regression
13 typedef sequence<octet> Payload;
15 interface Backend
17 /// This operation is called during the startup, to make sure all
18 /// servers are talking to each other and communication has been
19 /// established.
20 void startup_test();
22 /// When called this will just consume the data. The idea is to
23 /// generate network/traffic load.
24 oneway void ping(in Payload the_payload);
26 /// When called this will cause the single thread in the server to
27 /// block for the specified number of seconds.
28 oneway void freeze(in unsigned long seconds);
30 /// Shutdown the server
31 oneway void shutdown();
34 interface Middle
36 /// This operation is called during the startup, to make sure all
37 /// servers are talking to each other and communication has been
38 /// established.
39 void startup_test();
41 /// When called this operation should return immediately.
42 void ping();
44 /// Shutdown the server
45 oneway void shutdown();