More tests update
[ACE_TAO.git] / TAO / tests / Bug_3276_Regression / Manager.h
blobabf99ba5968f849b0adea95c6f3ffc632d9e81e1
1 #ifndef _MANAGER_H_
2 #define _MANAGER_H_
4 #include "Servant_Locator.h"
6 class Manager
8 public:
9 Manager (void);
10 // Ctor
12 ~Manager (void);
14 int init (int argc, ACE_TCHAR *argv[]);
15 // Initialize the ORB, POA etc.
17 int activate_servant (void);
18 // Activate the servant etc.
20 int run (void);
21 // Run the ORB's event loop.
23 CORBA::ORB_ptr orb (void);
24 // ORB's accessor.
26 CORBA::Object_ptr server (void);
27 // Server's accessor.
29 private:
30 CORBA::ORB_var orb_;
31 // Our ORB
33 PortableServer::POA_var new_poa_var_;
34 // The new poa that is created.
36 PortableServer::ServantLocator_var servant_locator_;
37 // Our servant locator
39 CORBA::Object_var server_;
43 #endif /*_MANAGER_H_ */