blob: de5dcee47ae3179de467f95c0358f5f8accca9e0 (
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
39
40
41
42
43
|
//
// $Id$
//
module Test
{
typedef sequence<octet> Payload;
interface Receiver {
/// Receive a big payload
oneway void receive_data_oneway (in Payload the_payload);
/// Receive a big payload, using a twoway
void receive_data (in Payload the_payload);
/// Return the same data, useful to check the server side
Payload return_data (in Payload the_payload);
};
interface Sender {
/// Create a Data_Server that sends back data to <payload>
void add_receiver (in Receiver the_receiver);
/// Start sending events...
oneway void send_events(in long event_count,
in unsigned long event_size);
/// Shutdown the sender
void shutdown();
};
interface Coordinator {
/// Add a new pair
void add_pair (in Receiver the_receiver,
in Sender the_sender);
/// Run the test
void start();
/// Shutdown the test
oneway void shutdown();
};
};
|