1 #ifndef _SERVANT_LOCATOR_H_
2 #define _SERVANT_LOCATOR_H_
4 #include "tao/PortableServer/PortableServer.h"
5 #include "tao/PortableServer/ServantLocatorC.h"
6 #include "tao/LocalObject.h"
9 : public PortableServer::ServantLocator
10 , public virtual ::CORBA::LocalObject
13 virtual PortableServer::Servant
preinvoke (const PortableServer::ObjectId
&oid
,
14 PortableServer::POA_ptr adapter
,
15 const char *operation
,
16 PortableServer::ServantLocator::Cookie
&the_cookie
);
17 // This method is invoked by a POA whenever it receives a request.
19 virtual void postinvoke (const PortableServer::ObjectId
&oid
,
20 PortableServer::POA_ptr adapter
,
21 const char *operation
,
22 PortableServer::ServantLocator::Cookie the_cookie
,
23 PortableServer::Servant the_servant
);
24 // This method is invoked whenever a servant completes a
28 #endif /* _SERVANT_LOCATOR_H_ */