summaryrefslogtreecommitdiff
path: root/TAO/examples/Simple/chat/server.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/examples/Simple/chat/server.cpp')
-rw-r--r--TAO/examples/Simple/chat/server.cpp55
1 files changed, 0 insertions, 55 deletions
diff --git a/TAO/examples/Simple/chat/server.cpp b/TAO/examples/Simple/chat/server.cpp
deleted file mode 100644
index fe8731c6af8..00000000000
--- a/TAO/examples/Simple/chat/server.cpp
+++ /dev/null
@@ -1,55 +0,0 @@
-// $Id$
-
-// ===========================================================
-//
-//
-// = LIBRARY
-// TAO/tests/Simple/chat
-//
-// = FILENAME
-// server.cpp
-//
-// = DESCRIPTION
-// Entry point for the chat server.
-//
-// = AUTHOR
-// Pradeep Gore <pradeep@cs.wustl.edu>
-//
-// ===========================================================
-
-#include "Server_i.h"
-
-int
-main (int argc, char *argv[])
-{
- ACE_TRY_NEW_ENV
- {
- Server_i server_i;
-
- if (server_i.init (argc, argv, ACE_TRY_ENV) != 0)
- {
- ACE_TRY_CHECK;
-
- ACE_ERROR_RETURN ((LM_ERROR,
- "\n error in init.\n"),
- 1);
- }
- if (server_i.run (ACE_TRY_ENV) != 0)
- {
- ACE_TRY_CHECK;
-
- ACE_ERROR_RETURN ((LM_ERROR,
- "\n error in run.\n"),
- 1);
- }
- }
- ACE_CATCHANY
- {
- ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION,
- "server::main\t\n");
- return 1;
- }
- ACE_ENDTRY;
-
- return 0;
-}