Merge pull request #2303 from jwillemsen/jwi-803
[ACE_TAO.git] / TAO / tests / Bug_3647_Regression / Backend_Impl.h
blob94d97c0d74779704714002fe8de21dd67407abde
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
8 /**
9 * @class Backend
11 * Implement the Bug_3647_Regression::Backend interface
13 class Backend_Impl : public POA_Bug_3647_Regression::Backend
15 public:
16 Backend_Impl(CORBA::ORB_ptr orb, bool verbose);
17 virtual ~Backend_Impl() = default;
19 virtual void startup_test();
20 virtual void ping(Bug_3647_Regression::Payload const & the_payload);
21 virtual void freeze(CORBA::ULong seconds);
23 virtual void shutdown();
25 private:
26 /// Keep a reference to the ORB so we can shutdown the application.
27 CORBA::ORB_var orb_;
29 /// Use this flag to decide if the program should produce any output.
30 bool verbose_;
32 } // namespace Bug_3647_Regression
34 #endif // Bug_3647_Regression_Backend_h