More tests update
[ACE_TAO.git] / TAO / tests / Bug_3647_Regression / Middle_Impl.h
blob57fa2ec799a661ea001a9b47e5c624dc18c2eabe
1 #ifndef Bug_3647_Regression_Middle_Impl_h
2 #define Bug_3647_Regression_Middle_Impl_h
4 #include "TestS.h"
6 namespace Bug_3647_Regression
9 /**
10 * @class Middle
12 * Implement the Bug_3647_Regression::Middle interface
14 class Middle_Impl : public POA_Bug_3647_Regression::Middle
16 public:
17 Middle_Impl(
18 Backend_ptr backend,
19 CORBA::ORB_ptr orb,
20 bool verbose,
21 long timeout);
22 virtual ~Middle_Impl();
24 virtual void startup_test();
25 virtual void ping();
27 virtual void shutdown();
29 private:
30 /// Keep a reference to the backend so we can call it, shutdown, etc.
31 Backend_var backend_;
33 /// Keep a reference to the ORB so we can shutdown the application.
34 CORBA::ORB_var orb_;
36 /// Use this flag to decide if the program should produce any output.
37 bool verbose_;
39 /// Control the freeze time based on the timeout time
40 long timeout_;
43 } // namespace Bug_3647_Regression
45 #endif // Bug_3647_Regression_Middle_hpp