Merge pull request #1551 from DOCGroup/plm_jira_333
[ACE_TAO.git] / TAO / orbsvcs / tests / Security / MT_SSLIOP / Server_Worker.h
blob6274c961da8fd78225a6f40ec4af1e93fa5990cc
1 // -*- C++ -*-
3 //=============================================================================
4 /**
5 * @file Server_Worker.h
7 * @author Anand Krishnan
8 */
9 //=============================================================================
11 #ifndef MT_SSLIOP_SERVER_WORKER_H
12 #define MT_SSLIOP_SERVER_WORKER_H
14 #include /**/ "ace/pre.h"
16 #include "ace/Task.h"
17 #include "tao/ORB.h"
19 #if defined (_MSC_VER)
20 # pragma warning(push)
21 # pragma warning (disable:4250)
22 #endif /* _MSC_VER */
24 /**
25 * @class Server_Worker
27 * @brief Run a server thread
29 * Use the ACE_Task_Base class to run server threads.
31 class Server_Worker : public ACE_Task_Base
33 public:
35 /// Constructor
36 Server_Worker (CORBA::ORB_ptr orb);
38 /// The thread entry point.
39 virtual int svc (void);
42 private:
43 /// The ORB
44 CORBA::ORB_var orb_;
48 #if defined(_MSC_VER)
49 # pragma warning(pop)
50 #endif /* _MSC_VER */
52 #include /**/ "ace/post.h"
54 #endif /* MT_SSLIOP_SERVER_WORKER_H */