Interface ConnectionManager
-
public interface ConnectionManagerThe Interface ConnectionManager to manage connections.- Author:
- Martin Scharm
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ConnectiongetConnectionForNode(TreeNode node)Gets the connection for a certain node.booleanparentsConnected(Connection c)Check if the parents of two nodes are connected.
-
-
-
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 returnnullif there is no connection.- Parameters:
node- the node of interest- Returns:
- the connection of the node
-
-