summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/Time_Service/clerk.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/orbsvcs/Time_Service/clerk.cpp')
-rw-r--r--TAO/orbsvcs/Time_Service/clerk.cpp42
1 files changed, 0 insertions, 42 deletions
diff --git a/TAO/orbsvcs/Time_Service/clerk.cpp b/TAO/orbsvcs/Time_Service/clerk.cpp
deleted file mode 100644
index 64ad86a7d5a..00000000000
--- a/TAO/orbsvcs/Time_Service/clerk.cpp
+++ /dev/null
@@ -1,42 +0,0 @@
-// $Id$
-
-#include "Clerk_i.h"
-
-ACE_RCSID(TimeService, clerk, "$Id$")
-
-// This is the main driver program for the Time Service clerk.
-
-int
-main (int argc, char *argv[])
-{
- Clerk_i clerk;
-
- ACE_DEBUG ((LM_DEBUG,
- "[SERVER] Process/Thread Id : (%P/%t) Time Service clerk\n"));
-
- TAO_TRY
- {
- if (clerk.init (argc, argv, TAO_TRY_ENV) == -1)
- return 1;
- else
- {
- clerk.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;
-}