org.rhq.plugins.snmptrapd
Class SnmpTrapEventPoller
java.lang.Object
org.rhq.plugins.snmptrapd.SnmpTrapEventPoller
- All Implemented Interfaces:
- java.util.EventListener, EventPoller, org.snmp4j.CommandResponder
public class SnmpTrapEventPoller
- extends java.lang.Object
- implements EventPoller, org.snmp4j.CommandResponder
Polls the individual traps
- Author:
- Heiko W. Rupp
|
Method Summary |
java.lang.String |
getEventType()
|
java.util.Set<Event> |
poll()
|
void |
processPdu(org.snmp4j.CommandResponderEvent cre)
Callback from the Snmp lib. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SnmpTrapEventPoller
public SnmpTrapEventPoller()
SnmpTrapEventPoller
public SnmpTrapEventPoller(java.lang.String severityOidString)
getEventType
public java.lang.String getEventType()
- Specified by:
getEventType in interface EventPoller
poll
public java.util.Set<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-2009 Red Hat, Inc.. All Rights Reserved.