|
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.outage.OutageMgrEventProcessor
OutageMgrEventProcessor is responsible for receiving events from eventd and queing them to the outage writer pool.
Field Summary | |
private boolean |
m_eventListenerRegistered
|
private OutageManager |
m_outageMgr
The outage manager that created this event processor |
private FifoQueue |
m_writerQ
The location where incoming events of interest are enqueued |
Constructor Summary | |
(package private) |
OutageMgrEventProcessor(OutageManager outageMgr,
FifoQueue writerQ)
Constructor |
Method Summary | |
void |
close()
Unsubscribe from eventd |
private EventIpcManager |
getEventMgr()
|
java.lang.String |
getName()
Return an id for this event listener |
void |
onEvent(Event event)
This method is invoked by the EventIpcManager when a new event is available for processing. |
void |
start()
Create a list of UEIs of interest to the OutageManager and subscribe to eventd |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private FifoQueue m_writerQ
private OutageManager m_outageMgr
private boolean m_eventListenerRegistered
Constructor Detail |
OutageMgrEventProcessor(OutageManager outageMgr, FifoQueue writerQ)
writerQ
- The queue where events of interest are added.Method Detail |
public void start()
private EventIpcManager getEventMgr()
public void close()
public void onEvent(Event event)
onEvent
in interface EventListener
event
- The eventpublic java.lang.String getName()
getName
in interface EventListener
|
OpenNMS API 1.2.3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |