repositories
/
TD_SR.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
TD2: Make the IHM client with one receive thread and one send thread.
[TD_SR.git]
/
TD2
/
server
/
BroadcastoThreadService.java
diff --git
a/TD2/server/BroadcastoThreadService.java
b/TD2/server/BroadcastoThreadService.java
index df56d31ed4c87c18a7041241be3d870f258fde23..3431b77e0f5bd7bce763013435f1263d706e8571 100644
(file)
--- a/
TD2/server/BroadcastoThreadService.java
+++ b/
TD2/server/BroadcastoThreadService.java
@@
-58,6
+58,7
@@
public class BroadcastoThreadService implements Runnable {
end = true; // le thread de service doit terminer
break; // do not broadcast the dot that will close all clients threads
}
end = true; // le thread de service doit terminer
break; // do not broadcast the dot that will close all clients threads
}
+ System.out.println("Broadcasting the message <" + roMsg + "> received from " + clientSocket.toString());
broadcastoMsg(roMsg);
}
sharedList.remove(OWriter);
broadcastoMsg(roMsg);
}
sharedList.remove(OWriter);