//
SnmpRequest request = session.snmpSetRequest(null, list);
// Check for a timeout of the request
//
boolean completed = request.waitForCompletion((maxRetries + 1) * timeOut);
if (completed == false) {
System.out.println(
"setRequest() of SNMPSet: Request timed out, " +
"check reachability of agent.");