Class IpAddressTableEntry


  • public final class IpAddressTableEntry
    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
    • Constructor Detail

      • IpAddressTableEntry

        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

      • getIpAddressIfIndex

        public Integer getIpAddressIfIndex()

        getIpAdEntIfIndex

        Returns:
        a Integer object.
      • getIpAddressNetMask

        public InetAddress getIpAddressNetMask()

        getIpAdEntNetMask

        Returns:
        a InetAddress object.
      • storeResult

        public void storeResult​(SnmpResult result)
        This is a hack, we get the IP address from the instance information when storing one of the columns. :P
        Overrides:
        storeResult in class SnmpStore