if(vb == null) { logger.error("null variable to add ?"); } else if(!vb.isException()) { OID vbOid = vb.getOid(); put(vbOid, convertVar(vb.getVariable()));
for ( final VariableBinding vb : vbs ) if ( vb.isException () )
if ((respPDU != null) && (respPDU.getErrorStatus() == PDU.noError) && (!respPDU.get(0).isException()) && (!respPDU.get(1).isException())) { PDU resp = response.getResponse(); LogLevel setLevel = new LogLevel(resp.get(0).getVariable().toInt());
if ((respPDU != null) && (respPDU.getErrorStatus() == PDU.noError) && (!respPDU.get(0).isException()) && (!respPDU.get(1).isException())) { PDU resp = response.getResponse(); LogLevel setLevel = new LogLevel(resp.get(0).getVariable().toInt());
if ((respPDU != null) && (respPDU.getErrorStatus() == PDU.noError) && (!respPDU.get(0).isException()) && (!respPDU.get(1).isException())) { PDU resp = response.getResponse(); LogLevel setLevel = new LogLevel(resp.get(0).getVariable().toInt());
int pos = startCol + c; VariableBinding vb = response.get(r * cols + c); if (vb.isException()) { continue;
public void updateNextRepetition() { if (!isBulkRequest()) { return; } this.query = null; SubRequestIterator repetitions = repetitions(true); // skip this one repetitions.next(); while (repetitions.hasNext()) { SnmpSubRequest nsreq = (SnmpSubRequest) repetitions.nextSubRequest(); if ((getStatus().getErrorStatus() == PDU.noError) && (!this.vb.isException())) { nsreq.query = null; nsreq.scope = getNextScope(this.vb.getOid()); nsreq.getVariableBinding().setOid(this.vb.getOid()); } else if (this.vb.isException()) { nsreq.query = null; nsreq.getVariableBinding().setOid(this.vb.getOid()); nsreq.getVariableBinding().setVariable(this.vb.getVariable()); nsreq.getStatus().setPhaseComplete(true); } } }
public void updateNextRepetition() { if (!isBulkRequest()) { return; } this.query = null; SubRequestIterator repetitions = repetitions(true); // skip this one if there is any if (repetitions.hasNext()) { repetitions.next(); } while (repetitions.hasNext()) { SnmpSubRequest nsreq = (SnmpSubRequest) repetitions.next(); if ((getStatus().getErrorStatus() == PDU.noError) && (!this.vb.isException())) { nsreq.query = null; nsreq.scope = getNextScope(this.vb.getOid()); nsreq.getVariableBinding().setOid(this.vb.getOid()); } else if (this.vb.isException()) { nsreq.query = null; nsreq.getVariableBinding().setOid(this.vb.getOid()); nsreq.getVariableBinding().setVariable(this.vb.getVariable()); nsreq.getStatus().setPhaseComplete(true); } } }
int pos = colsOfRequest.getColumnIDs().get(c); VariableBinding vb = response.get(r * cols + c); if (vb.isException()) { continue;
int pos = colsOfRequest.getColumnIDs().get(c); VariableBinding vb = response.get(r * cols + c); if (vb.isException()) { continue;
if ((rvb == null) || rvb.isException()) { request.setErrorStatus(PDU.noSuchName);
if (vb.isException()) { response.setErrorStatus(PDU.noSuchName); response.setErrorIndex(i+1);
if (vb.isException()) { response.setErrorStatus(PDU.noSuchName); response.setErrorIndex(i+1);
int pos = startCol + c; VariableBinding vb = response.get(r * cols + c); if (vb.isException()) { continue;
if (event.getResponse() != null && event.getResponse().getErrorStatus() == PDU.noError) { for (VariableBinding vb : event.getResponse().getVariableBindings()) { if (!vb.isException()) { for (int i=0; i<columnOIDs.length; i++) { if (vb.getOid().startsWith(columnOIDs[i])) {
int pos = startCol + c; VariableBinding vb = response.get(r * cols + c); if (vb.isException()) { continue;
int pos = startCol + c; VariableBinding vb = response.get(r * cols + c); if (vb.isException()) { continue;