2 /// A module to keep the namespace clean
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
;
10 typedef sequence
<octet
> Payload
;
12 /// Define the callback interface
14 oneway
void response
(in TimeStamp time_stamp
,
15 in Payload message_payload
);
18 /// Define the server interface
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
();