Revert "Minor modernization of DynamicAny code"
[ACE_TAO.git] / TAO / performance-tests / Callback / callback.idl
blobff21fd84f4785afad995eb772da2c14f45c769a4
2 /// A module to keep the namespace clean
3 module Test {
5 /// Use 64-bit unsigned longs for the time stamps, most of the time
6 /// we stick the native high resolution timer value there.
7 typedef unsigned long long TimeStamp;
9 /// Simulated
10 typedef sequence<octet> Payload;
12 /// Define the callback interface
13 interface Callback {
14 oneway void response (in TimeStamp time_stamp,
15 in Payload message_payload);
18 /// Define the server interface
19 interface Server {
21 /// Save the callback object for later use
22 void set_callback (in Callback callback_object);
24 /// Send a request, the Callback::response method is invoked with
25 /// the @param time_stamp value
26 oneway void request (in TimeStamp time_stamp,
27 in Payload message_payload);
29 /// Shutdown the server, just to make cleanup simpler.
30 oneway void shutdown ();