summaryrefslogtreecommitdiff
path: root/TAO/tests/Reliable_Oneways/Shutdown_Helper.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tests/Reliable_Oneways/Shutdown_Helper.h')
-rw-r--r--TAO/tests/Reliable_Oneways/Shutdown_Helper.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/TAO/tests/Reliable_Oneways/Shutdown_Helper.h b/TAO/tests/Reliable_Oneways/Shutdown_Helper.h
new file mode 100644
index 00000000000..e4b764f3497
--- /dev/null
+++ b/TAO/tests/Reliable_Oneways/Shutdown_Helper.h
@@ -0,0 +1,30 @@
+//
+// $Id$
+//
+
+#ifndef SHUTDOWN_HELPER_H
+#define SHUTDOWN_HELPER_H
+#include /**/ "ace/pre.h"
+
+#include "TestS.h"
+
+/// Implement the Test::Shutdown_Helper interface
+class Shutdown_Helper
+ : public virtual POA_Test::Shutdown_Helper
+{
+public:
+ /// Constructor
+ Shutdown_Helper (CORBA::ORB_ptr orb);
+
+ // = The skeleton methods
+ virtual void shutdown (ACE_ENV_SINGLE_ARG_DECL)
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+private:
+ /// Use an ORB reference to conver strings to objects and shutdown
+ /// the application.
+ CORBA::ORB_var orb_;
+};
+
+#include /**/ "ace/post.h"
+#endif /* SHUTDOWN_HELPER_H */