Interface EventForwarder
-
- All Known Implementing Classes:
AbstractEventForwarder,EventForwarderDefaultImpl,SnmpTrapForwarderHelper,SnmpV1TrapAlarmForwarder,SnmpV1TrapEventForwarder,SnmpV2InformAlarmForwarder,SnmpV2InformEventForwarder,SnmpV2TrapAlarmForwarder,SnmpV2TrapEventForwarder,SnmpV3InformAlarmForwarder,SnmpV3InformEventForwarder,SnmpV3TrapAlarmForwarder,SnmpV3TrapEventForwarder
public interface EventForwarderInterface to forward events.- Author:
- antonio
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidflushEvent(Event event)Method used to flush EventvoidflushSyncEvent(Event event)Method used to flush Sync EventvoidsendEndSync()This method should be invoked after flushing sync events.voidsendStartSync()This method should be invoked before flushing sync events The class implementation should send the "startSync" event in the preferred formatvoidsetEventPolicyRule(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
-
-