blob: 9a206f87b2acefd734442e6ba83b66948b053c42 (
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
|
/// A simple module to avoid namespace pollution
module Test
{
exception InvalidTimestamp {};
exception ServerOverload {};
/// Use a timestamp to measure the roundtrip delay
typedef unsigned long long Timestamp;
valuetype Red_Herring
{
Timestamp test_method (in Timestamp send_time)
raises (InvalidTimestamp, ServerOverload);
};
/// Measure roundtrip Delay
interface Roundtrip
{
Timestamp test_method (in Timestamp send_time)
raises (InvalidTimestamp, ServerOverload);
oneway void shutdown ();
};
};
|