summaryrefslogtreecommitdiff
path: root/TAO/tests/Bug_1020_Regression/Server_Task.h
blob: 04dcdbbc98e4333334a45c16b24cf9d3c61ff6d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
//
// $Id$
//

#ifndef Server_Task__h_
#define Server_Task__h_
#include /**/ "ace/pre.h"

#include "TestC.h"
#include "ace/Task.h"

#if !defined (ACE_LACKS_PRAGMA_ONCE)
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */

class Server_Task : public ACE_Task_Base
{
public:
  /// Constructor
  Server_Task (Test::Echo_ptr echo);

  /// Thread entry point
  int svc (void);

private:
  /// Reference to the test interface
  Test::Echo_var echo_;
};

#include /**/ "ace/post.h"
#endif /* Server_Task__h_ */