More tests update
[ACE_TAO.git] / TAO / tests / MProfile_Forwarding / Manager.h
blob7f6aa4f24a7a97eb05f010d56df59186da04fdd2
1 #ifndef _MANAGER_H_
2 #define _MANAGER_H_
4 #include "Servant_Locator.h"
6 class Manager
8 public:
10 Manager (void);
12 // Ctor
14 int init (int argc, ACE_TCHAR *argv[]);
16 // Initialize the ORB, POA etc.
18 int init_register_name_service (void);
19 // Initialize the Name service, tegister the combined IOR with it
21 int activate_servant (void);
22 // Activate the servant etc.
24 int make_iors_register (void);
26 int run (void);
27 // Run the ORB event loop..
28 private:
29 CORBA::ORB_var orb_;
30 // Our ORB
32 PortableServer::POA_var new_poa_var_;
33 // The new poa that is created..
35 Servant_Locator *servant_locator_;
36 // Our servant locator
38 PortableServer::ServantLocator_var servant_locator_var_;
39 // Our servant locator var
41 CORBA::Object_var new_manager_ior_;
43 #endif /*_MANAGER_H_ */