Merge pull request #2303 from jwillemsen/jwi-803
[ACE_TAO.git] / TAO / tests / Bug_1020_Basic_Regression / Server_Task.h
blob9ab337f497664b6295afe8f276cb4e634de2c56f
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:
20 /// Constructor
21 Server_Task (Test::Echo_ptr echo);
23 /// The thread entry point.
24 virtual int svc ();
26 private:
27 /// Reference to the test interface
28 Test::Echo_var echo_;
31 #include /**/ "ace/post.h"
32 #endif /* BUG_1020_SERVER_TASK_H*/