org.opennms.netmgt.linkd.snmp
Class IpNetToMediaTableEntry

java.lang.Object
  extended by org.opennms.netmgt.snmp.AbstractSnmpStore
      extended by org.opennms.netmgt.capsd.snmp.SnmpStore
          extended by org.opennms.netmgt.capsd.snmp.SnmpTableEntry
              extended by org.opennms.netmgt.linkd.snmp.IpNetToMediaTableEntry

public final class IpNetToMediaTableEntry
extends SnmpTableEntry

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 infomation single entries in the table. See the IpNetToMediaTable documentation form more information.

Author:
Antonio, Sowmya, Weave, Jon Whetzel, OpenNMS
See Also:
IpNetToMediaTable, RFC1213

Field Summary
static String INTM_INDEX
           
static String INTM_NETADDR
           
static String INTM_PHYSADDR
           
static String INTM_TYPE
           
static NamedSnmpVar[] ms_elemList
          The keys that will be supported by default from the TreeMap base class.
static String TABLE_OID
          The TABLE_OID is the object identifier that represents the root of the IP Address table in the MIB forest.
 
Fields inherited from class org.opennms.netmgt.snmp.AbstractSnmpStore
IFINDEX
 
Constructor Summary
IpNetToMediaTableEntry()
          Creates a default instance of the ipNetToMedia table entry map.
 
Method Summary
 int getIpNetToMediaIfIndex()
           
 InetAddress getIpNetToMediaNetAddress()
           
 String getIpNetToMediaPhysAddress()
           
 int getIpNetToMediatype()
           
 
Methods inherited from class org.opennms.netmgt.capsd.snmp.SnmpStore
getElementListSize, getElements, log, storeResult
 
Methods inherited from class org.opennms.netmgt.snmp.AbstractSnmpStore
getDisplayString, getHexString, getIfIndex, getInt32, getIPAddress, getObjectID, getUInt32, getValue, isEmpty, putIfIndex, putValue, size
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INTM_INDEX

public static final String INTM_INDEX
See Also:
Constant Field Values

INTM_PHYSADDR

public static final String INTM_PHYSADDR
See Also:
Constant Field Values

INTM_NETADDR

public static final String INTM_NETADDR
See Also:
Constant Field Values

INTM_TYPE

public static final String INTM_TYPE
See Also:
Constant Field Values

ms_elemList

public static NamedSnmpVar[] 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.


TABLE_OID

public static final String TABLE_OID

The TABLE_OID is the object identifier that represents the root of the IP Address table in the MIB forest.

See Also:
Constant Field Values
Constructor Detail

IpNetToMediaTableEntry

public IpNetToMediaTableEntry()

Creates a default instance of the ipNetToMedia 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 retreived either through its name or object identifier.

The initial table is constructied with zero elements in the map.

Method Detail

getIpNetToMediaIfIndex

public int getIpNetToMediaIfIndex()

getIpNetToMediaPhysAddress

public String getIpNetToMediaPhysAddress()

getIpNetToMediaNetAddress

public InetAddress getIpNetToMediaNetAddress()

getIpNetToMediatype

public int getIpNetToMediatype()


Copyright © 2009. All Rights Reserved.