Merge pull request #1844 from jrw972/monterey
[ACE_TAO.git] / TAO / tests / Bug_1020_Basic_Regression / Server_Task.h
blobad5e6059fac052f2c477b47d9b4d39d171a421e2
1 /**
2 * @file Server_Task.h
4 * @author Balachandran Natarajan <bala@isis-server.isis.vanderbilt.edu>
5 */
6 #ifndef BUG_1020_SERVER_TASK_H
7 #define BUG_1020_SERVER_TASK_H
8 #include /**/ "ace/pre.h"
10 #include "TestC.h"
11 #include "ace/Task.h"
13 #if !defined (ACE_LACKS_PRAGMA_ONCE)
14 # pragma once
15 #endif /* ACE_LACKS_PRAGMA_ONCE */
17 class Server_Task : public ACE_Task_Base
19 public:
21 /// Constructor
22 Server_Task (Test::Echo_ptr echo,
23 size_t sz);
25 /// The thread entry point.
26 virtual int svc (void);
28 private:
29 /// Reference to the test interface
30 Test::Echo_var echo_;
32 /// Size of data that is traded
33 size_t sz_;
36 #include /**/ "ace/post.h"
37 #endif /* BUG_1020_SERVER_TASK_H*/