public class EventTrapSender extends SNMPConnector implements EventAction
ADDRESS, agentAddress, agentName, BITSTRING, community, comTarget, COUNTER32, DECIMALSTRING, enterpriseOID, HEXSTRING, hostIP, hostname, INTEGER32, NULL, OIDSTRING, operation, port, retry, snmp, startTime, STRING, timeout, TIMETICKS, transport, UNSIGN32, uriACTION_BALANCE, ACTION_CREATE, ACTION_DEPLOY, ACTION_DISABLE, ACTION_ENABLE, ACTION_FAILOVER, ACTION_LIST, ACTION_QUERY, ACTION_RELOAD, ACTION_REMOVE, ACTION_RENAME, ACTION_RESTART, ACTION_STANDBY, ACTION_STOP, ACTION_UNDEPLOY, ACTION_UPDATE| Constructor and Description |
|---|
EventTrapSender(java.util.Map props) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
closes all transports and resources
|
protected void |
finalize() |
java.lang.String |
getName()
returns the name of the action
|
void |
invokeAction(long currentTime,
Event event)
invokes the action upon the event
|
getDefaultVersion, getTarget, getURI, isConnected, isListening, main, receive, receive, reconnect, sendTrap, snmpGet, snmpInquire, snmpNotify, snmpNotify, snmpSet, snmpSet, snmpSet, snmpTrappublic void invokeAction(long currentTime,
Event event)
EventActioninvokeAction in interface EventActionpublic java.lang.String getName()
EventActiongetName in interface EventActionpublic void close()
SNMPConnectorclose in interface Connectorclose in interface EventActionclose in class SNMPConnectorprotected void finalize()
finalize in class java.lang.Object