@@ -0,0 +1,1769 @@
+package org.opennms.netmgt.linkd.snmp;%0D%0A%0D%0Aimport java.net.InetAddress;%0D%0A%0D%0Aimport org.apache.log4j.Category;%0D%0Aimport org.opennms.core.utils.ThreadCategory;%0D%0Aimport org.opennms.netmgt.capsd.snmp.SnmpTable;%0D%0Aimport org.opennms.netmgt.capsd.snmp.SnmpTableEntry;%0D%0Aimport org.opennms.netmgt.snmp.SnmpInstId;%0D%0Aimport org.opennms.netmgt.snmp.SnmpObjId;%0D%0A%0D%0A/**%0D%0A * %3CP%3E%0D%0A * CiscoVlanTable uses a SnmpSession to collect the Cisco VTP specific MIB Vlan table%0D%0A * entries. It implements the SnmpHandler to receive notifications when a reply%0D%0A * is received/error occurs in the SnmpSession used to send requests /recieve%0D%0A * replies.%0D%0A * %3C/P%3E%0D%0A * %0D%0A * @author %3CA HREF=%22mailto:rssntn67@yahoo.it%22%3EAntonio Russo %3C/A%3E%0D%0A * @author %3CA HREF=%22http://www.opennms.org/%22%3EOpenNMS %3C/A%3E%0D%0A * %0D%0A * @see %3CA HREF=%22http://www.ietf.org/rfc/rfc1213.txt%22%3ERFC1213 %3C/A%3E%0D%0A */%0D%0Apublic class CiscoVlanTable extends SnmpTable %7B%0D%0A%0D%0A%09/**%0D%0A%09 * %3CP%3E%0D%0A%09 * Constructs an CiscoVlanTable object that is used to collect the vlan%0D%0A%09 * elements from the remote agent. Once all the elements are collected, or%0D%0A%09 * there is an error in the collection the signaler object is %3CEM%3Enotified%0D%0A%09 * %3C/EM%3E to inform other threads.%0D%0A%09 * %3C/P%3E%0D%0A%09 * %0D%0A%09 * @param session%0D%0A%09 *            The session with the remote agent.%0D%0A%09 * @param signaler%0D%0A%09 *            The object to notify waiters.%0D%0A%09 * %0D%0A%09 * @see CiscoVlanTableEntry%0D%0A%09 */%0D%0A%09public CiscoVlanTable(InetAddress address) %7B%0D%0A        super(address, %22ciscoVlanTable%22, CiscoVlanTableEntry.ciscoVlan_elemList);%0D%0A    %7D%0D%0A    %0D%0A    protected SnmpTableEntry createTableEntry(SnmpObjId base, SnmpInstId inst, Object val) %7B%0D%0A        return new CiscoVlanTableEntry();%0D%0A    %7D%0D%0A%0D%0A%0D%0A    protected final Category log() %7B%0D%0A        return ThreadCategory.getInstance(CiscoVlanTable.class);%0D%0A    %7D%0D%0A%7D%0D%0A

Refactor classes