|
OpenNMS API 1.1.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opennms.netmgt.scriptd.BroadcastEventProcessor
This class receives all events on behalf of the Scriptd service. All events are placed on a queue, so they can be handled by the "Executor" (this allows the Exceutor to pause and resume without losing events).
| Field Summary | |
private FifoQueue |
m_execQ
The location where executable events are enqueued to be executed. |
| Constructor Summary | |
(package private) |
BroadcastEventProcessor(FifoQueue execQ)
This constructor subscribes to eventd for all events |
| Method Summary | |
void |
close()
Close the BroadcastEventProcessor |
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. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private FifoQueue m_execQ
| Constructor Detail |
BroadcastEventProcessor(FifoQueue execQ)
execQ - The queue where executable events are stored.| Method Detail |
public void close()
public void onEvent(Event event)
onEvent in interface EventListenerevent - The eventpublic java.lang.String getName()
getName in interface EventListener
|
OpenNMS API 1.1.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||