/** Used to iterate and interpret byte sent over the socket. */ private void parseInboundMessages() throws IOException { String request = null; while ((request = server.readNextTokenFromSocket()) != null) { // TODO: handling of malformed XML processTestReport(request); } }