Package org.snmp4j.agent.request

Examples of org.snmp4j.agent.request.SubRequestIterator.nextSubRequest()


      repetitions.next();
      if (repetitions.hasNext()) {
        if ((getStatus().getErrorStatus() == PDU.noError) &&
            (!this.vb.isException())) {
          AgentXSubRequest nsreq =
              (AgentXSubRequest) repetitions.nextSubRequest();
          nsreq.query = null;
          nsreq.scope =
              new DefaultMOContextScope(getContext(),
                                        this.getVariableBinding().getOid(),
                                        false,
View Full Code Here


                                        this.getScope().isUpperIncluded());
        }
        else if (this.vb.isException()) {
          while (repetitions.hasNext()) {
            AgentXSubRequest nsreq =
                (AgentXSubRequest) repetitions.nextSubRequest();
            nsreq.query = null;
            nsreq.getVariableBinding().setOid(this.vb.getOid());
            nsreq.getVariableBinding().setVariable(this.vb.getVariable());
            nsreq.getStatus().setPhaseComplete(true);
          }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.