summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/tests/Security/BiDirectional/test.idl
blob: 4839f8a67b11d17a3e6aad9eb0bdb4b2700b5c5b (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
//
// $Id$
//

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 ();
};