Merge pull request #1844 from jrw972/monterey
[ACE_TAO.git] / TAO / DevGuideExamples / LocalObjects / ServantLocator / MessengerLocator_i.h
bloba1d9ade73dd0c4884d57c39d0cb6233443e4b065
1 #ifndef MESSENGER_LOCATOR_I_H
2 #define MESSENGER_LOCATOR_I_H
4 #include "tao/corba.h"
5 #include "tao/PortableServer/PortableServer.h"
6 #include "tao/PortableServer/ServantLocatorC.h"
8 class Messenger_Locator_i : public PortableServer::ServantLocator,
9 public CORBA::LocalObject
11 public:
12 Messenger_Locator_i();
14 // Preinvoke function
15 virtual PortableServer::Servant preinvoke (const PortableServer::ObjectId &oid,
16 PortableServer::POA_ptr poa,
17 const char * operation,
18 void * & cookie);
20 // Postinvoke function
21 virtual void postinvoke (const PortableServer::ObjectId & oid,
22 PortableServer::POA_ptr poa,
23 const char * operation,
24 void * cookie,
25 PortableServer::Servant servant);
28 #endif