[SNMP4J] How snmp4j stack obtain the authoritativeEngineID

2011-12-16 Thread Tuan Anh Nguyen
Hi everyone, According to the RFC 3414, in the snmp v3 communication, the non-authoritative engine must know the authoritative engine ID. In the snmp class, there is a method public byte[] *discoverAuthoritativeEngineID*(Address http://www.snmp4j.org/doc/org/snmp4j/smi/Address.html address,

[SNMP4J] Asynchronous sending request issue

2012-03-01 Thread Tuan Anh Nguyen
Hi guys, I am writing a module which function is to discover the snmp device. I followed the example at SNMP class to send an asynchronous request to broadcast address. But i don't know how to check if the asynchronous sending finished. Up to now, i implemented my module by giving it 5 second to