summaryrefslogtreecommitdiff
path: root/TAO/tests/Bug_1020_Basic_Regression/Echo.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tests/Bug_1020_Basic_Regression/Echo.h')
-rw-r--r--TAO/tests/Bug_1020_Basic_Regression/Echo.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/TAO/tests/Bug_1020_Basic_Regression/Echo.h b/TAO/tests/Bug_1020_Basic_Regression/Echo.h
new file mode 100644
index 00000000000..55aed2b36df
--- /dev/null
+++ b/TAO/tests/Bug_1020_Basic_Regression/Echo.h
@@ -0,0 +1,31 @@
+
+/**
+ * @file Echo.h
+ *
+ * $Id$
+ *
+ * @author Carlos O'Ryan <coryan@atdesk.com>
+ *
+ */
+#ifndef BUG_1020_BASIC_REGRESSION_ECHO_H
+#define BUG_1020_BASIC_REGRESSION_ECHO_H
+#include "TestS.h"
+
+class Echo : public POA_Test::Echo
+{
+public:
+
+ Echo (CORBA::ORB_ptr orb,
+ int abort_counter);
+
+ virtual void echo_payload (Test::Payload & data);
+
+private:
+ CORBA::ORB_var orb_;
+
+ int abort_counter_;
+
+ ACE_SYNCH_MUTEX mutex_;
+};
+
+#endif /* BUG_1020_BASIC_REGRESSION_ECHO_H*/