|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opennms.netmgt.snmp.AbstractSnmpStore
org.opennms.netmgt.provision.service.snmp.SnmpStore
org.opennms.netmgt.provision.service.snmp.SnmpTableEntry
org.opennms.netmgt.provision.service.snmp.IpAddressTableEntry
public final class IpAddressTableEntry
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.
IpAddrTable,
RFC1213 | Field Summary | |
|---|---|
static String |
IP_ADDR_ENT_NETMASK
|
static String |
IP_ADDR_TYPE
|
static String |
IP_ADDRESS_IF_INDEX
|
static NamedSnmpVar[] |
ms_elemList
Constant ms_elemList |
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 | |
|---|---|
IpAddressTableEntry()
The class constructor used to initialize the object to its initial state. |
|
| Method Summary | |
|---|---|
InetAddress |
getIpAddress()
getIpAdEntAddr |
Integer |
getIpAddressIfIndex()
getIpAdEntIfIndex |
InetAddress |
getIpAddressNetMask()
getIpAdEntNetMask |
void |
storeResult(SnmpResult result)
This is a hack, we get the IP address from the instance information when storing one of the columns. |
| Methods inherited from class org.opennms.netmgt.provision.service.snmp.SnmpStore |
|---|
getElementListSize, getElements, log |
| 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 |
|---|
public static final String IP_ADDRESS_IF_INDEX
public static final String IP_ADDR_ENT_NETMASK
public static final String IP_ADDR_TYPE
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.
public static NamedSnmpVar[] ms_elemList
ms_elemList
| Constructor Detail |
|---|
public IpAddressTableEntry()
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 |
|---|
public InetAddress getIpAddress()
getIpAdEntAddr
InetAddress object.public Integer getIpAddressIfIndex()
getIpAdEntIfIndex
Integer object.public InetAddress getIpAddressNetMask()
getIpAdEntNetMask
InetAddress object.public void storeResult(SnmpResult result)
storeResult in class SnmpStore
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||