|
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.vulnscand.BroadcastEventProcessor
Field Summary | |
private Scheduler |
m_scheduler
The Vulnscand rescan scheduler |
private FifoQueue |
m_suspectQ
The location where suspectInterface events are enqueued for processing. |
private static java.lang.String |
SQL_RETRIEVE_NODEID
SQL query to retrieve nodeid of a particulary interface address |
Constructor Summary | |
(package private) |
BroadcastEventProcessor(FifoQueue suspectQ,
Scheduler scheduler)
This constructor is called to initilize the JMS event receiver. |
Method Summary | |
(package private) void |
close()
Closes the current connections to the Java Message Queue if they are still active. |
protected void |
finalize()
This method may be invoked by the garbage collection. |
java.lang.String |
getName()
Return the id of the listener |
private void |
installJmsMessageSelector()
Create message selector to set to the subscription |
void |
onEvent(Event event)
This method is invoked by the JMS topic session when a new event is available for processing. |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static java.lang.String SQL_RETRIEVE_NODEID
private FifoQueue m_suspectQ
private Scheduler m_scheduler
Constructor Detail |
BroadcastEventProcessor(FifoQueue suspectQ, Scheduler scheduler)
suspectQ
- The queue where new Runnable objects are enqueued for
running..scheduler
- Rescan scheduler.Method Detail |
private void installJmsMessageSelector()
void close()
protected void finalize() throws java.lang.Throwable
close
method is called at least
once during the cycle of this object.
java.lang.Throwable
public void onEvent(Event event)
onEvent
in interface EventListener
event
- The event message.public java.lang.String getName()
EventListener
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 |