3 public class ThreadClientReceive
implements Runnable
{
4 private SocketClient client
;
6 ThreadClientReceive(SocketClient c
) {
13 //FIXME: not exiting properly randomly from that loop!
15 String rline
= client
.receiveMsg();
16 if (rline
.equals(".")) {
19 System
.out
.println(Thread
.currentThread().getName() + " a recu " + rline
);
22 catch (IOException e
) {
23 System
.err
.println("IOException: " + e
);