summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/Fault_Notifier/Fault_Notifier_Main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/orbsvcs/Fault_Notifier/Fault_Notifier_Main.cpp')
-rw-r--r--TAO/orbsvcs/Fault_Notifier/Fault_Notifier_Main.cpp25
1 files changed, 25 insertions, 0 deletions
diff --git a/TAO/orbsvcs/Fault_Notifier/Fault_Notifier_Main.cpp b/TAO/orbsvcs/Fault_Notifier/Fault_Notifier_Main.cpp
new file mode 100644
index 00000000000..1896c78ea18
--- /dev/null
+++ b/TAO/orbsvcs/Fault_Notifier/Fault_Notifier_Main.cpp
@@ -0,0 +1,25 @@
+/* -*- C++ -*- */
+//=============================================================================
+/**
+ * @file Fault_Notifier_Main.cpp
+ *
+ * $Id$
+ *
+ * This file is part of Fault Tolerant CORBA.
+ * This file provides the main routine for a process that
+ * implements the FaultNotifier interface and manages
+ * a set of FaultNotifiers.
+ *
+ * @author Dale Wilson <wilson_d@ociweb.com>
+ */
+//=============================================================================
+
+#include "tao/Utils/Server_Main.h"
+#include "FT_Notifier_i.h"
+
+int ACE_TMAIN (int argc, ACE_TCHAR *argv[])
+{
+ TAO::Utils::Server_Main<TAO::FT_FaultNotifier_i> server_main("TAO_FaultNotifier");
+ return server_main.run(argc, argv);
+}
+