summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/Time_Service/Time_Service_Server.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/orbsvcs/Time_Service/Time_Service_Server.cpp')
-rw-r--r--TAO/orbsvcs/Time_Service/Time_Service_Server.cpp44
1 files changed, 0 insertions, 44 deletions
diff --git a/TAO/orbsvcs/Time_Service/Time_Service_Server.cpp b/TAO/orbsvcs/Time_Service/Time_Service_Server.cpp
deleted file mode 100644
index aa52590160f..00000000000
--- a/TAO/orbsvcs/Time_Service/Time_Service_Server.cpp
+++ /dev/null
@@ -1,44 +0,0 @@
-// $Id$
-
-#include "Server_i.h"
-
-ACE_RCSID(TimeService, Time_Service_Server, "$Id$")
-
-// This is the main driver program for the Time Service server.
-
-int
-main (int argc, char *argv[])
-{
- Server_i server;
-
- ACE_DEBUG ((LM_DEBUG,
- "[SERVER] Process/Thread Id : (%P/%t) Time Service server\n"));
-
- ACE_DECLARE_NEW_CORBA_ENV;
- ACE_TRY
- {
- int r = server.init (argc, argv, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
- if (r == -1)
- return 1;
- else
- {
- server.run (ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- }
- ACE_CATCH (CORBA::SystemException, sysex)
- {
- ACE_PRINT_EXCEPTION (sysex, "System Exception");
- return -1;
- }
- ACE_CATCH (CORBA::UserException, userex)
- {
- ACE_PRINT_EXCEPTION (userex, "User Exception");
- return -1;
- }
- ACE_ENDTRY;
-
- return 0;
-}