summaryrefslogtreecommitdiff
path: root/ciao/ComponentServer/CIAO_RTComponentServer_Task.h
diff options
context:
space:
mode:
authorWilliam R. Otte <wotte@dre.vanderbilt.edu>2010-06-18 14:37:55 +0000
committerWilliam R. Otte <wotte@dre.vanderbilt.edu>2010-06-18 14:37:55 +0000
commit1576f18f4563b78b9c534866f894217dbda4a116 (patch)
tree5b7e217f962e3e5cbc40eba208669e698af54495 /ciao/ComponentServer/CIAO_RTComponentServer_Task.h
parente736a66bb06b1cdfd851d0dc39b1ccd6737f118b (diff)
downloadATCD-1576f18f4563b78b9c534866f894217dbda4a116.tar.gz
branch for removing component server
Diffstat (limited to 'ciao/ComponentServer/CIAO_RTComponentServer_Task.h')
-rw-r--r--ciao/ComponentServer/CIAO_RTComponentServer_Task.h54
1 files changed, 54 insertions, 0 deletions
diff --git a/ciao/ComponentServer/CIAO_RTComponentServer_Task.h b/ciao/ComponentServer/CIAO_RTComponentServer_Task.h
new file mode 100644
index 00000000000..4212bcb7751
--- /dev/null
+++ b/ciao/ComponentServer/CIAO_RTComponentServer_Task.h
@@ -0,0 +1,54 @@
+// $Id$
+/**
+ * @file CIAO_RTComponentServer_Task.h
+ * @author William R. Otte
+ *
+ * Defines interface for the bootstrap element of the CIAO Component
+ * Server.
+ */
+
+#ifndef CIAO_COMPONENTSERVER_TASK_H_
+#define CIAO_COMPONENTSERVER_TASK_H_
+
+#include "ace/String_Base.h"
+#include "ace/Task.h"
+#include "tao/ORB.h"
+#include "tao/RTPortableServer/RTPortableServer.h"
+
+namespace CIAO
+{
+ namespace Deployment
+ {
+ class RTComponentServer_Task : ACE_Task_Base
+ {
+ public:
+ RTComponentServer_Task (int argc, ACE_TCHAR **argv);
+
+ int svc (void);
+
+ struct Error
+ {
+ Error (const ACE_CString &err);
+ ACE_CString err_;
+ };
+
+ void run (void);
+
+ private:
+ void parse_args (int argc, ACE_TCHAR **argv);
+
+ void usage (void);
+
+ CORBA::ORB_var orb_;
+
+ ACE_CString uuid_;
+ ACE_TString callback_ior_str_;
+ ACE_TString output_file_;
+
+ CORBA::ULong static_threads_;
+ CORBA::ULong dynamic_threads_;
+ };
+ }
+}
+
+#endif