org.opennms.netmgt.scriptd.helper
Interface EventForwarder

All Known Implementing Classes:
AbstractEventForwarder, EventForwarderDefaultImpl, SnmpTrapForwarderHelper, SnmpV1TrapAlarmForwarder, SnmpV1TrapEventForwarder, SnmpV2InformAlarmForwarder, SnmpV2InformEventForwarder, SnmpV2TrapAlarmForwarder, SnmpV2TrapEventForwarder, SnmpV3InformAlarmForwarder, SnmpV3InformEventForwarder, SnmpV3TrapAlarmForwarder, SnmpV3TrapEventForwarder

public interface EventForwarder

Interface to forward events.

Author:
antonio

Method Summary
 void flushEvent(Event event)
          Method used to flush Event
 void flushSyncEvent(Event event)
          Method used to flush Sync Event
 void sendEndSync()
          This method should be invoked after flushing sync events.
 void sendStartSync()
          This method should be invoked before flushing sync events The class implementation should send the "startSync" event in the preferred format
 void setEventPolicyRule(EventPolicyRule filter)
          Method to add a policy rule to match event to be forwarded or dropped
 

Method Detail

setEventPolicyRule

void setEventPolicyRule(EventPolicyRule filter)
Method to add a policy rule to match event to be forwarded or dropped

Parameters:
filter -

flushEvent

void flushEvent(Event event)
Method used to flush Event

Parameters:
event -

flushSyncEvent

void flushSyncEvent(Event event)
Method used to flush Sync Event

Parameters:
event -

sendStartSync

void sendStartSync()
This method should be invoked before flushing sync events The class implementation should send the "startSync" event in the preferred format


sendEndSync

void sendEndSync()
This method should be invoked after flushing sync events. The class implementation should send the "endSync" event in the preferred format



Copyright © 2011. All Rights Reserved.