blob: 926e15cc3d8e77e23e25d4278c5db70738dd70cc (
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
|
// **********************************************************************
//
// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
#ifndef ICEPERF_WORKERTHREAD_H
#define ICEPERF_WORKERTHREAD_H
#include <tao/ORB.h>
#include <ace/Task.h>
//
// Worker thread for running the TAO ORB.
//
class WorkerThread : public ACE_Task_Base
{
public:
WorkerThread(CORBA::ORB_ptr orb);
virtual int svc();
private:
CORBA::ORB_var _orb;
};
#endif /* ICEPERF_WORKERTHREAD_H */
|