Revert "Minor modernization of DynamicAny code"
[ACE_TAO.git] / TAO / tests / MProfile_Forwarding / Manager.h
blob08cca3999f30a744fb48fd12a7d2ee4f1509cbb7
1 #ifndef _MANAGER_H_
2 #define _MANAGER_H_
4 #include "Servant_Locator.h"
6 class Manager
8 public:
9 Manager ();
11 // Ctor
13 int init (int argc, ACE_TCHAR *argv[]);
15 // Initialize the ORB, POA etc.
17 int init_register_name_service ();
18 // Initialize the Name service, tegister the combined IOR with it
20 int activate_servant ();
21 // Activate the servant etc.
23 int make_iors_register ();
25 int run ();
26 // Run the ORB event loop..
27 private:
28 CORBA::ORB_var orb_;
29 // Our ORB
31 PortableServer::POA_var new_poa_var_;
32 // The new poa that is created..
34 Servant_Locator *servant_locator_;
35 // Our servant locator
37 PortableServer::ServantLocator_var servant_locator_var_;
38 // Our servant locator var
40 CORBA::Object_var new_manager_ior_;
42 #endif /*_MANAGER_H_ */