summaryrefslogtreecommitdiff
path: root/ACE/TAO/examples/CSD_Strategy/ThreadPool3/ServerApp.h
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/TAO/examples/CSD_Strategy/ThreadPool3/ServerApp.h')
-rw-r--r--ACE/TAO/examples/CSD_Strategy/ThreadPool3/ServerApp.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/ACE/TAO/examples/CSD_Strategy/ThreadPool3/ServerApp.h b/ACE/TAO/examples/CSD_Strategy/ThreadPool3/ServerApp.h
new file mode 100644
index 00000000000..dc422b926b2
--- /dev/null
+++ b/ACE/TAO/examples/CSD_Strategy/ThreadPool3/ServerApp.h
@@ -0,0 +1,31 @@
+// $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, ACE_TCHAR* argv[]);
+
+
+ private:
+
+ int parse_args(int argc, ACE_TCHAR* argv[]);
+ void usage_statement();
+
+ ACE_TString exe_name_;
+ ACE_TString ior_filename_;
+ unsigned num_clients_;
+ unsigned num_orb_threads_;
+};
+
+#endif