summaryrefslogtreecommitdiff
path: root/TAO/examples/CSD_Strategy/ThreadPool6/Foo.idl
blob: f4a756a31b18c0f1a4a71cdb440d8f7930a05c06 (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
// $Id$
#ifndef FOO_IDL
#define FOO_IDL

exception FooException {};
exception TestException {};

interface Foo
{
  /// void return-type, no arguments
  void op1();

  /// void return-type, 1 "in" argument
  void op2(in long value);

  /// long return-type, no arguments
  long op3();

  /// one-way version of op2
  oneway void op4(in long value);

  /// Operation that always raises an exception.
  void op5() raises (FooException);

  /// Client calls this last.  It will shutdown the server.
  void done();
};

#endif