summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/Trading_Service/Trading_Server.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/orbsvcs/Trading_Service/Trading_Server.cpp')
-rw-r--r--TAO/orbsvcs/Trading_Service/Trading_Server.cpp36
1 files changed, 0 insertions, 36 deletions
diff --git a/TAO/orbsvcs/Trading_Service/Trading_Server.cpp b/TAO/orbsvcs/Trading_Service/Trading_Server.cpp
deleted file mode 100644
index 0e128784ca2..00000000000
--- a/TAO/orbsvcs/Trading_Service/Trading_Server.cpp
+++ /dev/null
@@ -1,36 +0,0 @@
-// $Id$
-
-#include "Trading_Service.h"
-
-// Driver function for the TAO Trading Service.
-
-int
-main (int argc, char *argv[])
-{
- Trading_Service trader;
-
- ACE_TRY_NEW_ENV
- {
- int check =
- trader.init (argc, argv, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
- if (check != -1)
- {
- trader.run (ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- else
- ACE_ERROR_RETURN ((LM_ERROR,
- "Failed to initialize the trader.\n"),
- 1);
- }
- ACE_CATCHANY
- {
- ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, "Trading Service");
- return 1;
- }
- ACE_ENDTRY;
-
- return 0;
-}