Package org.opennms.netmgt.enlinkd.snmp
Class CdpCacheTableTracker
- java.lang.Object
-
- org.opennms.netmgt.snmp.CollectionTracker
-
- org.opennms.netmgt.snmp.TableTracker
-
- org.opennms.netmgt.enlinkd.snmp.CdpCacheTableTracker
-
- All Implemented Interfaces:
Collectable,ProxiableTracker,RowCallback,RowResultFactory
public class CdpCacheTableTracker extends TableTracker
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classCdpCacheTableTracker.CdpCacheRow
-
Field Summary
Fields Modifier and Type Field Description static SnmpObjIdCDP_CACHE_ADDRESSstatic SnmpObjIdCDP_CACHE_ADDRESS_TYPEstatic SnmpObjIdCDP_CACHE_DEVICE_IDstatic SnmpObjIdCDP_CACHE_DEVICE_PORTstatic SnmpObjIdCDP_CACHE_PLATFORMstatic SnmpObjIdCDP_CACHE_TABLE_ENTRYstatic SnmpObjIdCDP_CACHE_VERSIONstatic SnmpObjId[]cdpCache_elemListThe keys that will be supported by default from the TreeMap base class.
-
Constructor Summary
Constructors Constructor Description CdpCacheTableTracker()Constructor for CdpCacheTableEntry.CdpCacheTableTracker(RowCallback rowProcessor)Constructor for CdpCacheTableEntry.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SnmpRowResultcreateRowResult(int columnCount, SnmpInstId instance)voidprocessCdpCacheRow(CdpCacheTableTracker.CdpCacheRow row)processcdpCacheRowvoidrowCompleted(SnmpRowResult row)-
Methods inherited from class org.opennms.netmgt.snmp.TableTracker
buildNextPdu, getWalkRequests, handleWalkResponses, isFinished, setMaxRepetitions, setMaxRetries, storeResult
-
Methods inherited from class org.opennms.netmgt.snmp.CollectionTracker
failed, getCollectionTracker, getParent, reportFatalErr, reportGenErr, reportNonFatalErr, reportNoSuchNameErr, reportTooBigErr, setFailed, setFinished, setParent, setTimedOut, timedOut
-
-
-
-
Field Detail
-
CDP_CACHE_TABLE_ENTRY
public static final SnmpObjId CDP_CACHE_TABLE_ENTRY
-
CDP_CACHE_ADDRESS_TYPE
public static final SnmpObjId CDP_CACHE_ADDRESS_TYPE
-
CDP_CACHE_ADDRESS
public static final SnmpObjId CDP_CACHE_ADDRESS
-
CDP_CACHE_VERSION
public static final SnmpObjId CDP_CACHE_VERSION
-
CDP_CACHE_DEVICE_ID
public static final SnmpObjId CDP_CACHE_DEVICE_ID
-
CDP_CACHE_DEVICE_PORT
public static final SnmpObjId CDP_CACHE_DEVICE_PORT
-
CDP_CACHE_PLATFORM
public static final SnmpObjId CDP_CACHE_PLATFORM
-
cdpCache_elemList
public static final SnmpObjId[] cdpCache_elemList
The keys that will be supported by default from the TreeMap base class. Each of the elements in the list are an instance of the dot1dbasetable. Objects in this list should be used by multiple instances of this class.
-
-
Constructor Detail
-
CdpCacheTableTracker
public CdpCacheTableTracker()
Constructor for CdpCacheTableEntry.
-
CdpCacheTableTracker
public CdpCacheTableTracker(RowCallback rowProcessor)
Constructor for CdpCacheTableEntry.
-
-
Method Detail
-
createRowResult
public SnmpRowResult createRowResult(int columnCount, SnmpInstId instance)
- Specified by:
createRowResultin interfaceRowResultFactory- Overrides:
createRowResultin classTableTracker
-
rowCompleted
public void rowCompleted(SnmpRowResult row)
- Specified by:
rowCompletedin interfaceRowCallback- Overrides:
rowCompletedin classTableTracker
-
processCdpCacheRow
public void processCdpCacheRow(CdpCacheTableTracker.CdpCacheRow row)
processcdpCacheRow
- Parameters:
row- aCdpCacheTableTracker.CdpCacheRowobject.
-
-