Class IpNetToMediaTableTracker
- java.lang.Object
-
- org.opennms.netmgt.snmp.CollectionTracker
-
- org.opennms.netmgt.snmp.TableTracker
-
- org.opennms.netmgt.enlinkd.snmp.IpNetToMediaTableTracker
-
- All Implemented Interfaces:
Collectable
,ProxiableTracker
,RowCallback
,RowResultFactory
public class IpNetToMediaTableTracker extends TableTracker
The IpNetToMediaTableEntry class is designed to hold all the MIB-II information for one entry in the ipNetToMediaTable. The table effectively contains a list of these entries, each entry having information about one physical address. The entry contains the ifindex binding, the MAC address, ip address and entry type.
This object is used by the IpNetToMediaTable to hold information single entries in the table. See the IpNetToMediaTable documentation form more information.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
IpNetToMediaTableTracker.IpNetToMediaRow
-
Field Summary
Fields Modifier and Type Field Description static SnmpObjId
IPNETTOMEDIA_TABLE_ENTRY
The TABLE_OID is the object identifier that represents the root of the IP Address table in the MIB forest.static SnmpObjId
IPNETTOMEDIA_TABLE_IFINDEX
static SnmpObjId
IPNETTOMEDIA_TABLE_NETADDR
static SnmpObjId
IPNETTOMEDIA_TABLE_PHYSADDR
static SnmpObjId
IPNETTOMEDIA_TABLE_TYPE
static SnmpObjId[]
ms_elemList
The keys that will be supported by default from the TreeMap base class.
-
Constructor Summary
Constructors Constructor Description IpNetToMediaTableTracker()
Creates a default instance of the ipNetToMediatableTracker table entry map.IpNetToMediaTableTracker(RowCallback rowProcessor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SnmpRowResult
createRowResult(int columnCount, SnmpInstId instance)
void
processIpNetToMediaRow(IpNetToMediaTableTracker.IpNetToMediaRow row)
processIpNetToMediaRowvoid
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
-
IPNETTOMEDIA_TABLE_ENTRY
public static final SnmpObjId IPNETTOMEDIA_TABLE_ENTRY
The TABLE_OID is the object identifier that represents the root of the IP Address table in the MIB forest.
-
IPNETTOMEDIA_TABLE_IFINDEX
public static final SnmpObjId IPNETTOMEDIA_TABLE_IFINDEX
-
IPNETTOMEDIA_TABLE_PHYSADDR
public static final SnmpObjId IPNETTOMEDIA_TABLE_PHYSADDR
-
IPNETTOMEDIA_TABLE_NETADDR
public static final SnmpObjId IPNETTOMEDIA_TABLE_NETADDR
-
IPNETTOMEDIA_TABLE_TYPE
public static final SnmpObjId IPNETTOMEDIA_TABLE_TYPE
-
ms_elemList
public static SnmpObjId[] ms_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 IpNetToMediatable. Objects in this list should be used by multiple instances of this class.
-
-
Constructor Detail
-
IpNetToMediaTableTracker
public IpNetToMediaTableTracker()
Creates a default instance of the ipNetToMediatableTracker table entry map. The map represents a singular instance of the mac address table. Each column in the table for the loaded instance may be retrieved either through its name or object identifier.
The initial table is constructed with zero elements in the map.
-
IpNetToMediaTableTracker
public IpNetToMediaTableTracker(RowCallback rowProcessor)
-
-
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
-
processIpNetToMediaRow
public void processIpNetToMediaRow(IpNetToMediaTableTracker.IpNetToMediaRow row)
processIpNetToMediaRow
- Parameters:
row
- aIpNetToMediaTableTracker.IpNetToMediaRow
object.
-
-