summaryrefslogtreecommitdiff
path: root/TAO/examples/Simple/bank/server.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/examples/Simple/bank/server.cpp')
-rw-r--r--TAO/examples/Simple/bank/server.cpp42
1 files changed, 0 insertions, 42 deletions
diff --git a/TAO/examples/Simple/bank/server.cpp b/TAO/examples/Simple/bank/server.cpp
deleted file mode 100644
index 473441fc8d9..00000000000
--- a/TAO/examples/Simple/bank/server.cpp
+++ /dev/null
@@ -1,42 +0,0 @@
-// $Id$
-
-#include "Server_i.h"
-
-ACE_RCSID(Time, server, "$Id$")
-
-// This is the main driver program for the Bank server.
-
-int
-main (int argc, char *argv[])
-{
- Server_i server;
-
- ACE_DEBUG ((LM_DEBUG,
- "[SERVER] Process/Thread Id : (%P/%t) Bank server\n"));
-
- TAO_TRY
- {
- if (server.init (argc, argv, TAO_TRY_ENV) == -1)
- return 1;
- else
- {
- server.run (TAO_TRY_ENV);
- TAO_CHECK_ENV;
- }
- }
- TAO_CATCH (CORBA::SystemException, sysex)
- {
- ACE_UNUSED_ARG (sysex);
- TAO_TRY_ENV.print_exception ("System Exception");
- return -1;
- }
- TAO_CATCH (CORBA::UserException, userex)
- {
- ACE_UNUSED_ARG (userex);
- TAO_TRY_ENV.print_exception ("User Exception");
- return -1;
- }
- TAO_ENDTRY;
-
- return 0;
-}