summaryrefslogtreecommitdiff
path: root/TAO/tests/Portable_Interceptors/ForwardRequest/test.idl
blob: 153cf4559decc8057733fbb1b4d976f27ed69462 (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
39
40
41
// -*- IDL -*-

//=============================================================================
/**
 * @file test.idl
 *
 * $Id$
 *
 * Simple IDL file to test PortableInterceptor::ForwardRequest
 * support.
 *
 * @author Ossama Othman <ossama@uci.edu>
 */
//=============================================================================

#include "tao/PI_Server/ServerRequestInterceptor.pidl"

module ForwardRequestTest
{

  interface test
  {
    /// Return the number assigned to the current object.  For
    /// example, object one will return "1," and object two will
    /// return "2."
    short number ();

    oneway void shutdown ();
  };

  local interface ServerRequestInterceptor
    : PortableInterceptor::ServerRequestInterceptor
  {

    /// Set the references to which requests will be forwarded.
    void forward_references (in Object obj1,
                             in Object obj2);

  };

};