monkey-island/src/fr/eseo/game/network/Communication.java
public String receiveMessage() {
        String message = "";
        try {
            message = this.in.readLine();
        } catch (IOException e) {
            message = null;
        }
        System.out.println(this + message);
        return message;
    }
/**
     * Receive the message from the client's socket.
     * @return message. The received message.
     */
Receive the message from the client's socket.
@return message. The received message.
Receive the message from the client ' s socket . @return message . The received message .
public String receiveMessage() {
        String message = "";
        try {
            message = this.in.readLine();
        } catch (IOException e) {
            message = null;
        }
        System.out.println(this + message);
        return message;
    }
public String receiveMessage ( ) { String message = "" ; try { message = this . in . readLine ( ) ; } catch ( IOException e ) { message = null ; } System . out . println ( this + message ) ; return message ; }
Receive the message from the client's socket.
Receive the message from the client ' s socket .