org.opennms.netmgt.linkd.snmp
Class IpRouteTableEntry

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.IpRouteCollectorEntry
                  extended by org.opennms.netmgt.linkd.snmp.IpRouteTableEntry

public final class IpRouteTableEntry
extends IpRouteCollectorEntry

The IpRouteTableEntry class is designed to hold all the MIB-II information for one entry in the ipRouteTable. The table effectively contains a list of these entries, each entry having information about ip route. The entry contains: ipRouteDest, ipRouteIfIndex, ipRouteMetric1, ipRouteMetric2, ipRouteMetric3, ipRouteMetric4, ipRouteNextHop, ipRouteType, ipRouteProto, ipRouteAge, ipRouteMask, ipRouteMetric5, ipRouteInfo.

This object is used by the IpRouteTable to hold infomation single entries in the table. See the IpRouteTable documentation form more information.

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

Field Summary
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 ROUTE table in the MIB forest.
 
Fields inherited from class org.opennms.netmgt.linkd.snmp.IpRouteCollectorEntry
IP_ROUTE_AGE, IP_ROUTE_DEST, IP_ROUTE_IFINDEX, IP_ROUTE_INFO, IP_ROUTE_MASK, IP_ROUTE_METRIC1, IP_ROUTE_METRIC2, IP_ROUTE_METRIC3, IP_ROUTE_METRIC4, IP_ROUTE_METRIC5, IP_ROUTE_NXTHOP, IP_ROUTE_PROTO, IP_ROUTE_TYPE
 
Fields inherited from class org.opennms.netmgt.snmp.AbstractSnmpStore
IFINDEX
 
Constructor Summary
IpRouteTableEntry()
          Creates a default instance of the ipROUTE table entry map.
 
Method Summary
 int getIpRouteAge()
          getIpRouteAge
 InetAddress getIpRouteDest()
          getIpRouteDest
 int getIpRouteIfIndex()
          getIpRouteIfIndex
 String getIpRouteInfo()
          getIpRouteInfo
 InetAddress getIpRouteMask()
          getIpRouteMask
 int getIpRouteMetric1()
          getIpRouteMetric1
 int getIpRouteMetric2()
          getIpRouteMetric2
 int getIpRouteMetric3()
          getIpRouteMetric3
 int getIpRouteMetric4()
          getIpRouteMetric4
 int getIpRouteMetric5()
          getIpRouteMetric5
 InetAddress getIpRouteNextHop()
          getIpRouteNextHop
 int getIpRouteProto()
          getIpRouteProto
 int getIpRouteType()
          getIpRouteType
 
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

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 IpRoutetable. 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 ROUTE table in the MIB forest.

See Also:
Constant Field Values
Constructor Detail

IpRouteTableEntry

public IpRouteTableEntry()

Creates a default instance of the ipROUTE table entry map. The map represents a singular instance of the routing 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

getIpRouteDest

public InetAddress getIpRouteDest()

getIpRouteDest

Returns:
a InetAddress object.

getIpRouteIfIndex

public int getIpRouteIfIndex()

getIpRouteIfIndex

Returns:
a int.

getIpRouteMetric1

public int getIpRouteMetric1()

getIpRouteMetric1

Returns:
a int.

getIpRouteMetric2

public int getIpRouteMetric2()

getIpRouteMetric2

Returns:
a int.

getIpRouteMetric3

public int getIpRouteMetric3()

getIpRouteMetric3

Returns:
a int.

getIpRouteMetric4

public int getIpRouteMetric4()

getIpRouteMetric4

Returns:
a int.

getIpRouteNextHop

public InetAddress getIpRouteNextHop()

getIpRouteNextHop

Returns:
a InetAddress object.

getIpRouteType

public int getIpRouteType()

getIpRouteType

Returns:
a int.

getIpRouteProto

public int getIpRouteProto()

getIpRouteProto

Returns:
a int.

getIpRouteAge

public int getIpRouteAge()

getIpRouteAge

Returns:
a int.

getIpRouteMask

public InetAddress getIpRouteMask()

getIpRouteMask

Returns:
a InetAddress object.

getIpRouteMetric5

public int getIpRouteMetric5()

getIpRouteMetric5

Returns:
a int.

getIpRouteInfo

public String getIpRouteInfo()

getIpRouteInfo

Returns:
a String object.


Copyright © 2011. All Rights Reserved.