X-Git-Url: https://git.piment-noir.org/?p=TD_SR.git;a=blobdiff_plain;f=TD2%2Fclient%2FSocketClient.java;fp=TD2%2Fclient%2FSocketClient.java;h=b038475de13bedc2abdd6109610cc9a7459d83d9;hp=15ed27935892cd325019bb81689a6ce69037323a;hb=f8c647b503f84d4a8fc9ff0564f8bcfa989f3020;hpb=1a8b0826b5021061a361550b8a83cde7c25955cb diff --git a/TD2/client/SocketClient.java b/TD2/client/SocketClient.java index 15ed279..b038475 100644 --- 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 - * @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); @@ -115,7 +115,7 @@ public class SocketClient { /** * 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();