Merge pull request #2309 from mitza-oci/warnings
[ACE_TAO.git] / TAO / performance-tests / Sequence_Latency / DSI / Test.idl
blob6c2a1a33df007e95d6016132c4f9b843d2fb866b
2 /// A simple module to avoid namespace pollution
3 module Test
5 /// Use a timestamp to measure the roundtrip delay
6 typedef unsigned long long Timestamp;
8 typedef sequence<octet> octet_load;
9 typedef sequence<long> long_load;
10 typedef sequence<char> char_load;
11 typedef sequence<short> short_load;
12 typedef sequence<long long> longlong_load;
13 typedef sequence<double> double_load;
15 /// Measure roundtrip delay
16 interface Roundtrip
18 /// A simple method to measure roundtrip delays
19 /**
20 * The operation simply returns one of its argument, this is used
21 * in AMI and deferred synchronous tests to measure the roundtrip
22 * delay without the need for a different reply handler for each
23 * request.
25 Timestamp test_octet_method (in octet_load ol,
26 in Timestamp send_time);
28 Timestamp test_long_method (in long_load ol,
29 in Timestamp send_time);
31 Timestamp test_short_method (in short_load ol,
32 in Timestamp send_time);
34 Timestamp test_char_method (in char_load ol,
35 in Timestamp send_time);
37 Timestamp test_longlong_method (in longlong_load ol,
38 in Timestamp send_time);
40 Timestamp test_double_method (in double_load ol,
41 in Timestamp send_time);
43 /// Shutdown the ORB
44 void shutdown ();