diff options
author | nobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-10-15 04:23:40 +0000 |
---|---|---|
committer | nobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-10-15 04:23:40 +0000 |
commit | b608d1066a61c3793c879266c93ab0a97b063f4c (patch) | |
tree | 330242725b8b5a464aa612d38ebc38821d20a08d /TAO/examples/Simple/time/server.cpp | |
parent | 43d57c766dfd3d460d9d20264482dfe3a5b1279b (diff) | |
download | ATCD-ACE-4_5_55.tar.gz |
This commit was manufactured by cvs2svn to create tag 'ACE-4_5_55'.ACE-4_5_55
Diffstat (limited to 'TAO/examples/Simple/time/server.cpp')
-rw-r--r-- | TAO/examples/Simple/time/server.cpp | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/TAO/examples/Simple/time/server.cpp b/TAO/examples/Simple/time/server.cpp deleted file mode 100644 index 6a8d6ea6d63..00000000000 --- a/TAO/examples/Simple/time/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 time and date server. - -int -main (int argc, char *argv[]) -{ - Server_i server; - - ACE_DEBUG ((LM_DEBUG, - "\n\ttime and date server\n\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; -} |