summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/tests/Security/MT_IIOP_SSL/Client_Worker.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/orbsvcs/tests/Security/MT_IIOP_SSL/Client_Worker.h')
-rw-r--r--TAO/orbsvcs/tests/Security/MT_IIOP_SSL/Client_Worker.h62
1 files changed, 62 insertions, 0 deletions
diff --git a/TAO/orbsvcs/tests/Security/MT_IIOP_SSL/Client_Worker.h b/TAO/orbsvcs/tests/Security/MT_IIOP_SSL/Client_Worker.h
new file mode 100644
index 00000000000..85099621dfa
--- /dev/null
+++ b/TAO/orbsvcs/tests/Security/MT_IIOP_SSL/Client_Worker.h
@@ -0,0 +1,62 @@
+// $Id$
+
+// ===========================================================================
+//
+// = LIBRARY
+// TAO/orbsvcs/tests/Security/MT_SSLIOP
+//
+// = FILENAME
+// Client_Worker.h
+//
+// = AUTHOR
+// Anand Krishnan
+//
+// ===========================================================================
+
+#ifndef MT_SSLIOP_CLIENT_WORKER_H
+#define MT_SSLIOP_CLIENT_WORKER_H
+#include /**/ "ace/pre.h"
+#include "ace/Task.h"
+
+#if defined (_MSC_VER)
+# pragma warning(push)
+# pragma warning (disable:4250)
+#endif /* _MSC_VER */
+
+#include "testC.h"
+
+
+class Client_Worker : public ACE_Task_Base
+{
+ // = TITLE
+ // Run the Client_Worker Thread
+ //
+ // = DESCRIPTION
+ // Use the ACE_Task_Base class to run the client threads
+ //
+
+public:
+ Client_Worker (Simple_Server_ptr server, int niterations);
+ // ctor
+
+ virtual int svc (void);
+ // thread entry point
+
+private:
+ void validate_connection (void);
+ // Validate the connection
+
+private:
+ Simple_Server_var server_;
+ // The server.
+
+ int niterations_;
+ // The number of iterations on each client thread.
+};
+
+#if defined(_MSC_VER)
+# pragma warning(pop)
+#endif /* _MSC_VER */
+
+#include /**/ "ace/post.h"
+#endif /* MT_SSLIOP_CLIENT_WORKER_H */