org.opennms.netmgt.linkd.snmp
Class CdpCacheTable
java.lang.Object
org.opennms.netmgt.snmp.CollectionTracker
org.opennms.netmgt.snmp.AggregateTracker
org.opennms.netmgt.capsd.snmp.SnmpTable
org.opennms.netmgt.linkd.snmp.CdpCacheTable
- All Implemented Interfaces:
- org.opennms.netmgt.snmp.Collectable
public class CdpCacheTable
- extends SnmpTable
CdpCacheTable uses a SnmpSession to collect the CdpCache table
entries. It implements the SnmpHandler to receive notifications when a reply
is received/error occurs in the SnmpSession used to send requests /recieve
replies.
- Author:
- Antonio Russo , James Zuo , Sowmya , Weave , OpenNMS
- See Also:
- RFC1213
| Fields inherited from class org.opennms.netmgt.snmp.CollectionTracker |
GEN_ERR, NO_ERR, NO_SUCH_NAME_ERR, TOO_BIG_ERR |
|
Constructor Summary |
CdpCacheTable(java.net.InetAddress address)
Constructs an CdpCacheTable object that is used to collect the Cisco Discovery Protocol
elements from the remote agent. |
|
Method Summary |
protected SnmpTableEntry |
createTableEntry(org.opennms.netmgt.snmp.SnmpObjId base,
org.opennms.netmgt.snmp.SnmpInstId inst,
java.lang.Object val)
|
protected org.apache.log4j.Category |
log()
|
| Methods inherited from class org.opennms.netmgt.snmp.AggregateTracker |
buildNextPdu, isFinished, setFailed, setTimedOut |
| Methods inherited from class org.opennms.netmgt.snmp.CollectionTracker |
failed, getCollectionTracker, getParent, reportTooBigErr, setParent, timedOut |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CdpCacheTable
public CdpCacheTable(java.net.InetAddress address)
Constructs an CdpCacheTable object that is used to collect the Cisco Discovery Protocol
elements from the remote agent. Once all the elements are collected, or
there is an error in the collection the signaler object is notified
to inform other threads.
- Parameters:
session - The session with the remote agent.signaler - The object to notify waiters.- See Also:
CdpCacheTableEntry
createTableEntry
protected SnmpTableEntry createTableEntry(org.opennms.netmgt.snmp.SnmpObjId base,
org.opennms.netmgt.snmp.SnmpInstId inst,
java.lang.Object val)
- Specified by:
createTableEntry in class SnmpTable
log
protected final org.apache.log4j.Category log()
Copyright © 2007. All Rights Reserved.