blob: 1df842862e9307c1cd34d6257cf6398b6a102f66 (
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
|
// -*- C++ -*-
#ifndef TAO_TWO_OBJECTS_WORKER_H
#define TAO_TWO_OBJECTS_WORKER_H
#include "tao/ORB.h"
#include "ace/Task.h"
// Use the ACE_Task_Base class to run server threads
class Worker : public ACE_Task_Base
{
public:
// Ctor
Worker (CORBA::ORB_ptr orb);
// The thread entry point.
virtual int svc (void);
private:
// The orb
CORBA::ORB_var orb_;
};
#endif /* TAO_TWO_OBJECTS_WORKER_H */
|