org.opennms.netmgt.linkd.snmp
Class CiscoVlanTable

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<CiscoVlanTableEntry>
              extended by org.opennms.netmgt.linkd.snmp.CiscoVlanTable
All Implemented Interfaces:
Collectable

public class CiscoVlanTable
extends SnmpTable<CiscoVlanTableEntry>

CiscoVlanTable uses a SnmpSession to collect the Cisco VTP specific MIB Vlan 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 , OpenNMS
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
CiscoVlanTable(InetAddress address)
           Constructs an CiscoVlanTable object that is used to collect the vlan elements from the remote agent.
 
Method Summary
protected  CiscoVlanTableEntry createTableEntry(SnmpObjId base, SnmpInstId inst, Object val)
           
protected  Category log()
           
 
Methods inherited from class org.opennms.netmgt.capsd.snmp.SnmpTable
getEntries, reportGenErr, reportNoSuchNameErr, storeResult
 
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
 

Constructor Detail

CiscoVlanTable

public CiscoVlanTable(InetAddress address)

Constructs an CiscoVlanTable object that is used to collect the vlan 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:
CiscoVlanTableEntry
Method Detail

createTableEntry

protected CiscoVlanTableEntry createTableEntry(SnmpObjId base,
                                               SnmpInstId inst,
                                               Object val)
Specified by:
createTableEntry in class SnmpTable<CiscoVlanTableEntry>

log

protected final Category log()


Copyright © 2009. All Rights Reserved.