Revert "Minor modernization of DynamicAny code"
[ACE_TAO.git] / TAO / tests / Bug_1476_Regression / Server_Task.h
blob48fdbd3993053ffad320aee74ee6a1db2e547ac7
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 ();
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*/