org.rhq.plugins.snmptrapd
Class SnmpTrapEventPoller
java.lang.Object
org.rhq.plugins.snmptrapd.SnmpTrapEventPoller
- All Implemented Interfaces:
- EventListener, EventPoller, org.snmp4j.CommandResponder
public class SnmpTrapEventPoller
- extends Object
- implements EventPoller, org.snmp4j.CommandResponder
Polls the individual traps
- Author:
- Heiko W. Rupp
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SnmpTrapEventPoller
public SnmpTrapEventPoller()
SnmpTrapEventPoller
public SnmpTrapEventPoller(String severityOidString)
getEventType
public String getEventType()
- Specified by:
getEventType in interface EventPoller
poll
public Set<org.rhq.core.domain.event.Event> poll()
- Specified by:
poll in interface EventPoller
processPdu
public void processPdu(org.snmp4j.CommandResponderEvent cre)
- Callback from the Snmp lib. Will be called on each incoming trap
- Specified by:
processPdu in interface org.snmp4j.CommandResponder
Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.