Package org.opennms.netmgt.enlinkd.snmp
Class MtxrLldpLocalTableTracker
- java.lang.Object
-
- org.opennms.netmgt.snmp.CollectionTracker
-
- org.opennms.netmgt.snmp.TableTracker
-
- org.opennms.netmgt.enlinkd.snmp.MtxrLldpLocalTableTracker
-
- All Implemented Interfaces:
Collectable,ProxiableTracker,RowCallback,RowResultFactory
public class MtxrLldpLocalTableTracker extends TableTracker
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMtxrLldpLocalTableTracker.LldpLocalPortRow
-
Field Summary
Fields Modifier and Type Field Description static SnmpObjId[]s_lldploctable_elemList
-
Constructor Summary
Constructors Constructor Description MtxrLldpLocalTableTracker()MtxrLldpLocalTableTracker(RowCallback rowProcessor)Constructor for MikrotikLldpLocalTableTracker.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SnmpRowResultcreateRowResult(int columnCount, SnmpInstId instance)LldpElementgetLldpElement(String sysname)LldpLinkgetLldpLink(MtxrLldpRemTableTracker.MtxrLldpRemRow mtxrlldprow, Integer mtxrIndex)Map<Integer,MtxrLldpLocalTableTracker.LldpLocalPortRow>getMtxrLldpLocalPortMap()voidprocessLldpLocPortRow(MtxrLldpLocalTableTracker.LldpLocalPortRow row)processLldpRemRowvoidrowCompleted(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
-
s_lldploctable_elemList
public static final SnmpObjId[] s_lldploctable_elemList
-
-
Constructor Detail
-
MtxrLldpLocalTableTracker
public MtxrLldpLocalTableTracker()
-
MtxrLldpLocalTableTracker
public MtxrLldpLocalTableTracker(RowCallback rowProcessor)
Constructor for MikrotikLldpLocalTableTracker.
- Parameters:
rowProcessor- aRowCallbackobject.
-
-
Method Detail
-
getMtxrLldpLocalPortMap
public Map<Integer,MtxrLldpLocalTableTracker.LldpLocalPortRow> getMtxrLldpLocalPortMap()
-
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
-
processLldpLocPortRow
public void processLldpLocPortRow(MtxrLldpLocalTableTracker.LldpLocalPortRow row)
processLldpRemRow
- Parameters:
row- aMtxrLldpLocalTableTracker.LldpLocalPortRowobject.
-
getLldpElement
public LldpElement getLldpElement(String sysname)
-
getLldpLink
public LldpLink getLldpLink(MtxrLldpRemTableTracker.MtxrLldpRemRow mtxrlldprow, Integer mtxrIndex)
-
-