diff options
Diffstat (limited to 'TAO/tests/MProfile_Forwarding/Manager.h')
-rw-r--r-- | TAO/tests/MProfile_Forwarding/Manager.h | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/TAO/tests/MProfile_Forwarding/Manager.h b/TAO/tests/MProfile_Forwarding/Manager.h new file mode 100644 index 00000000000..6f14588b3a3 --- /dev/null +++ b/TAO/tests/MProfile_Forwarding/Manager.h @@ -0,0 +1,46 @@ +//$Id$ +#ifndef _MANAGER_H_ +#define _MANAGER_H_ + +#include "Servant_Locator.h" + +class Manager +{ + public: + + Manager (void); + + // Ctor + + int init (int argc, + char *argv[] + ACE_ENV_ARG_DECL); + + // Initialize the ORB, POA etc. + + int init_register_name_service (ACE_ENV_SINGLE_ARG_DECL); + // Initialize the Name service, tegister the combined IOR with it + + int activate_servant (ACE_ENV_SINGLE_ARG_DECL); + // Activate the servant etc. + + int make_iors_register (ACE_ENV_SINGLE_ARG_DECL_NOT_USED); + + int run (ACE_ENV_SINGLE_ARG_DECL); + // Run the ORB event loop.. + private: + CORBA::ORB_var orb_; + // Our ORB + + PortableServer::POA_var new_poa_var_; + // The new poa that is created.. + + Servant_Locator *servant_locator_; + // Our servant locator + + PortableServer::ServantLocator_var servant_locator_var_; + // Our servant locator var + + CORBA::Object_var new_manager_ior_; +}; +#endif /*_MANAGER_H_ */ |