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 client send and receive object message.
[TD_SR.git]
/
TD2
/
client
/
ClientSimplifie.java
diff --git
a/TD2/client/ClientSimplifie.java
b/TD2/client/ClientSimplifie.java
index 84fecb56e6b974b6385e1baacd12fd4417954341..ace3bd7659961b9f1ee9f2944000636a0cd36ef7 100644
(file)
--- a/
TD2/client/ClientSimplifie.java
+++ b/
TD2/client/ClientSimplifie.java
@@
-49,9
+49,9
@@
public class ClientSimplifie {
}
private void attributesInit() {
}
private void attributesInit() {
+ sock = null;
lecture = null;
ecriture = null;
lecture = null;
ecriture = null;
- sock = null;
}
/**
}
/**
@@
-69,7
+69,7
@@
public class ClientSimplifie {
*/
public String receiveMsg() throws IOException {
String line = new String();
*/
public String receiveMsg() throws IOException {
String line = new String();
- //FIXME: read only the line before the ending newline
+ //FIXME
?
: read only the line before the ending newline
line = lecture.readLine();
return line;
}
line = lecture.readLine();
return line;
}