try {
agentResponse = request.getResponseType().newInstance();
} catch (Exception e) {
models.utils.LogUtils.printLogError(e.getLocalizedMessage()
+ " in sendProgress() in GAOpWorker");
agentResponse = new AgentResponse();
}
}
agentResponse.setOperationTimeMillis(operationTimeMillis);
agentResponse.setRequest(request);
agentResponse.setHost(host);