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