Merge pull request #1844 from jrw972/monterey
[ACE_TAO.git] / TAO / tests / Bug_3647_Regression / Backend_Impl.h
blob9593832e0de3ebd5118862dca0d5fb28f14bebae
1 #ifndef Bug_3647_Regression_Backend_Impl_h
2 #define Bug_3647_Regression_Backend_Impl_h
4 #include "TestS.h"
6 namespace Bug_3647_Regression
9 /**
10 * @class Backend
12 * Implement the Bug_3647_Regression::Backend interface
14 class Backend_Impl : public POA_Bug_3647_Regression::Backend
16 public:
17 Backend_Impl(CORBA::ORB_ptr orb, bool verbose);
18 virtual ~Backend_Impl();
20 virtual void startup_test();
21 virtual void ping(Bug_3647_Regression::Payload const & the_payload);
22 virtual void freeze(CORBA::ULong seconds);
24 virtual void shutdown();
26 private:
27 /// Keep a reference to the ORB so we can shutdown the application.
28 CORBA::ORB_var orb_;
30 /// Use this flag to decide if the program should produce any output.
31 bool verbose_;
34 } // namespace Bug_3647_Regression
36 #endif // Bug_3647_Regression_Backend_h