org.opennms.netmgt.snmp
Class TrapInformation
java.lang.Object
org.opennms.netmgt.snmp.TrapInformation
- All Implemented Interfaces:
- TrapNotification
public abstract class TrapInformation
- extends java.lang.Object
- implements TrapNotification
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TrapInformation
protected TrapInformation(java.net.InetAddress agent,
java.lang.String community,
TrapProcessor trapProcessor)
getTrapAddress
protected abstract java.net.InetAddress getTrapAddress()
getAgent
protected java.net.InetAddress getAgent()
- Returns the sending agent's internet address
getCommunity
protected java.lang.String getCommunity()
- Returns the SNMP community string from the received packet.
validate
protected void validate()
log
protected org.apache.log4j.Category log()
getAgentAddress
protected java.net.InetAddress getAgentAddress()
getTrapProcessor
public TrapProcessor getTrapProcessor()
- Specified by:
getTrapProcessor in interface TrapNotification
getVersion
protected abstract java.lang.String getVersion()
getPduLength
protected abstract int getPduLength()
getTimeStamp
protected abstract long getTimeStamp()
getTrapIdentity
protected abstract TrapIdentity getTrapIdentity()
processTrap
protected void processTrap()
processVarBindAt
protected abstract void processVarBindAt(int i)
processVarBind
protected void processVarBind(SnmpObjId name,
SnmpValue value)
Copyright © 2007. All Rights Reserved.