org.opennms.netmgt.scriptd.helper
Class EventForwarderDefaultImpl

java.lang.Object
  extended by org.opennms.netmgt.scriptd.helper.AbstractEventForwarder
      extended by org.opennms.netmgt.scriptd.helper.EventForwarderDefaultImpl
All Implemented Interfaces:
EventForwarder

public class EventForwarderDefaultImpl
extends AbstractEventForwarder
implements EventForwarder


Constructor Summary
EventForwarderDefaultImpl()
           
 
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
 
Methods inherited from class org.opennms.netmgt.scriptd.helper.AbstractEventForwarder
filter, setEventPolicyRule
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.opennms.netmgt.scriptd.helper.EventForwarder
setEventPolicyRule
 

Constructor Detail

EventForwarderDefaultImpl

public EventForwarderDefaultImpl()
Method Detail

flushEvent

public void flushEvent(Event event)
Description copied from interface: EventForwarder
Method used to flush Event

Specified by:
flushEvent in interface EventForwarder

flushSyncEvent

public void flushSyncEvent(Event event)
Description copied from interface: EventForwarder
Method used to flush Sync Event

Specified by:
flushSyncEvent in interface EventForwarder

sendStartSync

public void sendStartSync()
Description copied from interface: EventForwarder
This method should be invoked before flushing sync events The class implementation should send the "startSync" event in the preferred format

Specified by:
sendStartSync in interface EventForwarder

sendEndSync

public void sendEndSync()
Description copied from interface: EventForwarder
This method should be invoked after flushing sync events. The class implementation should send the "endSync" event in the preferred format

Specified by:
sendEndSync in interface EventForwarder


Copyright © 2011. All Rights Reserved.