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 class
CdpCacheTableTracker.CdpCacheRow
-
Field Summary
Fields Modifier and Type Field Description static SnmpObjId
CDP_CACHE_ADDRESS
static SnmpObjId
CDP_CACHE_ADDRESS_TYPE
static SnmpObjId
CDP_CACHE_DEVICE_ID
static SnmpObjId
CDP_CACHE_DEVICE_PORT
static SnmpObjId
CDP_CACHE_PLATFORM
static SnmpObjId
CDP_CACHE_TABLE_ENTRY
static SnmpObjId
CDP_CACHE_VERSION
static SnmpObjId[]
cdpCache_elemList
The 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 SnmpRowResult
createRowResult(int columnCount, SnmpInstId instance)
void
processCdpCacheRow(CdpCacheTableTracker.CdpCacheRow row)
processcdpCacheRowvoid
rowCompleted(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:
createRowResult
in interfaceRowResultFactory
- Overrides:
createRowResult
in classTableTracker
-
rowCompleted
public void rowCompleted(SnmpRowResult row)
- Specified by:
rowCompleted
in interfaceRowCallback
- Overrides:
rowCompleted
in classTableTracker
-
processCdpCacheRow
public void processCdpCacheRow(CdpCacheTableTracker.CdpCacheRow row)
processcdpCacheRow
- Parameters:
row
- aCdpCacheTableTracker.CdpCacheRow
object.
-
-