diff options
Diffstat (limited to 'ACE/TAO/DevGuideExamples/LocalObjects/ServantLocator/MessengerLocator_i.h')
-rw-r--r-- | ACE/TAO/DevGuideExamples/LocalObjects/ServantLocator/MessengerLocator_i.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/ACE/TAO/DevGuideExamples/LocalObjects/ServantLocator/MessengerLocator_i.h b/ACE/TAO/DevGuideExamples/LocalObjects/ServantLocator/MessengerLocator_i.h new file mode 100644 index 00000000000..c2dc71e773e --- /dev/null +++ b/ACE/TAO/DevGuideExamples/LocalObjects/ServantLocator/MessengerLocator_i.h @@ -0,0 +1,30 @@ +// $Id$ + +#ifndef MESSENGER_LOCATOR_I_H +#define MESSENGER_LOCATOR_I_H + +#include "tao/corba.h" +#include "tao/PortableServer/PortableServer.h" +#include "tao/PortableServer/ServantLocatorC.h" + +class Messenger_Locator_i : public PortableServer::ServantLocator, + public CORBA::LocalObject +{ + public: + Messenger_Locator_i(); + + // Preinvoke function + virtual PortableServer::Servant preinvoke (const PortableServer::ObjectId &oid, + PortableServer::POA_ptr poa, + const char * operation, + void * & cookie); + + // Postinvoke function + virtual void postinvoke (const PortableServer::ObjectId & oid, + PortableServer::POA_ptr poa, + const char * operation, + void * cookie, + PortableServer::Servant servant); +}; + +#endif |