summaryrefslogtreecommitdiff
path: root/TAO/tests/Bug_2417_Regression/publisher_impl.h
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2006-03-06 15:12:41 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2006-03-06 15:12:41 +0000
commite858744d5c6034f84f74238c4bd65e89a21d257e (patch)
treedb828abeeef84fb8ed604d09dcc521ab220e9bef /TAO/tests/Bug_2417_Regression/publisher_impl.h
parent398338768b7eedd9abde64edea939c092245ad73 (diff)
downloadATCD-e858744d5c6034f84f74238c4bd65e89a21d257e.tar.gz
ChangeLogTag: Mon Mar 6 15:12:12 UTC 2006 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'TAO/tests/Bug_2417_Regression/publisher_impl.h')
-rw-r--r--TAO/tests/Bug_2417_Regression/publisher_impl.h37
1 files changed, 37 insertions, 0 deletions
diff --git a/TAO/tests/Bug_2417_Regression/publisher_impl.h b/TAO/tests/Bug_2417_Regression/publisher_impl.h
new file mode 100644
index 00000000000..43a62ae54ac
--- /dev/null
+++ b/TAO/tests/Bug_2417_Regression/publisher_impl.h
@@ -0,0 +1,37 @@
+// $Id$
+
+#ifndef EXPLOIT_PUBLISHER_IMPL_H
+#define EXPLOIT_PUBLISHER_IMPL_H
+
+#include "publisherS.h"
+#include "subscriberC.h"
+
+class Publisher_impl : public POA_Publisher
+{
+ public:
+ Publisher_impl(CORBA::ORB_ptr orb);
+ ~Publisher_impl();
+
+ virtual void subscribe (
+ ::Subscriber_ptr subscriber
+ ACE_ENV_ARG_DECL_WITH_DEFAULTS
+ )
+ ACE_THROW_SPEC ((
+ ::CORBA::SystemException
+ ));
+
+ virtual void shutdown (
+ ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS
+ )
+ ACE_THROW_SPEC ((
+ ::CORBA::SystemException
+ ));
+
+ private:
+ CORBA::ORB_var orb_;
+ class Worker;
+ friend class Worker;
+ Worker * worker;
+};
+
+#endif