if (queue.add(searchRange, activeReg, request.getIndex() >= nonRepeaters)) {
if (((SnmpRequest)request.getRequest())
.getInitiatingEvent().getPDU().getType() == PDU.GETBULK) {
// need to set also repetitions to processed
for (SubRequestIterator it = request.repetitions(); it.hasNext(); ) {
SubRequest sreq = it.nextSubRequest();
sreq.getStatus().setProcessed(true);
}
}
}
markAsProcessed(request);
return true;