diff options
Diffstat (limited to 'TAO/examples/Simple/time-date/server.cpp')
-rw-r--r-- | TAO/examples/Simple/time-date/server.cpp | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/TAO/examples/Simple/time-date/server.cpp b/TAO/examples/Simple/time-date/server.cpp deleted file mode 100644 index ca745af3558..00000000000 --- a/TAO/examples/Simple/time-date/server.cpp +++ /dev/null @@ -1,39 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// examples/DLL_ORB/Misc -// -// = FILENAME -// main.cpp -// -// = DESCRIPTION -// This directory contains an example that illustrates how the ACE -// Service Configurator can dynamically configure an ORB from a -// svc.config file. -// -// = AUTHOR -// Doug Schmidt <schmidt@cs.wustl.edu> -// -// ============================================================================ - -#include "ace/Service_Config.h" - -ACE_RCSID(Misc, main, "$Id$") - -int -main (int argc, ASYS_TCHAR *argv[]) -{ - if (ACE_Service_Config::open (argc, argv) == -1 && errno != ENOENT) - ACE_ERROR_RETURN ((LM_ERROR, - ASYS_TEXT ("%p\n"), - ASYS_TEXT ("open")), - 1); - - // Run forever, performing the configured services until we - // shutdown. - - ACE_Reactor::run_event_loop (); - return 0; -} |