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 class
MtxrLldpLocalTableTracker.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 SnmpRowResult
createRowResult(int columnCount, SnmpInstId instance)
LldpElement
getLldpElement(java.lang.String sysname)
LldpLink
getLldpLink(MtxrLldpRemTableTracker.MtxrLldpRemRow mtxrlldprow, java.lang.Integer mtxrIndex)
java.util.Map<java.lang.Integer,MtxrLldpLocalTableTracker.LldpLocalPortRow>
getMtxrLldpLocalPortMap()
void
processLldpLocPortRow(MtxrLldpLocalTableTracker.LldpLocalPortRow row)
processLldpRemRowvoid
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
-
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
- aRowCallback
object.
-
-
Method Detail
-
getMtxrLldpLocalPortMap
public java.util.Map<java.lang.Integer,MtxrLldpLocalTableTracker.LldpLocalPortRow> getMtxrLldpLocalPortMap()
-
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
-
processLldpLocPortRow
public void processLldpLocPortRow(MtxrLldpLocalTableTracker.LldpLocalPortRow row)
processLldpRemRow
- Parameters:
row
- aMtxrLldpLocalTableTracker.LldpLocalPortRow
object.
-
getLldpElement
public LldpElement getLldpElement(java.lang.String sysname)
-
getLldpLink
public LldpLink getLldpLink(MtxrLldpRemTableTracker.MtxrLldpRemRow mtxrlldprow, java.lang.Integer mtxrIndex)
-
-