|
OpenNMS API 1.2.3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opennms.netmgt.eventd.EventHandler
The EventHandler is the Runnable that essentially does all the work on an incoming event. Operations done on an incoming event are -looking up an eventconf entry, expanding event parms, adding the event to the database and sending the event to interested listeners.
Field Summary | |
private Log |
m_eventLog
log of events |
private java.lang.String |
m_getNextEventIdStr
SQL string to get the next value from the database sequence |
Constructor Summary | |
EventHandler(Log eventLog,
java.lang.String getNextEventId)
Constructor for the eventhandler |
Method Summary | |
void |
run()
Process the received events. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private Log m_eventLog
private java.lang.String m_getNextEventIdStr
Constructor Detail |
public EventHandler(Log eventLog, java.lang.String getNextEventId)
eventLog
- events to be processedgetNextEventId
- the sql statement to get next event id from sequenceMethod Detail |
public void run()
run
in interface java.lang.Runnable
|
OpenNMS API 1.2.3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |