summaryrefslogtreecommitdiff
path: root/TAO/tests/Bug_3647_Regression/Middle_Impl.h
diff options
context:
space:
mode:
authorcoryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2009-04-29 00:09:34 +0000
committercoryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2009-04-29 00:09:34 +0000
commit6304f2ebf3f2d4c95f2848a24242520e83e69a59 (patch)
tree57ebbec9cb195969adb21a8d64fae5a103908dd2 /TAO/tests/Bug_3647_Regression/Middle_Impl.h
parente6e16136e56c0277b7c25ad22ad2f4f1e155c4aa (diff)
downloadATCD-Bug_3647_Regression.tar.gz
Wed Apr 29 00:12:29 UTC 2009 Carlos O'Ryan <coryan@atdesk.com>Bug_3647_Regression
Diffstat (limited to 'TAO/tests/Bug_3647_Regression/Middle_Impl.h')
-rw-r--r--TAO/tests/Bug_3647_Regression/Middle_Impl.h46
1 files changed, 46 insertions, 0 deletions
diff --git a/TAO/tests/Bug_3647_Regression/Middle_Impl.h b/TAO/tests/Bug_3647_Regression/Middle_Impl.h
new file mode 100644
index 00000000000..0435f8a3b7d
--- /dev/null
+++ b/TAO/tests/Bug_3647_Regression/Middle_Impl.h
@@ -0,0 +1,46 @@
+#ifndef Bug_3647_Regression_Middle_Impl_h
+#define Bug_3647_Regression_Middle_Impl_h
+
+#include "TestS.h"
+
+namespace Bug_3647_Regression
+{
+
+/**
+ * @class Middle
+ *
+ * Implement the Bug_3647_Regression::Middle interface
+ *
+ */
+class Middle_Impl : public POA_Bug_3647_Regression::Middle
+{
+public:
+ Middle_Impl(
+ Backend_ptr backend,
+ CORBA::ORB_ptr orb,
+ bool verbose,
+ long timeout);
+ virtual ~Middle_Impl();
+
+ virtual void startup_test();
+ virtual void ping();
+
+ virtual void shutdown();
+
+private:
+ /// Keep a reference to the backend so we can call it, shutdown, etc.
+ Backend_var backend_;
+
+ /// Keep a reference to the ORB so we can shutdown the application.
+ CORBA::ORB_var orb_;
+
+ /// Use this flag to decide if the program should produce any output.
+ bool verbose_;
+
+ /// Control the freeze time based on the timeout time
+ long timeout_;
+};
+
+} // namespace Bug_3647_Regression
+
+#endif // Bug_3647_Regression_Middle_hpp