/**
* Writes the SetMessage to the network and waits for response.
* @throws ParentException
*/
public void visit(SetMessage m) throws ParentException {
ClientConnection conn = connectToServer();
conn.write(m.toString());
Message retMessage;
try {
retMessage = parser.parse(conn.read());
retMessage.accept(this);
} catch (MessageParserException e) {
throw new WebAppException("Invalid message", e);
} catch (IOException e) {