Interface ConnectionManager


  • public interface ConnectionManager
    The Interface ConnectionManager to manage connections.
    Author:
    Martin Scharm
    • Method Detail

      • parentsConnected

        boolean parentsConnected​(Connection c)
        Check if the parents of two nodes are connected.
        Parameters:
        c - the connection
        Returns:
        true, if the parents of the nodes connected in c are also connected
      • getConnectionForNode

        Connection getConnectionForNode​(TreeNode node)
        Gets the connection for a certain node. Might return null if there is no connection.
        Parameters:
        node - the node of interest
        Returns:
        the connection of the node