2 //=============================================================================
4 * @file Client_Worker.h
6 * @author Anand Krishnan
8 //=============================================================================
11 #ifndef MT_SSLIOP_CLIENT_WORKER_H
12 #define MT_SSLIOP_CLIENT_WORKER_H
13 #include /**/ "ace/pre.h"
16 #if defined (_MSC_VER)
17 # pragma warning(push)
18 # pragma warning (disable:4250)
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
36 Client_Worker (Simple_Server_ptr server
,
37 Another_One_ptr another
,
40 /// thread entry point
41 virtual int svc (void);
44 /// Validate the connection
45 void validate_connection (void);
49 Simple_Server_var server_
;
51 /// Another object served by the same server as server_.
52 Another_One_var another_
;
54 /// The number of iterations on each client thread.
62 #include /**/ "ace/post.h"
63 #endif /* MT_SSLIOP_CLIENT_WORKER_H */