aboutsummaryrefslogtreecommitdiff
path: root/src/IvyDaemon.java
diff options
context:
space:
mode:
authorjestin2002-12-27 17:17:20 +0000
committerjestin2002-12-27 17:17:20 +0000
commit5a44dbef7c997b6e09a565306c60e7146f0f8c2b (patch)
tree682d9cf3854d06f11757d2ad9eb60ef3d45faf9a /src/IvyDaemon.java
parent21db182d2ba046114e5a48893e32335e7990f8f5 (diff)
downloadivy-java-5a44dbef7c997b6e09a565306c60e7146f0f8c2b.zip
ivy-java-5a44dbef7c997b6e09a565306c60e7146f0f8c2b.tar.gz
ivy-java-5a44dbef7c997b6e09a565306c60e7146f0f8c2b.tar.bz2
ivy-java-5a44dbef7c997b6e09a565306c60e7146f0f8c2b.tar.xz
Passage à 1.2.2
Diffstat (limited to 'src/IvyDaemon.java')
-rw-r--r--src/IvyDaemon.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/IvyDaemon.java b/src/IvyDaemon.java
index a0560f5..13b6f0c 100644
--- a/src/IvyDaemon.java
+++ b/src/IvyDaemon.java
@@ -77,6 +77,7 @@ public class IvyDaemon implements Runnable {
* it could be a thread, but as long as we've got one ....
*/
public void run() {
+ // System.out.println("IvyDaemon Thread started"); // THREADDEBUG
while(isRunning){
try {
Socket socket = serviceSocket.accept();
@@ -86,18 +87,21 @@ public class IvyDaemon implements Runnable {
System.out.println("IvyDaemon DEBUG TCP socket reader caught an exception " + e.getMessage());
}
}
+ // System.out.println("IvyDaemon Thread stopped"); // THREADDEBUG
}
class SubReader extends Thread {
BufferedReader in;
SubReader(BufferedReader in) {this.in=in;start();}
public void run() {
+ // System.out.println("Subreader Thread started"); // THREADDEBUG
String msg = null;
try {
while ( ((msg=in.readLine()) != null )) { bus.sendMsg(msg); }
} catch (IOException ioe) {
System.out.println("exception ..." + ioe.getMessage());
}
+ // System.out.println("Subreader Thread stopped"); // THREADDEBUG
}
} // subclass SubReader