currentJob.setGradeResult(receiveGradeResultProto());
}
private GradeResult receiveGradeResultProto() throws IOException, AgentException {
byte proto[] = readBytes(receiveKeyAndLength());
GradeResult result = GradeProto.GradeResult.parseFrom(proto);
return result;
}