public class FilterOutNonNotifications extends Object implements NotificationHandler
Constructor and Description |
---|
FilterOutNonNotifications()
Filter constructor
|
Modifier and Type | Method and Description |
---|---|
HandlerResponse |
processPdu(EventContext context,
org.snmp4j.CommandResponderEvent event,
Object opaque)
Standard filter method for suppressing received snmp
event which are not of type TRAP, NOTIFICATION or INFORM.
|
public 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