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