Interface InternalConnectivity

    • Method Detail

      • testConnectivity

        boolean testConnectivity​(PortNumber inputPort,
                                 PortNumber outputPort)
        Test if two ports of the device can be internally connected.
        Parameters:
        inputPort - in port of device
        outputPort - out port of device
        Returns:
        true if inputPort can be connected outputPort
      • getOutputPorts

        Set<PortNumber> getOutputPorts​(PortNumber inputPort)
        Returns the set of output ports that can be connected to inputPort.
        Parameters:
        inputPort - in port of device
        Returns:
        list of output ports that can be connected to inputPort
      • getInputPorts

        Set<PortNumber> getInputPorts​(PortNumber outputPort)
        Returns the set of input ports that can be connected to outputPort.
        Parameters:
        outputPort - out port of device
        Returns:
        list of input ports that can be connected to outputPort