repositories
/
TD_SR.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
TD2: Fix some comments.
[TD_SR.git]
/
TD2
/
client
/
SocketClient.java
diff --git
a/TD2/client/SocketClient.java
b/TD2/client/SocketClient.java
index 15ed27935892cd325019bb81689a6ce69037323a..b038475de13bedc2abdd6109610cc9a7459d83d9 100644
(file)
--- a/
TD2/client/SocketClient.java
+++ b/
TD2/client/SocketClient.java
@@
-95,7
+95,7
@@
public class SocketClient {
/**
* Send an object message on the opened client socket
/**
* Send an object message on the opened client socket
- * @param
msg a string
containing the message to send
+ * @param
oMsg an object
containing the message to send
*/
public void sendoMsg(Message oMsg) throws IOException {
oEcriture.writeObject(oMsg);
*/
public void sendoMsg(Message oMsg) throws IOException {
oEcriture.writeObject(oMsg);
@@
-115,7
+115,7
@@
public class SocketClient {
/**
* Receive an object message sent on the opened client socket
/**
* Receive an object message sent on the opened client socket
- * @return a
string
containing the received message
+ * @return a
object
containing the received message
*/
public Message receiveoMsg() throws IOException, ClassNotFoundException {
return (Message)oLecture.readObject();
*/
public Message receiveoMsg() throws IOException, ClassNotFoundException {
return (Message)oLecture.readObject();