[SNMP4J] Asynchronous timeout

Frank Fock fock at agentpp.com
Sat Dec 4 01:03:26 CET 2004


Hi Mathias,

Yes, of course. When a asynchronous request times out the
onResponse(ResponseEvent event) method of the user supplied
ResponseListener is called. The event.getResponse() method
will then return null if the request has timed out.

Hope this helps.

Best regards,
Frank

Mathias Bogaert wrote:

> Hi,
>
> When using synchronous requests, one can see if it timed-out, and take 
> action (e.g. query a provisioning system to see if another IP address 
> - DHCP - was assigned to the host). How can this be done using 
> asynchronous requests?
>
> How about a TimeoutListener that can also be passed to snmp.sendPDU?
>
> Mathias Bogaert
>
> _______________________________________________
> SNMP4J mailing list
> SNMP4J at agentpp.org
> http://p15141779.pureserver.info/mailman/listinfo/snmp4j
>





More information about the SNMP4J mailing list