// -*- IDL -*-

//=============================================================================
/**
 * @file test.idl
 *
 * test.idl,v 1.1 2001/04/09 23:27:06 othman Exp
 *
 * IDL file to test request interceptor flow.
 *
 * @author Ossama Othman <ossama@uci.edu>
 */
//=============================================================================

interface Test
{
  typedef short TestScenario;

  /// Dummy exception used during the test.
  exception X {};

  /// Unknown scenario number was passed to the test operation.
  exception UnknownScenario {
    TestScenario scenario;
  };

  /// The client-side test operation.
  void client_test (in TestScenario scenario) raises (X, UnknownScenario);

  /// The server-side test operation.
  void server_test (in TestScenario scenario) raises (X, UnknownScenario);

  /// Shutdown the server.
  oneway void shutdown ();

};
