subrequests = new ArrayList(capacity + totalRepetitions);
if (response == null) {
response = createResponse();
}
if (requestEvent.getCommand() instanceof AgentXRequestPDU) {
AgentXRequestPDU rangeRequest =
(AgentXRequestPDU)requestEvent.getCommand();
MOScope[] ranges = rangeRequest.getRanges();
for (int i = 0; i < ranges.length; i++) {
AgentXSubRequest subReq =
new AgentXSubRequest(
new DefaultMOContextScope(getContext(), ranges[i]), i);
addSubRequest(subReq);