summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/bin/Naming_Service/Orbix/logger-main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/orbsvcs/bin/Naming_Service/Orbix/logger-main.cpp')
-rw-r--r--TAO/orbsvcs/bin/Naming_Service/Orbix/logger-main.cpp29
1 files changed, 0 insertions, 29 deletions
diff --git a/TAO/orbsvcs/bin/Naming_Service/Orbix/logger-main.cpp b/TAO/orbsvcs/bin/Naming_Service/Orbix/logger-main.cpp
deleted file mode 100644
index c0cc7799ad9..00000000000
--- a/TAO/orbsvcs/bin/Naming_Service/Orbix/logger-main.cpp
+++ /dev/null
@@ -1,29 +0,0 @@
-#include "logger_tie.h"
-#include <iostream.h>
-#include "CosNaming.hh"
-
-// This is a a startup for a Logger_Factory server.
-// This is used for testing of the Naming Service.
-
-int
-main (int argc, char ** argv)
-{
-
- Logger_Factory_var f = new TIE_Logger_Factory
- (Logger_Factory_tie) (new Logger_Factory_tie);
-
- try
- {
- CORBA::Orbix.impl_is_ready ("logger_factory", 120000);
- // The server will time out if no requests come in for 120 seconds.
- }
-
- catch (const CORBA::SystemException& se)
- {
- cout << "Unexpected exception: " << endl << &se;
- return -1;
- }
-
- cout << "Server logger_factory is terminating" << endl;
- return 0;
-}