public boolean setApplicationLastResponseId(int newLastResponseId) { ApplicationMasterService applicationMasterService = (ApplicationMasterService) amRMProtocol; responseId = newLastResponseId; return applicationMasterService.setAttemptLastResponseId(attemptId, newLastResponseId); }