[SNMP4J] Obtain target from a response

Frank Fock fock at agentpp.com
Wed Dec 29 22:40:49 CET 2004


Hi Mathias,

SNMP4J v1.1 will include the peer address in the ResponseEvent object.
Until v1.1 is released you will have to put the target you sent your request
to into the userObject you provide to the asynchronous sendPDU
interface.

Hope this helps.

Best regards,
Frank

Mathias Bogaert wrote:

> Hi,
>
> What is the preferred approach to sending out a request from within a 
> ResponseListener? How can I obtain the target for this response and 
> send another request to it?
>
> Thanks,
> Mathias Bogaert
>
> _______________________________________________
> SNMP4J mailing list
> SNMP4J at agentpp.org
> http://p15141779.pureserver.info/mailman/listinfo/snmp4j
>





More information about the SNMP4J mailing list