summaryrefslogtreecommitdiff
path: root/trunk/TAO/tao/PortableServer/ServantLocator.pidl
blob: acdc7ad68949571dd8a159525b000530ca196460 (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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
/**
 * @file ServantLocator.pidl
 *
 * $Id$
 *
 * @brief Pre-compiled IDL source for the PortableServer module.
 *
 * This file was used to generate the code in
 * ServantLocatorC.{h,inl,cpp}, using the following command:
 *
 * tao_idl.exe \
 *     -o orig -Gp -Gd -Sci -GA -I$(TAO_ROOT)
 *          -Wb,export_macro=TAO_PortableServer_Export \
 *          -Wb,export_include="portableserver_export.h" \
 *          -Wb,pre_include="ace/pre.h" \
 *          -Wb,post_include="ace/post.h" \
 *          ServantLocator.pidl
 *
 * Apply patches using the following command:
 *
 *   patch < diffs/PS_Forward.diff
 */

#ifndef _PORTABLESERVER_SERVANTLOCATOR_IDL_
#define _PORTABLESERVER_SERVANTLOCATOR_IDL_

///FUZZ: disable check_for_include/
#include "tao/orb_types.pidl"
#include "tao/PortableServer/PS_Forward.pidl"
#include "tao/PortableServer/ServantManager.pidl"
#include "tao/PortableServer/ForwardRequest.pidl"

#pragma prefix "omg.org"

#if ! defined (CORBA_E_COMPACT) && ! defined (CORBA_E_MICRO) && !defined (TAO_HAS_MINIMUM_POA)

module PortableServer
{
# pragma version PortableServer 2.3

  local interface ServantLocator : ServantManager
  {
#   pragma version ServantLocator 2.3

    native Cookie;

    Servant preinvoke (in ObjectId oid,
                       in POA adapter,
                       in CORBA::Identifier operation,
                       out Cookie the_cookie)
      raises (ForwardRequest);

    void postinvoke (in ObjectId oid,
                     in POA adapter,
                     in CORBA::Identifier operation,
                     in Cookie  the_cookie,
                     in Servant the_servant);
  };
};

#endif

#endif // _PORTABLESERVER_SERVANTLOCATOR_IDL_