blob: a1d9ade73dd0c4884d57c39d0cb6233443e4b065 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
#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
|