Revert "Use a variable on the stack to not have a temporary in the call"
[ACE_TAO.git] / TAO / tests / POA / Forwarding / test_i.h
blob8098fd029fa7e65fb3d0fe5032116652226aae80
1 //=============================================================================
2 /**
3 * @file test_i.h
5 * Defines test_i class for the test interface
7 * @author Irfan Pyarali and Michael Kircher
8 */
9 //=============================================================================
12 #include "testS.h"
14 class ServantActivator;
16 class test_i :
17 public virtual POA_test
19 public:
20 test_i (CORBA::ORB_ptr orb_ptr,
21 PortableServer::POA_ptr poa,
22 ServantActivator &activator,
23 CORBA::Long value);
25 virtual CORBA::Long doit ();
27 // Setup forwarding
28 virtual void forward ();
30 virtual void shutdown ();
32 /// Returns the default POA for this servant.
33 virtual PortableServer::POA_ptr _default_POA ();
35 protected:
36 CORBA::ORB_var orb_;
37 PortableServer::POA_var poa_;
38 ServantActivator &activator_;
39 CORBA::Long value_;