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.
IpRouteTable
,
RFC1213Modifier and Type | Field and Description |
---|---|
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.
|
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
IFINDEX
Constructor and Description |
---|
IpRouteTableEntry()
Creates a default instance of the ipROUTE
table entry map.
|
Modifier and Type | Method and Description |
---|---|
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
|
getElementListSize, getElements, log, storeResult
getDisplayString, getHexString, getIfIndex, getInt32, getIPAddress, getObjectID, getUInt32, getValue, isEmpty, putIfIndex, putValue, size
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.
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.
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.
public InetAddress getIpRouteDest()
getIpRouteDest
InetAddress
object.public int getIpRouteIfIndex()
getIpRouteIfIndex
public int getIpRouteMetric1()
getIpRouteMetric1
public int getIpRouteMetric2()
getIpRouteMetric2
public int getIpRouteMetric3()
getIpRouteMetric3
public int getIpRouteMetric4()
getIpRouteMetric4
public InetAddress getIpRouteNextHop()
getIpRouteNextHop
InetAddress
object.public int getIpRouteType()
getIpRouteType
public int getIpRouteProto()
getIpRouteProto
public int getIpRouteAge()
getIpRouteAge
public InetAddress getIpRouteMask()
getIpRouteMask
InetAddress
object.public int getIpRouteMetric5()
getIpRouteMetric5
Copyright © 2015. All Rights Reserved.