summaryrefslogtreecommitdiff
path: root/TAO/tests/Portable_Interceptors/Request_Interceptor_Flow/test.idl
blob: b536954c01fbc92779073bcf7c351e8f28c3a1a5 (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
28
29
30
31
32
33
34
35
36
37
38
// -*- IDL -*-

//=============================================================================
/**
 * @file test.idl
 *
 * $Id$
 *
 * IDL file to test request interceptor flow.
 *
 * @author Ossama Othman <ossama@uci.edu>
 */
//=============================================================================

#include <ULongSeq.pidl>

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, out CORBA::ULongSeq myseq) raises (X, UnknownScenario);

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

};