diff options
Diffstat (limited to 'TAO/examples/Simple/grid/server.cpp')
-rw-r--r-- | TAO/examples/Simple/grid/server.cpp | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/TAO/examples/Simple/grid/server.cpp b/TAO/examples/Simple/grid/server.cpp deleted file mode 100644 index 542a1222105..00000000000 --- a/TAO/examples/Simple/grid/server.cpp +++ /dev/null @@ -1,40 +0,0 @@ -// -*- C++ -*- -// $Id$ -#include "Server_i.h" - -// This is the main driver program for the grid server. - -int -main (int argc, char *argv[]) -{ - Server_i server; - - ACE_DEBUG ((LM_DEBUG, - "(%P|%t) Grid 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; -} |