TD2: Fix some comments.
[TD_SR.git] / TD2 / IHM / SocketClient.java
index d6db15dd2c2f609f4db5126777828a1314841c81..daa77ee1bef7a54608a7ad44ead683d4f45bad9c 100644 (file)
@@ -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 an object containing the received message
      */
     public Message receiveoMsg() throws IOException, ClassNotFoundException {
         return (Message)oLecture.readObject();