Package org.opennms.netmgt.enlinkd.snmp
Class LldpRemTableTracker
- java.lang.Object
-
- org.opennms.netmgt.snmp.CollectionTracker
-
- org.opennms.netmgt.snmp.TableTracker
-
- org.opennms.netmgt.enlinkd.snmp.LldpRemTableTracker
-
- All Implemented Interfaces:
Collectable,ProxiableTracker,RowCallback,RowResultFactory
- Direct Known Subclasses:
MtxrLldpRemTableTracker
public class LldpRemTableTracker extends TableTracker
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLldpRemTableTracker.LldpRemRow
-
Field Summary
Fields Modifier and Type Field Description static SnmpObjIdLLDP_REM_CHASSIS_IDstatic SnmpObjIdLLDP_REM_CHASSIS_ID_SUBTYPEstatic SnmpObjIdLLDP_REM_PORT_DESCRstatic SnmpObjIdLLDP_REM_PORT_IDstatic SnmpObjIdLLDP_REM_PORT_ID_SUBTYPEstatic SnmpObjIdLLDP_REM_SYSNAMEstatic SnmpObjIdLLDP_REM_TABLE_ENTRYstatic SnmpObjId[]s_lldpremtable_elemList
-
Constructor Summary
Constructors Constructor Description LldpRemTableTracker()LldpRemTableTracker(RowCallback rowProcessor)Constructor for LldpRemTableTracker.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description SnmpRowResultcreateRowResult(int columnCount, SnmpInstId instance)static StringdecodeLldpPortId(Integer lldpPortIdSubType, SnmpValue lldpportid)voidprocessLldpRemRow(LldpRemTableTracker.LldpRemRow 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
-
LLDP_REM_TABLE_ENTRY
public static final SnmpObjId LLDP_REM_TABLE_ENTRY
-
LLDP_REM_CHASSIS_ID_SUBTYPE
public static final SnmpObjId LLDP_REM_CHASSIS_ID_SUBTYPE
-
LLDP_REM_CHASSIS_ID
public static final SnmpObjId LLDP_REM_CHASSIS_ID
-
LLDP_REM_PORT_ID_SUBTYPE
public static final SnmpObjId LLDP_REM_PORT_ID_SUBTYPE
-
LLDP_REM_PORT_ID
public static final SnmpObjId LLDP_REM_PORT_ID
-
LLDP_REM_PORT_DESCR
public static final SnmpObjId LLDP_REM_PORT_DESCR
-
LLDP_REM_SYSNAME
public static final SnmpObjId LLDP_REM_SYSNAME
-
s_lldpremtable_elemList
public static final SnmpObjId[] s_lldpremtable_elemList
-
-
Constructor Detail
-
LldpRemTableTracker
public LldpRemTableTracker()
-
LldpRemTableTracker
public LldpRemTableTracker(RowCallback rowProcessor)
Constructor for LldpRemTableTracker.
- Parameters:
rowProcessor- aRowCallbackobject.
-
-
Method Detail
-
decodeLldpPortId
public static String decodeLldpPortId(Integer lldpPortIdSubType, SnmpValue lldpportid)
-
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
-
processLldpRemRow
public void processLldpRemRow(LldpRemTableTracker.LldpRemRow row)
processLldpRemRow
- Parameters:
row- aLldpRemTableTracker.LldpRemRowobject.
-
-