Merge pull request #1844 from jrw972/monterey
[ACE_TAO.git] / TAO / tests / Client_Leaks / Server_Task.h
blob8b5f48d872ca8ff4179a4ba4317eed39f5bc52ac
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 (void);
24 private:
25 /// Reference to the ORB
26 CORBA::ORB_var orb_;
29 #include /**/ "ace/post.h"
30 #endif /* CLIENT_LEAKS_SERVER_TASK_H */