/**
* 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);
/**
* 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();
/**
* 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);
/**
* 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();