summaryrefslogtreecommitdiff
path: root/java/examples/Logger/simple-server/SimpleLogger.java
diff options
context:
space:
mode:
authornobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-07-11 03:26:49 +0000
committernobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-07-11 03:26:49 +0000
commit94e49ea4a4038b5f3b3d9e6221e0016a71777396 (patch)
treeda2c4b771c9ac23e766fd308a85ea05d5fefac7d /java/examples/Logger/simple-server/SimpleLogger.java
parentc8600f579478ad583b21f85a84b13d19bf3697e7 (diff)
downloadATCD-TAO-0_1_38.tar.gz
This commit was manufactured by cvs2svn to create tag 'TAO-0_1_38'.TAO-0_1_38
Diffstat (limited to 'java/examples/Logger/simple-server/SimpleLogger.java')
-rw-r--r--java/examples/Logger/simple-server/SimpleLogger.java44
1 files changed, 0 insertions, 44 deletions
diff --git a/java/examples/Logger/simple-server/SimpleLogger.java b/java/examples/Logger/simple-server/SimpleLogger.java
deleted file mode 100644
index f562689e283..00000000000
--- a/java/examples/Logger/simple-server/SimpleLogger.java
+++ /dev/null
@@ -1,44 +0,0 @@
-//package ACE.SimpleLogger;
-
-import java.io.IOException;
-
-class SimpleLogger implements Runnable
-{
- private LoggingAcceptor la;
- private int port;
-
- public static void main(String[] args)
- {
- SimpleLogger sl = new SimpleLogger();
- sl.run();
- }
-
- public SimpleLogger()
- {
- this(LoggerConstants.DEFAULT_SERVER_PORT);
- }
-
- public SimpleLogger(int port)
- {
- try
- {
- la = new LoggingAcceptor(port);
- }
- catch (IOException ioe)
- {
- System.err.println("SimpleLogger: unable to create LoggingAcceptor ("
- + ioe.getMessage() + ")");
- }
- }
-
- public void run()
- {
- la.run();
- try
- {
- la.join();
- }
- catch (InterruptedException ie)
- { }
- }
-};