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.

Version:
$Id: $
Author:
Antonio
See Also:
IpNetToMediaTable, RFC1213

Field Summary
static String INTM_INDEX
          Constant INTM_INDEX="ipNetToMediaIfIndex"
static String INTM_NETADDR
          Constant INTM_NETADDR="ipNetToMediaNetAddress"
static String INTM_PHYSADDR
          Constant INTM_PHYSADDR="ipNetToMediaPhysAddress"
static String INTM_TYPE
          Constant INTM_TYPE="ipNetToMediatype"
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()
          getIpNetToMediaIfIndex
 InetAddress getIpNetToMediaNetAddress()
          getIpNetToMediaNetAddress
 String getIpNetToMediaPhysAddress()
          getIpNetToMediaPhysAddress
 int getIpNetToMediatype()
          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
Constant INTM_INDEX="ipNetToMediaIfIndex"

See Also:
Constant Field Values

INTM_PHYSADDR

public static final String INTM_PHYSADDR
Constant INTM_PHYSADDR="ipNetToMediaPhysAddress"

See Also:
Constant Field Values

INTM_NETADDR

public static final String INTM_NETADDR
Constant INTM_NETADDR="ipNetToMediaNetAddress"

See Also:
Constant Field Values

INTM_TYPE

public static final String INTM_TYPE
Constant INTM_TYPE="ipNetToMediatype"

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()

getIpNetToMediaIfIndex

Returns:
a int.

getIpNetToMediaPhysAddress

public String getIpNetToMediaPhysAddress()

getIpNetToMediaPhysAddress

Returns:
a String object.

getIpNetToMediaNetAddress

public InetAddress getIpNetToMediaNetAddress()

getIpNetToMediaNetAddress

Returns:
a InetAddress object.

getIpNetToMediatype

public int getIpNetToMediatype()

getIpNetToMediatype

Returns:
a int.


Copyright © 2011. All Rights Reserved.