public class SnmpV2InformAlarmForwarder extends SnmpTrapForwarderHelper implements EventForwarder
Constructor and Description |
---|
SnmpV2InformAlarmForwarder(String ip,
int port,
String community,
int timeout,
int retries,
SnmpTrapHelper snmpTrapHelper) |
Modifier and Type | Method and Description |
---|---|
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
|
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
filter, setEventPolicyRule
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setEventPolicyRule
public SnmpV2InformAlarmForwarder(String ip, int port, String community, int timeout, int retries, SnmpTrapHelper snmpTrapHelper)
public void flushEvent(Event event)
EventForwarder
flushEvent
in interface EventForwarder
public void flushSyncEvent(Event event)
EventForwarder
flushSyncEvent
in interface EventForwarder
public void sendStartSync()
EventForwarder
sendStartSync
in interface EventForwarder
public void sendEndSync()
EventForwarder
sendEndSync
in interface EventForwarder
Copyright © 2021. All rights reserved.