public class CamelTrapEventCreator extends Object implements org.opennms.netmgt.snmp.TrapProcessor
Constructor and Description |
---|
CamelTrapEventCreator() |
Modifier and Type | Method and Description |
---|---|
org.opennms.netmgt.xml.event.Event |
getEvent() |
void |
processVarBind(org.opennms.netmgt.snmp.SnmpObjId name,
org.opennms.netmgt.snmp.SnmpValue value) |
void |
setAgentAddress(InetAddress agentAddress) |
void |
setCommunity(String community) |
void |
setTimeStamp(long timeStamp) |
void |
setTrapAddress(InetAddress trapAddress) |
void |
setTrapIdentity(org.opennms.netmgt.snmp.TrapIdentity trapIdentity) |
void |
setVersion(String version) |
public void setCommunity(String community)
setCommunity
in interface org.opennms.netmgt.snmp.TrapProcessor
public void setTimeStamp(long timeStamp)
setTimeStamp
in interface org.opennms.netmgt.snmp.TrapProcessor
public void setVersion(String version)
setVersion
in interface org.opennms.netmgt.snmp.TrapProcessor
public void setAgentAddress(InetAddress agentAddress)
setAgentAddress
in interface org.opennms.netmgt.snmp.TrapProcessor
public void processVarBind(org.opennms.netmgt.snmp.SnmpObjId name, org.opennms.netmgt.snmp.SnmpValue value)
processVarBind
in interface org.opennms.netmgt.snmp.TrapProcessor
public void setTrapAddress(InetAddress trapAddress)
setTrapAddress
in interface org.opennms.netmgt.snmp.TrapProcessor
public void setTrapIdentity(org.opennms.netmgt.snmp.TrapIdentity trapIdentity)
setTrapIdentity
in interface org.opennms.netmgt.snmp.TrapProcessor
public org.opennms.netmgt.xml.event.Event getEvent()
Copyright © 2016. All rights reserved.