Merge pull request #2309 from mitza-oci/warnings
[ACE_TAO.git] / TAO / performance-tests / Sequence_Latency / AMI / Server_Task.h
blobbd12b2c757a4680c9023a5cc0a6b643b0c18ec6e
2 #ifndef SERVER_TASK_H
3 #define SERVER_TASK_H
4 #include /**/ "ace/pre.h"
6 #include "tao/ORB.h"
7 #include "ace/Task.h"
9 /// Implement a simple ACE_Task to run the ORB event loop
10 /**
11 * This class is used to implement a simple thread pool.
13 class Server_Task : public ACE_Task_Base
15 public:
16 /// Constructor
17 Server_Task (CORBA::ORB_ptr orb);
19 /// The thread entry point
20 virtual int svc ();
22 private:
23 /// Keep a reference to the ORB
24 CORBA::ORB_var orb_;
27 #include /**/ "ace/post.h"
28 #endif /* SERVER_TASK_H */