diff options
Diffstat (limited to 'ACE/TAO/tao/PortableServer/ServantLocator.pidl')
-rw-r--r-- | ACE/TAO/tao/PortableServer/ServantLocator.pidl | 63 |
1 files changed, 63 insertions, 0 deletions
diff --git a/ACE/TAO/tao/PortableServer/ServantLocator.pidl b/ACE/TAO/tao/PortableServer/ServantLocator.pidl new file mode 100644 index 00000000000..676fa68feff --- /dev/null +++ b/ACE/TAO/tao/PortableServer/ServantLocator.pidl @@ -0,0 +1,63 @@ +/** + * @file ServantLocator.pidl + * + * $Id$ + * + * @brief Pre-compiled IDL source for the PortableServer module. + * + * This file is 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_ |