summaryrefslogtreecommitdiff
path: root/TAO/tests/MT_NoUpcall_Client_Leader/worker.h
blob: 4e75ff3f4c3c4a66d91b9a83b11f36425cc6aa00 (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
#if !defined( WORKER_H)
#define WORKER_H

#include /**/ "ace/pre.h"
#include "tao/corba.h"
#include "ace/Task.h"

class Worker : public ACE_Task_Base
{
  // = TITLE
  //   Run a server thread
  //
  // = DESCRIPTION
  //   Use the ACE_Task_Base class to run server threads
  //
public:
  Worker (CORBA::ORB_ptr orb);
  // ctor

  virtual int svc ();
  // The thread entry point.

public:
  // The orb
  CORBA::ORB_var orb_;
};

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

#endif /* WORKER_H */