diff options
Diffstat (limited to 'TAO/examples/Simple/chat/server.cpp')
-rw-r--r-- | TAO/examples/Simple/chat/server.cpp | 56 |
1 files changed, 0 insertions, 56 deletions
diff --git a/TAO/examples/Simple/chat/server.cpp b/TAO/examples/Simple/chat/server.cpp deleted file mode 100644 index 65cb736e0c7..00000000000 --- a/TAO/examples/Simple/chat/server.cpp +++ /dev/null @@ -1,56 +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[]) -{ - CORBA::Environment TAO_TRY_ENV; - - TAO_TRY - { - Server_i server_i; - - if (server_i.init (argc, argv, TAO_TRY_ENV) != 0) - { - TAO_CHECK_ENV; - - ACE_ERROR_RETURN ((LM_ERROR, - "\n error in init.\n"), - 1); - } - if (server_i.run (TAO_TRY_ENV) != 0) - { - TAO_CHECK_ENV; - - ACE_ERROR_RETURN ((LM_ERROR, - "\n error in run.\n"), - 1); - } - } - TAO_CATCHANY - { - TAO_TRY_ENV.print_exception ("server::main\t\n"); - return 1; - } - TAO_ENDTRY; - - return 0; -} |