request.addAllKnownMD5S(knownMD5s);
request.setKnownMD5STimeoutMs((int) timeout);
ResponseEncapsulation res = protocol.sendRequest(
MessageType.MSG_SCREENSHOT, request.build().toByteArray());
LauncherScreenshotResponse response = (LauncherScreenshotResponse) res.getResponse();
resultMd5 = response.getMd5();
resultBytes = response.getImagedata().toByteArray();
if (response.hasBlank()) {
blank = response.getBlank();
}
} catch (SocketTimeoutException e) {
throw new OperaRunnerException("Could not get screenshot from launcher", e);
} catch (IOException e) {
throw new OperaRunnerException("Could not get screenshot from launcher", e);