public class FilterKnownIPAddresses extends Object implements NotificationHandler
Constructor and Description |
---|
FilterKnownIPAddresses(Map<InetAddress,ConfKey> knownIPAddresses)
Filter constructor
|
Modifier and Type | Method and Description |
---|---|
HandlerResponse |
processPdu(EventContext context,
org.snmp4j.CommandResponderEvent event,
Object opaque)
Standard filter method for suppressing unknown ipAddresses
|
public FilterKnownIPAddresses(Map<InetAddress,ConfKey> knownIPAddresses)
knownIPAddresses
- set of ConfValues of type
ConfIPv4 or ConfIPv6 representing known ip addressespublic HandlerResponse processPdu(EventContext context, org.snmp4j.CommandResponderEvent event, Object opaque) throws Exception
processPdu
in interface NotificationHandler
event
- Snmp4j CommandResponderEventopaque
- object supplied with this filter at registrationException