blob: 46833825deac96fed5f99947e7c8b7cbd66f5f36 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
interface Callback
{
/// A safe way to shutdown the client, using either clean shutdowns
/// or "catastrophic failures".
oneway void shutdown ();
/// A simple remote call
void callback_method ();
};
interface Simple_Server
{
/// Just call a method on the server,
long test_method (in boolean do_callback);
/// send the callback object to the server
void callback_object (in Callback cb);
/// A safe way to shutdown the server, it is a oneway function so we
/// will never get a COMM_FAILURE error
oneway void shutdown ();
};
|