//
// $Id: test.idl 65934 2005-05-18 06:55:46Z jwillemsen $
//

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