blob: d2f989111cc79d983db0c54738ca5f5e5bf9402d (
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
32
33
34
35
36
37
|
//$Id$
#include "tao/ORB.h"
#include "ace/Task.h"
#include <vector>
#include <string>
class TestClient : public ACE_Task_Base
{
public:
TestClient(CORBA::ORB_ptr orb, int argc, char* argv[]);
virtual ~TestClient();
void run();
private:
int parseCommands(int argc, char* argv[]);
void buildIORList();
void pause(int milliseconds);
virtual int svc();
CORBA::ORB_var orb_;
std::vector<std::string> iors_;
char pauseType_;
int startupPause_;
int threadCount_;
int instance_;
int iterations_;
int requestCount_;
bool randomRequests_;
bool shutdownOrb_;
bool expectHolding_;
bool expectNoProfile_;
};
|