Merge pull request #1844 from jrw972/monterey
[ACE_TAO.git] / TAO / performance-tests / Throughput / Test.idl
blob58432e049033ddcaf07e18674843a54797dbd0f0
2 module Test
4 /// The data payload
5 typedef sequence<octet> Payload;
6 struct Message {
7 unsigned long message_id;
8 Payload the_payload;
9 };
11 /// Implement a simple interface to receive a lot of data
12 interface Receiver
14 /// Receive a big payload
15 oneway void receive_data (in Message the_message);
17 /// All the data has been sent, print out performance data
18 void done ();
21 /// Implement a factory to create Receivers
22 interface Receiver_Factory
24 /// Create a new receiver
25 Receiver create_receiver ();
27 /// Shutdown the application
28 oneway void shutdown ();