org.opennms.netmgt.model.events
Interface EventProxy

All Known Subinterfaces:
EventIpcManager
All Known Implementing Classes:
EventIpcManagerDefaultImpl, EventIpcManagerProxy, TcpEventProxy, ThresholdingEventProxy

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
 void send(Event event)
          This method is called to send the event out
 void 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 reason
EventProxyException - 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 reason
EventProxyException - if any.


Copyright © 2011. All Rights Reserved.