Class IpAddrTableEntry
- java.lang.Object
-
- org.opennms.netmgt.snmp.AbstractSnmpStore
-
- org.opennms.netmgt.snmp.SnmpStore
-
- org.opennms.netmgt.provision.service.snmp.SnmpTableEntry
-
- org.opennms.netmgt.provision.service.snmp.IpAddrTableEntry
-
public final class IpAddrTableEntry extends SnmpTableEntry
The IpAddrTableEntry class is designed to hold all the MIB-II information for one entry in the ipAddrTable. The table effectively contains a list of these entries, each entry having information about one address. The entry contains an IP Address, its netmask, interface binding, broadcast address, and maximum packet reassembly size.
This object is used by the IpAddrTable to hold information single entries in the table. See the IpAddrTable documentation form more information.
- Author:
- Sowmya , Weave , Jon Whetzel
- See Also:
IpAddrTable, RFC1213
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringIP_ADDR_ENT_ADDRConstantIP_ADDR_ENT_ADDR="ipAdEntAddr"static java.lang.StringIP_ADDR_ENT_BCASTADDRConstantIP_ADDR_ENT_BCASTADDR="ipAdEntBcastAddr"static java.lang.StringIP_ADDR_ENT_NETMASKConstantIP_ADDR_ENT_NETMASK="ipAdEntNetMask"static java.lang.StringIP_ADDR_IF_INDEXConstantIP_ADDR_IF_INDEX="ipAdEntIfIndex"static NamedSnmpVar[]ms_elemListConstantms_elemListstatic java.lang.StringTABLE_OIDThe 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
Constructors Constructor Description IpAddrTableEntry()The class constructor used to initialize the object to its initial state.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.net.InetAddressgetIpAdEntAddr()getIpAdEntAddrjava.net.InetAddressgetIpAdEntBcastAddr()getIpAdEntBcastAddrjava.lang.IntegergetIpAdEntIfIndex()getIpAdEntIfIndexjava.net.InetAddressgetIpAdEntNetMask()getIpAdEntNetMask-
Methods inherited from class org.opennms.netmgt.snmp.SnmpStore
getElementListSize, getElements, storeResult
-
Methods inherited from class org.opennms.netmgt.snmp.AbstractSnmpStore
getDisplayString, getHexString, getIfIndex, getInt32, getIPAddress, getObjectID, getUInt32, getValue, isEmpty, putIfIndex, putValue, size
-
-
-
-
Field Detail
-
IP_ADDR_ENT_ADDR
public static final java.lang.String IP_ADDR_ENT_ADDR
ConstantIP_ADDR_ENT_ADDR="ipAdEntAddr"- See Also:
- Constant Field Values
-
IP_ADDR_IF_INDEX
public static final java.lang.String IP_ADDR_IF_INDEX
ConstantIP_ADDR_IF_INDEX="ipAdEntIfIndex"- See Also:
- Constant Field Values
-
IP_ADDR_ENT_NETMASK
public static final java.lang.String IP_ADDR_ENT_NETMASK
ConstantIP_ADDR_ENT_NETMASK="ipAdEntNetMask"- See Also:
- Constant Field Values
-
IP_ADDR_ENT_BCASTADDR
public static final java.lang.String IP_ADDR_ENT_BCASTADDR
ConstantIP_ADDR_ENT_BCASTADDR="ipAdEntBcastAddr"- See Also:
- Constant Field Values
-
ms_elemList
public static NamedSnmpVar[] ms_elemList
Constantms_elemList
-
TABLE_OID
public static final java.lang.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
-
IpAddrTableEntry
public IpAddrTableEntry()
The class constructor used to initialize the object to its initial state. Although the object's member variables can change after an instance is created, this constructor will initialize all the variables as per their named variable from the passed array of SNMP varbinds.
If the information in the object should not be modified then a final modifier can be applied to the created object.
-
-
Method Detail
-
getIpAdEntAddr
public java.net.InetAddress getIpAdEntAddr()
getIpAdEntAddr
- Returns:
- a
InetAddressobject.
-
getIpAdEntIfIndex
public java.lang.Integer getIpAdEntIfIndex()
getIpAdEntIfIndex
- Returns:
- a
Integerobject.
-
getIpAdEntNetMask
public java.net.InetAddress getIpAdEntNetMask()
getIpAdEntNetMask
- Returns:
- a
InetAddressobject.
-
getIpAdEntBcastAddr
public java.net.InetAddress getIpAdEntBcastAddr()
getIpAdEntBcastAddr
- Returns:
- a
InetAddressobject.
-
-