DiscoveryResponse Event
Fired when an SNMPv3 discovery response is received.
Syntax
public class DefaultSnmpmgrEventListener implements SnmpmgrEventListener { ... public void discoveryResponse(SnmpmgrDiscoveryResponseEvent e) {} ... } public class SnmpmgrDiscoveryResponseEvent { public byte[] engineId; public int engineBoots; public int engineTime; public String user; public int securityLevel; public String sourceAddress; public int sourcePort; }
Remarks
EngineId, EngineBoots, EngineTime, and User are the values received from SourceAddress and SourcePort.
The SecurityLevel parameter shows whether the request has been authenticated. If SecurityLevel is 0, the request has NOT been authenticated (i.e. the packet signature has not been verified). For an authenticated request, SecurityLevel is at least 1.