Class UiEdgeLink


  • public class UiEdgeLink
    extends UiLink
    Designates a link between a device and a host; that is, an edge link.
    • Constructor Detail

      • UiEdgeLink

        public UiEdgeLink​(UiTopology topology,
                          UiLinkId id)
        Creates a UI link.
        Parameters:
        topology - parent topology
        id - canonicalized link identifier
    • Method Detail

      • endPointA

        public java.lang.String endPointA()
        Description copied from class: UiLink
        Returns the identifier of end-point A in string form.
        Specified by:
        endPointA in class UiLink
        Returns:
        end point A identifier
      • endPointB

        public java.lang.String endPointB()
        Description copied from class: UiLink
        Returns the identifier of end-point B in string form.
        Specified by:
        endPointB in class UiLink
        Returns:
        end point B identifier
      • endPortB

        public java.lang.String endPortB()
        Description copied from class: UiLink
        Returns the port number (as a string) for end-point B, if applicable. This default implementation returns null, indicating not-applicable. Subclasses only need to override this method if end-point B has an associated port.
        Overrides:
        endPortB in class UiLink
        Returns:
        port number for end-point B
      • hostId

        public HostId hostId()
        Returns the host identifier.
        Returns:
        host identifier
      • deviceId

        public DeviceId deviceId()
        Returns the edge device identifier.
        Returns:
        device identifier
      • portNumber

        public PortNumber portNumber()
        Returns the edge port number.
        Returns:
        edge port number