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 class
LldpRemTableTracker.LldpRemRow
-
Field Summary
Fields Modifier and Type Field Description static SnmpObjId
LLDP_REM_CHASSIS_ID
static SnmpObjId
LLDP_REM_CHASSIS_ID_SUBTYPE
static SnmpObjId
LLDP_REM_PORT_DESCR
static SnmpObjId
LLDP_REM_PORT_ID
static SnmpObjId
LLDP_REM_PORT_ID_SUBTYPE
static SnmpObjId
LLDP_REM_SYSNAME
static SnmpObjId
LLDP_REM_TABLE_ENTRY
static 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 SnmpRowResult
createRowResult(int columnCount, SnmpInstId instance)
static String
decodeLldpPortId(Integer lldpPortIdSubType, SnmpValue lldpportid)
void
processLldpRemRow(LldpRemTableTracker.LldpRemRow 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
-
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
- aRowCallback
object.
-
-
Method Detail
-
decodeLldpPortId
public static String decodeLldpPortId(Integer lldpPortIdSubType, SnmpValue lldpportid)
-
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
-
processLldpRemRow
public void processLldpRemRow(LldpRemTableTracker.LldpRemRow row)
processLldpRemRow
- Parameters:
row
- aLldpRemTableTracker.LldpRemRow
object.
-
-