Merge pull request #2317 from jwillemsen/jwi-deleteop
[ACE_TAO.git] / TAO / examples / CSD_Strategy / ThreadPool5 / ServerApp.h
blobfe582ee5f866e588036741b98d425d46ac390a35
1 #ifndef SERVERAPP_H
2 #define SERVERAPP_H
4 #include "ace/SString.h"
5 #include "ace/CORBA_macros.h"
6 #include "tao/Environment.h"
8 class ServerApp
10 public:
11 ServerApp();
12 ~ServerApp();
14 int run(int argc, ACE_TCHAR* argv[]);
17 private:
18 int parse_args(int argc, ACE_TCHAR* argv[]);
19 void usage_statement();
21 ACE_TString exe_name_;
22 ACE_TString ior_filename_;
23 unsigned num_servants_;
24 unsigned num_csd_threads_;
25 unsigned num_clients_;
26 unsigned num_orb_threads_;
27 int collocated_test_;
28 int servant_to_deactivate_;
31 #endif