Interface Port

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Interface Description
      static class  Port.Type
      Represents coarse port type classification.
    • Method Detail

      • element

        Element element()
        Returns the parent network element to which this port belongs.
        Returns:
        parent network element
      • number

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

        boolean isEnabled()
        Indicates whether or not the port is currently up and active.
        Returns:
        true if the port is operational
      • 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