blob: ce1fbff6f146b2319197ca4d131dd14eb659a6bc (
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
//=============================================================================
/**
* @file test_i.h
*
* $Id$
*
* Defines test_i class for the test interface
*
*
* @author Irfan Pyarali and Michael Kircher
*/
//=============================================================================
#include "testS.h"
class ServantActivator;
class test_i :
public virtual POA_test
{
public:
test_i (CORBA::ORB_ptr orb_ptr,
PortableServer::POA_ptr poa,
ServantActivator &activator,
CORBA::Long value);
virtual CORBA::Long doit (void);
// Setup forwarding
virtual void forward (void);
virtual void shutdown (void);
/// Returns the default POA for this servant.
virtual PortableServer::POA_ptr _default_POA (void);
protected:
CORBA::ORB_var orb_;
PortableServer::POA_var poa_;
ServantActivator &activator_;
CORBA::Long value_;
};
|