aboutsummaryrefslogtreecommitdiff
path: root/src/IvyDaemon.java
diff options
context:
space:
mode:
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