Class SnmpV2InformAlarmForwarder
- java.lang.Object
-
- org.opennms.netmgt.scriptd.helper.AbstractEventForwarder
-
- org.opennms.netmgt.scriptd.helper.SnmpTrapForwarderHelper
-
- org.opennms.netmgt.scriptd.helper.SnmpV2InformAlarmForwarder
-
- All Implemented Interfaces:
EventForwarder
public class SnmpV2InformAlarmForwarder extends SnmpTrapForwarderHelper implements EventForwarder
-
-
Constructor Summary
Constructors Constructor Description SnmpV2InformAlarmForwarder(String ip, int port, String community, int timeout, int retries, SnmpTrapHelper snmpTrapHelper)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
flushEvent(Event event)
Method used to flush Eventvoid
flushSyncEvent(Event event)
Method used to flush Sync Eventvoid
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.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
-
SnmpV2InformAlarmForwarder
public SnmpV2InformAlarmForwarder(String ip, int port, String community, int timeout, int retries, SnmpTrapHelper snmpTrapHelper)
-
-
Method Detail
-
flushEvent
public void flushEvent(Event event)
Description copied from interface:EventForwarder
Method used to flush Event- Specified by:
flushEvent
in interfaceEventForwarder
-
flushSyncEvent
public void flushSyncEvent(Event event)
Description copied from interface:EventForwarder
Method used to flush Sync Event- Specified by:
flushSyncEvent
in interfaceEventForwarder
-
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 interfaceEventForwarder
-
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 interfaceEventForwarder
-
-