org.opennms.netmgt.linkd.snmp
Class CiscoVlanTable
java.lang.Object
org.opennms.netmgt.snmp.CollectionTracker
org.opennms.netmgt.snmp.AggregateTracker
org.opennms.netmgt.capsd.snmp.SnmpTable<CiscoVlanTableEntry>
org.opennms.netmgt.linkd.snmp.CiscoVlanTable
- All Implemented Interfaces:
- Iterable<CiscoVlanTableEntry>, Collection<CiscoVlanTableEntry>, 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/receive
replies.
- Version:
- $Id: $
- Author:
- Antonio Russo
- See Also:
- RFC1213
|
Constructor Summary |
CiscoVlanTable(InetAddress address)
Constructs an CiscoVlanTable object that is used to collect the vlan
elements from the remote agent. |
| 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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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:
address - a InetAddress object.- See Also:
CiscoVlanTableEntry
createTableEntry
protected CiscoVlanTableEntry createTableEntry(SnmpObjId base,
SnmpInstId inst,
Object val)
createTableEntry
- Specified by:
createTableEntry in class SnmpTable<CiscoVlanTableEntry>
- Parameters:
base - a SnmpObjId object.inst - a SnmpInstId object.val - a Object object.
- Returns:
- a T object.
Copyright © 2011. All Rights Reserved.