Package org.opennms.netmgt.events.api
Interface EventProxy
-
- All Known Subinterfaces:
EventIpcManager
,ThresholdingEventProxy
- All Known Implementing Classes:
EventIpcManagerDefaultImpl
,MockEventIpcManager
,TcpEventProxy
,ThresholdingEventProxyImpl
public interface EventProxy
This is the interface used to send events into the event subsystem - It is typically used by the poller framework plugins that perform service monitoring to send out appropriate events. Can also be used by capsd, discovery etc.- Author:
- Sowmya Kumaraswamy
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
send(Event event)
This method is called to send the event outvoid
send(Log eventLog)
This method is called to send an event log containing multiple events out
-
-
-
Method Detail
-
send
void send(Event event) throws EventProxyException
This method is called to send the event out- Parameters:
event
- the event to be sent out- Throws:
EventProxyException
- thrown if the send fails for any reasonEventProxyException
- if any.
-
send
void send(Log eventLog) throws EventProxyException
This method is called to send an event log containing multiple events out- Parameters:
eventLog
- the events to be sent out- Throws:
EventProxyException
- thrown if the send fails for any reasonEventProxyException
- if any.
-
-