blob: 8b461a3e299c2201fa582fc71dd420e4222402a7 (
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
|
// $Id$
#ifndef SERVERAPP_H
#define SERVERAPP_H
#include "ace/SString.h"
#include "ace/CORBA_macros.h"
#include "tao/Environment.h"
class ServerApp
{
public:
ServerApp();
~ServerApp();
int run(int argc, char* argv[] ACE_ENV_ARG_DECL);
private:
int parse_args(int argc, char* argv[]);
void usage_statement();
ACE_CString exe_name_;
ACE_CString ior_filename_;
unsigned num_servants_;
unsigned num_csd_threads_;
unsigned num_clients_;
unsigned num_orb_threads_;
int collocated_test_;
int servant_to_deactivate_;
};
#endif
|