summaryrefslogtreecommitdiff
path: root/TAO/tests/DLL_ORB/Test_i.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tests/DLL_ORB/Test_i.h')
-rw-r--r--TAO/tests/DLL_ORB/Test_i.h53
1 files changed, 53 insertions, 0 deletions
diff --git a/TAO/tests/DLL_ORB/Test_i.h b/TAO/tests/DLL_ORB/Test_i.h
new file mode 100644
index 00000000000..f7c893bd903
--- /dev/null
+++ b/TAO/tests/DLL_ORB/Test_i.h
@@ -0,0 +1,53 @@
+// -*- C++ -*-
+
+//=============================================================================
+/**
+ * @file Test_i.h
+ *
+ * $Id$
+ *
+ * Implementation header for the "Test" IDL interface for the DLL ORB
+ * test.
+ *
+ * @author Ossama Othman <ossama@uci.edu>
+ */
+//=============================================================================
+
+#ifndef TEST_I_H
+#define TEST_I_H
+
+#include "TestS.h"
+
+/**
+ * @class Test_i
+ *
+ * @brief Simple test class.
+ *
+ * This class implements the "Test" interface used in this test.
+ */
+class Test_i : public virtual POA_Test
+{
+public:
+
+ /// Constructor.
+ Test_i (void);
+
+ /// Simple two-way operation used to excercise the ORB transport
+ /// internals.
+ virtual void invoke_me (void);
+
+ /// Shutdown the ORB.
+ virtual void shutdown (void);
+
+ /// Set the ORB to be shutdown by the shutdown() method in this
+ /// class.
+ void orb (CORBA::ORB_ptr orb);
+
+private:
+
+ /// Pseudo-reference to the ORB.
+ CORBA::ORB_var orb_;
+
+};
+
+#endif /* TEST_I_H */