* @return the SNMP response
*
* @throws SnmpException if the SNMP request failed
*/
public SnmpResponse set(SnmpRequest[] requests) throws SnmpException {
BlockPdu pdu = new BlockPdu(context);
pdu.setPduType(BlockPdu.SET);
for (int i = 0; i < requests.length; i++) {
addOid(pdu, requests[i].getOid(), createAsnValue(requests[i]));
}
return send(pdu);
}