summaryrefslogtreecommitdiff
path: root/examples/C++NPv2/Reactor_Logging_Server.cpp
diff options
context:
space:
mode:
authornobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2005-06-18 18:53:27 +0000
committernobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2005-06-18 18:53:27 +0000
commit152c0f5c127eac99b5c9097aa4db2b34e14e6dd0 (patch)
tree0d399a92623e98588cd34e4fe0c2cf7fed880173 /examples/C++NPv2/Reactor_Logging_Server.cpp
parent7e7f4a5d3e77a42e648b7dd2e1b9cf23a3780955 (diff)
downloadATCD-MyACE.tar.gz
This commit was manufactured by cvs2svn to create branch 'MyACE'.MyACE
Diffstat (limited to 'examples/C++NPv2/Reactor_Logging_Server.cpp')
-rw-r--r--examples/C++NPv2/Reactor_Logging_Server.cpp34
1 files changed, 0 insertions, 34 deletions
diff --git a/examples/C++NPv2/Reactor_Logging_Server.cpp b/examples/C++NPv2/Reactor_Logging_Server.cpp
deleted file mode 100644
index c6c16d631c8..00000000000
--- a/examples/C++NPv2/Reactor_Logging_Server.cpp
+++ /dev/null
@@ -1,34 +0,0 @@
-/*
-** $Id$
-**
-** Copyright 2002 Addison Wesley. All Rights Reserved.
-*/
-
-#include "Reactor_Logging_Server.h"
-#include "Logging_Acceptor_Ex.h"
-#include "ace/Log_Msg.h"
-
-typedef Reactor_Logging_Server<Logging_Acceptor_Ex>
- Server_Logging_Daemon;
-
-int main (int argc, char *argv[])
-{
- ACE_Reactor reactor;
- Server_Logging_Daemon *server;
- // Ignore argv[0]...
- --argc; ++argv;
- ACE_NEW_RETURN (server,
- Server_Logging_Daemon (argc, argv, &reactor),
- 1);
-
- if (reactor.run_reactor_event_loop () == -1)
- ACE_ERROR_RETURN ((LM_ERROR, "%p\n",
- "run_reactor_event_loop()"), 1);
- return 0;
-}
-
-#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION)
-template class Reactor_Logging_Server<Logging_Acceptor_Ex>;
-#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA)
-#pragma instantiate Reactor_Logging_Server<Logging_Acceptor_Ex>
-#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */