00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024 #ifndef _PORTABLESERVER_SERVANTLOCATOR_IDL_
00025 #define _PORTABLESERVER_SERVANTLOCATOR_IDL_
00026
00027
00028 #include "tao/orb_types.pidl"
00029 #include "tao/PortableServer/PS_Forward.pidl"
00030 #include "tao/PortableServer/ServantManager.pidl"
00031 #include "tao/PortableServer/ForwardRequest.pidl"
00032
00033 #pragma prefix "omg.org"
00034
00035 #if ! defined (CORBA_E_COMPACT) && ! defined (CORBA_E_MICRO) && !defined (TAO_HAS_MINIMUM_POA)
00036
00037 module PortableServer
00038 {
00039 # pragma version PortableServer 2.3
00040
00041 local interface ServantLocator : ServantManager
00042 {
00043 # pragma version ServantLocator 2.3
00044
00045 native Cookie;
00046
00047 Servant preinvoke (in ObjectId oid,
00048 in POA adapter,
00049 in CORBA::Identifier operation,
00050 out Cookie the_cookie)
00051 raises (ForwardRequest);
00052
00053 void postinvoke (in ObjectId oid,
00054 in POA adapter,
00055 in CORBA::Identifier operation,
00056 in Cookie the_cookie,
00057 in Servant the_servant);
00058 };
00059 };
00060
00061 #endif
00062
00063 #endif // _PORTABLESERVER_SERVANTLOCATOR_IDL_