Merge pull request #2301 from sonndinh/remove-dup-reactor-functions
[ACE_TAO.git] / TAO / tests / Big_Oneways / Session_Task.h
bloba12710923c207c85daaf7b0372b514bfe0c8335d
2 #ifndef BIG_ONEWAYS_SESSION_TASK_H
3 #define BIG_ONEWAYS_SESSION_TASK_H
4 #include /**/ "ace/pre.h"
6 #include "ace/Task.h"
8 #if !defined (ACE_LACKS_PRAGMA_ONCE)
9 # pragma once
10 #endif /* ACE_LACKS_PRAGMA_ONCE */
12 class Session;
14 /// Implement a Task to run the experiments using multiple threads.
15 class Session_Task : public ACE_Task_Base
17 public:
18 /// Constructor
19 Session_Task (Session *session);
21 /// Thread entry point
22 int svc ();
24 private:
25 /// Reference to the test interface
26 Session *session_;
29 #include /**/ "ace/post.h"
30 #endif /* BIG_ONEWAYS_SESSION_TASK_H */