Merge pull request #2303 from jwillemsen/jwi-803
[ACE_TAO.git] / TAO / tests / Client_Leaks / Server_Task.h
blob4acef7697dfbbed1fb5039dcc9bbc4ae5009dbbf
2 #ifndef CLIENT_LEAKS_SERVER_TASK_H
3 #define CLIENT_LEAKS_SERVER_TASK_H
4 #include /**/ "ace/pre.h"
6 #include "tao/ORB.h"
7 #include "ace/Task.h"
9 #if !defined (ACE_LACKS_PRAGMA_ONCE)
10 # pragma once
11 #endif /* ACE_LACKS_PRAGMA_ONCE */
13 /// Implement a Task to run the experiments using multiple threads.
14 class Server_Task : public ACE_Task_Base
16 public:
17 /// Constructor
18 Server_Task (CORBA::ORB_ptr orb,
19 ACE_Thread_Manager *thr_mgr);
21 /// Thread entry point
22 int svc ();
24 private:
25 /// Reference to the ORB
26 CORBA::ORB_var orb_;
29 #include /**/ "ace/post.h"
30 #endif /* CLIENT_LEAKS_SERVER_TASK_H */