org.opennms.netmgt.linkd.snmp
Class IntelVlanTable

java.lang.Object
  extended by org.opennms.netmgt.snmp.CollectionTracker
      extended by org.opennms.netmgt.snmp.AggregateTracker
          extended by org.opennms.netmgt.capsd.snmp.SnmpTable<IntelVlanTableEntry>
              extended by org.opennms.netmgt.linkd.snmp.IntelVlanTable
All Implemented Interfaces:
Iterable<IntelVlanTableEntry>, Collection<IntelVlanTableEntry>, Collectable

public class IntelVlanTable
extends SnmpTable<IntelVlanTableEntry>

IntelVlanTable uses a SnmpSession to collect specific Intel Vendor vtp VLAN table entries. It implements the SnmpHandler to receive notifications when a reply is received/error occurs in the SnmpSession used to send requests/receive replies.

Version:
$Id: $
Author:
Antonio Russo
See Also:
RFC1213

Field Summary
 
Fields inherited from class org.opennms.netmgt.snmp.CollectionTracker
GEN_ERR, NO_ERR, NO_SUCH_NAME_ERR, TOO_BIG_ERR
 
Constructor Summary
IntelVlanTable(InetAddress address)
          Constructor for IntelVlanTable.
 
Method Summary
protected  IntelVlanTableEntry createTableEntry(SnmpObjId base, SnmpInstId inst, Object val)
          createTableEntry
 
Methods inherited from class org.opennms.netmgt.capsd.snmp.SnmpTable
add, addAll, clear, contains, containsAll, getEntries, isEmpty, iterator, remove, removeAll, reportGenErr, reportNoSuchNameErr, retainAll, size, storeResult, toArray, toArray
 
Methods inherited from class org.opennms.netmgt.snmp.AggregateTracker
buildNextPdu, isFinished, setFailed, setMaxRepetitions, setTimedOut
 
Methods inherited from class org.opennms.netmgt.snmp.CollectionTracker
failed, getCollectionTracker, getParent, reportTooBigErr, setFinished, setParent, timedOut
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Collection
equals, hashCode
 

Constructor Detail

IntelVlanTable

public IntelVlanTable(InetAddress address)

Constructor for IntelVlanTable.

Parameters:
address - a InetAddress object.
Method Detail

createTableEntry

protected IntelVlanTableEntry createTableEntry(SnmpObjId base,
                                               SnmpInstId inst,
                                               Object val)

createTableEntry

Specified by:
createTableEntry in class SnmpTable<IntelVlanTableEntry>
Parameters:
base - a SnmpObjId object.
inst - a SnmpInstId object.
val - a Object object.
Returns:
a T object.


Copyright © 2011. All Rights Reserved.