Interface PortDescription

    • Method Detail

      • portNumber

        PortNumber portNumber()
        Returns the port number.
        Returns:
        port number
      • isEnabled

        boolean isEnabled()
        Indicates whether or not the port is up and active.
        Returns:
        true if the port is active and has carrier signal
      • isRemoved

        boolean isRemoved()
        Indicates whether or not the port was removed.
        Returns:
        true if the port is removed.
      • type

        Port.Type type()
        Returns the port type.
        Returns:
        port type
      • portSpeed

        long portSpeed()
        Returns the current port speed in Mbps.
        Returns:
        current port speed