Merge pull request #1844 from jrw972/monterey
[ACE_TAO.git] / TAO / tests / Oneways_Invoking_Twoways / Server_Task.h
blobb00eef99fbf39a834a48af47c259cd6c07e50cd0
2 #ifndef ONEWAYS_INVOKING_TWOWAYS_SERVER_TASK_H
3 #define ONEWAYS_INVOKING_TWOWAYS_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 /* ONEWAYS_INVOKING_TWOWAYS_SERVER_TASK_H*/