Class SnmpV1TrapAlarmForwarder
- java.lang.Object
-
- org.opennms.netmgt.scriptd.helper.AbstractEventForwarder
-
- org.opennms.netmgt.scriptd.helper.SnmpTrapForwarderHelper
-
- org.opennms.netmgt.scriptd.helper.SnmpV1TrapAlarmForwarder
-
- All Implemented Interfaces:
EventForwarder
public class SnmpV1TrapAlarmForwarder extends SnmpTrapForwarderHelper implements EventForwarder
-
-
Constructor Summary
Constructors Constructor Description SnmpV1TrapAlarmForwarder(String source_ip, String ip, int port, String community, SnmpTrapHelper snmpTrapHelper)
-
Method Summary
All Methods Instance Methods Concrete 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 format-
Methods inherited from class org.opennms.netmgt.scriptd.helper.SnmpTrapForwarderHelper
getAuthPassPhrase, getAuthProtocol, getCommunity, getIp, getPort, getPrivPassPhrase, getPrivprotocol, getRetries, getSecurityLevel, getSecurityname, getSnmpTrapHelper, getSource_ip, getTimeout, sendV1AlarmTrap, sendV1EndSyncTrap, sendV1EventTrap, sendV1StartSyncTrap, sendV2AlarmInform, sendV2AlarmTrap, sendV2EndSyncInform, sendV2EndSyncTrap, sendV2EventInform, sendV2EventTrap, sendV2StartSyncInform, sendV2StartSyncTrap, sendV3AlarmInform, sendV3AlarmTrap, sendV3EndSyncInform, sendV3EndSyncTrap, sendV3EventInform, sendV3EventTrap, sendV3StartSyncInform, sendV3StartSyncTrap, setAuthPassPhrase, setAuthProtocol, setCommunity, setIp, setPort, setPrivPassPhrase, setPrivprotocol, setRetries, setSecurityLevel, setSecurityname, setSnmpTrapHelper, setSource_ip, setTimeout
-
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
-
SnmpV1TrapAlarmForwarder
public SnmpV1TrapAlarmForwarder(String source_ip, String ip, int port, String community, SnmpTrapHelper snmpTrapHelper)
-
-
Method Detail
-
flushEvent
public void flushEvent(Event event)
Description copied from interface:EventForwarderMethod used to flush Event- Specified by:
flushEventin interfaceEventForwarder
-
flushSyncEvent
public void flushSyncEvent(Event event)
Description copied from interface:EventForwarderMethod used to flush Sync Event- Specified by:
flushSyncEventin interfaceEventForwarder
-
sendStartSync
public void sendStartSync()
Description copied from interface:EventForwarderThis method should be invoked before flushing sync events The class implementation should send the "startSync" event in the preferred format- Specified by:
sendStartSyncin interfaceEventForwarder
-
sendEndSync
public void sendEndSync()
Description copied from interface:EventForwarderThis method should be invoked after flushing sync events. The class implementation should send the "endSync" event in the preferred format- Specified by:
sendEndSyncin interfaceEventForwarder
-
-