Package org.snmp4j

Examples of org.snmp4j.PDU.addAll()


    /* Load up the OIDs or VariableBindings */
    if ((type == PDU.GET) || (type == PDU.GETBULK) || (type == PDU.GETNEXT)) {
      requestPdu.addAllOIDs(bindings);
    } else {
      requestPdu.addAll(bindings);
    }

    requestPdu.setRequestID(new Integer32(Math.abs(this.random.nextInt())));
    return requestPdu;
  }
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.