blob: 47ede657b9adbaac222a1c9b04053664409b9cf8 (
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
|
//
// $Id$
//
interface Callback
{
oneway void shutdown ();
// A safe way to shutdown the client, using either clean shutdowns
// or "catastrophic failures".
void callback_method ();
// A simple remote call
};
interface Simple_Server
{
long test_method (in boolean do_callback);
// Just call a method on the server,
void callback_object (in Callback cb);
// send the callback object to the server
oneway void shutdown ();
// A safe way to shutdown the server, it is a oneway function so we
// will never get a COMM_FAILURE error
};
|