Class Interface


  • public class Interface
    extends java.lang.Object

    Interface class.

    Since:
    1.8.1
    Version:
    $Id: $
    Author:
    ranger
    • Method Detail

      • createSnmpInterface

        public void createSnmpInterface​(OnmsSnmpInterface snmpIface)
      • createIpInterface

        public void createIpInterface​(OnmsIpInterface ipIface)
      • getIpaddresses

        public java.util.List<java.lang.String> getIpaddresses()
      • setIpaddresses

        public void setIpaddresses​(java.util.List<java.lang.String> ipaddresses)
      • hasIpAddresses

        public boolean hasIpAddresses()
      • getId

        public int getId()

        getId

        Returns:
        a int.
      • getNodeId

        public int getNodeId()

        getNodeId

        Returns:
        a int.
      • getIfIndex

        public int getIfIndex()

        getIfIndex

        Returns:
        a int.
      • getIpStatus

        public int getIpStatus()

        getIpStatus

        Returns:
        a int.
      • getHostname

        public java.lang.String getHostname()

        getHostname

        Returns:
        a String object.
      • getIpAddress

        public java.lang.String getIpAddress()

        getIpAddress

        Returns:
        a String object.
      • isManagedChar

        public char isManagedChar()

        isManagedChar

        Returns:
        a char.
      • getLastCapsdPoll

        public java.lang.String getLastCapsdPoll()

        getLastCapsdPoll

        Returns:
        a String object.
      • getSnmpIfIndex

        public int getSnmpIfIndex()

        getSnmpIfIndex

        Returns:
        a int.
      • getPhysicalAddress

        public java.lang.String getPhysicalAddress()

        getPhysicalAddress

        Returns:
        a String object.
      • getSnmpIfDescription

        public java.lang.String getSnmpIfDescription()

        getSnmpIfDescription

        Returns:
        a String object.
      • getSnmpIfName

        public java.lang.String getSnmpIfName()

        getSnmpIfName

        Returns:
        a String object.
      • getSnmpIfType

        public int getSnmpIfType()

        getSnmpIfType

        Returns:
        a int.
      • getSnmpIfOperStatus

        public int getSnmpIfOperStatus()

        getSnmpIfOperStatus

        Returns:
        a int.
      • getSnmpIfSpeed

        public long getSnmpIfSpeed()

        getSnmpIfSpeed

        Returns:
        a long.
      • getSnmpIfAdminStatus

        public int getSnmpIfAdminStatus()

        getSnmpIfAdminStatus

        Returns:
        a int.
      • isSnmpPollChar

        public char isSnmpPollChar()

        isSnmpPollChar

        Returns:
        a char.
      • getSnmpLastSnmpPoll

        public java.lang.String getSnmpLastSnmpPoll()

        getSnmpLastSnmpPoll

        Returns:
        a String object.
      • getSnmpLastCapsdPoll

        public java.lang.String getSnmpLastCapsdPoll()

        getSnmpLastCapsdPoll

        Returns:
        a String object.
      • toString

        public java.lang.String toString()

        toString

        Overrides:
        toString in class java.lang.Object
        Returns:
        a String object.
      • isManaged

        public boolean isManaged()

        isManaged

        Returns:
        a boolean.
      • isSnmpPoll

        public boolean isSnmpPoll()

        isSnmpPoll

        Returns:
        a boolean.
      • getSnmpIfAlias

        public java.lang.String getSnmpIfAlias()

        getSnmpIfAlias

        Returns:
        a String object.
      • getIsSnmpPrimary

        public java.lang.String getIsSnmpPrimary()

        getIsSnmpPrimary

        Returns:
        a String object.
      • getName

        public java.lang.String getName()

        getName

        Returns:
        a String object.