summaryrefslogtreecommitdiff
path: root/ACE/examples/C++NPv1/Reactive_Logging_Server_Ex.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/examples/C++NPv1/Reactive_Logging_Server_Ex.cpp')
-rw-r--r--ACE/examples/C++NPv1/Reactive_Logging_Server_Ex.cpp20
1 files changed, 20 insertions, 0 deletions
diff --git a/ACE/examples/C++NPv1/Reactive_Logging_Server_Ex.cpp b/ACE/examples/C++NPv1/Reactive_Logging_Server_Ex.cpp
new file mode 100644
index 00000000000..b8bc363180a
--- /dev/null
+++ b/ACE/examples/C++NPv1/Reactive_Logging_Server_Ex.cpp
@@ -0,0 +1,20 @@
+/*
+** $Id$
+**
+** Copyright 2001 Addison Wesley. All Rights Reserved.
+*/
+
+#include "ace/Functor.h"
+#include "ace/Log_Msg.h"
+
+#include "Reactive_Logging_Server_Ex.h"
+
+int main (int argc, char *argv[])
+{
+ Reactive_Logging_Server_Ex server;
+
+ if (server.run (argc, argv) == -1)
+ ACE_ERROR_RETURN ((LM_ERROR, "%p\n", "server.run()"), 1);
+ return 0;
+}
+