Merge pull request #2309 from mitza-oci/warnings
[ACE_TAO.git] / TAO / orbsvcs / tests / Security / MT_SSLIOP / Client_Worker.h
blobb8bc8551311be39608e00b8123c7e256c0064fc2
2 //=============================================================================
3 /**
4 * @file Client_Worker.h
6 * @author Anand Krishnan
7 */
8 //=============================================================================
11 #ifndef MT_SSLIOP_CLIENT_WORKER_H
12 #define MT_SSLIOP_CLIENT_WORKER_H
13 #include /**/ "ace/pre.h"
14 #include "ace/Task.h"
16 #if defined (_MSC_VER)
17 # pragma warning(push)
18 # pragma warning (disable:4250)
19 #endif /* _MSC_VER */
21 #include "testC.h"
24 /**
25 * @class Client_Worker
27 * @brief Run the Client_Worker Thread
29 * Use the ACE_Task_Base class to run the client threads
31 class Client_Worker : public ACE_Task_Base
33 public:
34 /// ctor
35 Client_Worker (Simple_Server_ptr server,
36 Another_One_ptr another,
37 int niterations);
39 /// thread entry point
40 virtual int svc ();
42 private:
43 /// Validate the connection
44 void validate_connection ();
46 private:
47 /// The server.
48 Simple_Server_var server_;
50 /// Another object served by the same server as server_.
51 Another_One_var another_;
53 /// The number of iterations on each client thread.
54 int niterations_;
57 #if defined(_MSC_VER)
58 # pragma warning(pop)
59 #endif /* _MSC_VER */
61 #include /**/ "ace/post.h"
62 #endif /* MT_SSLIOP_CLIENT_WORKER_H */