summaryrefslogtreecommitdiff
path: root/TAO/examples/CSD_Strategy/ThreadPool6/ServerApp.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/examples/CSD_Strategy/ThreadPool6/ServerApp.h')
-rw-r--r--TAO/examples/CSD_Strategy/ThreadPool6/ServerApp.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/TAO/examples/CSD_Strategy/ThreadPool6/ServerApp.h b/TAO/examples/CSD_Strategy/ThreadPool6/ServerApp.h
new file mode 100644
index 00000000000..ad89b43c972
--- /dev/null
+++ b/TAO/examples/CSD_Strategy/ThreadPool6/ServerApp.h
@@ -0,0 +1,30 @@
+// $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_clients_;
+};
+
+#endif