blob: 023e60b962ae8ddee97205351a1c79d59764874b (
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
|
// $Id$
//=============================================================================
//
// = FILENAME
// test_i.h
//
// = DESCRIPTION
// 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);
virtual PortableServer::POA_ptr _default_POA (void);
// Returns the default POA for this servant.
protected:
CORBA::ORB_var orb_;
PortableServer::POA_var poa_;
ServantActivator &activator_;
CORBA::Long value_;
};
|