Merge pull request #1844 from jrw972/monterey
[ACE_TAO.git] / TAO / tests / Bug_1482_Regression / Server_Task.h
bloba07f998f5a1151cca92d1aba791cdcc91592867e
2 #ifndef LONGUPCALLS_SERVER_TASK_H
3 #define LONGUPCALLS_SERVER_TASK_H
4 #include /**/ "ace/pre.h"
6 #include "ace/Task.h"
8 #include "tao/ORB.h"
10 #if !defined (ACE_LACKS_PRAGMA_ONCE)
11 # pragma once
12 #endif /* ACE_LACKS_PRAGMA_ONCE */
14 /// Implement a Task to run the experiments using multiple threads.
15 class Server_Task : public ACE_Task_Base
17 public:
18 /// Constructor
19 Server_Task (CORBA::ORB_ptr orb,
20 ACE_Thread_Manager *thr_mgr);
22 /// Thread entry point
23 int svc (void);
25 private:
26 /// Reference to the ORB
27 CORBA::ORB_var orb_;
30 #include /**/ "ace/post.h"
31 #endif /* LONGUPCALLS_SERVER_TASK_H */