org.opennms.netmgt.capsd.snmp
Class IfXTable
java.lang.Object
org.opennms.netmgt.snmp.CollectionTracker
org.opennms.netmgt.snmp.AggregateTracker
org.opennms.netmgt.capsd.snmp.SnmpTable
org.opennms.netmgt.capsd.snmp.IfXTable
- All Implemented Interfaces:
- org.opennms.netmgt.snmp.Collectable
public final class IfXTable
- extends SnmpTable
The IfXTable uses a SnmpSession to collect the entries in the remote agent's
interface extensions table. It implements the SnmpHandler to receive
notifications and handle errors associated with the data collection. Data is
collected using a series of GETNEXT PDU request to walk multiple parts of the
interface table at once. The number of SNMP packets should not exceed the
number of interface + 1, assuming no lost packets or error conditions occur.
- Version:
- 1.1.1.1
- Author:
- Mike , Weave , OpenNMS
- See Also:
- RFC2233
| Fields inherited from class org.opennms.netmgt.snmp.CollectionTracker |
GEN_ERR, NO_ERR, NO_SUCH_NAME_ERR, TOO_BIG_ERR |
|
Constructor Summary |
IfXTable(java.net.InetAddress address)
Constructs an IfXTable object that is used to collect the interface
elements from the remote agent. |
| Methods inherited from class org.opennms.netmgt.snmp.AggregateTracker |
buildNextPdu, isFinished, setFailed, setMaxRepititions, 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 |
IfXTable
public IfXTable(java.net.InetAddress address)
Constructs an IfXTable object that is used to collect the interface
elements from the remote agent. Once all the interfaces are collected, or
there is an error in the collection the signaler object is notified
to inform other threads.
- Parameters:
address - TODO- See Also:
IfXTableEntry
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
getIfName
public java.lang.String getIfName(int ifIndex)
getIfAlias
public java.lang.String getIfAlias(int ifIndex)
Copyright © 2007. All Rights Reserved.