282930313233343536
@Override public void visitConnection(IGridConnection gcc) { GridConnection gc = (GridConnection) gcc; gc.setControllerRoute( null, true ); gc.incrementChannelCount( usedChannels ); gc.finalizeChannels(); } }
1819202122232425262728
@Override public boolean visitNode(IGridNode n) { GridNode gn = (GridNode) n; gn.setControllerRoute( null, true ); gn.incrementChannelCount( usedChannels ); gn.finalizeChannels(); return true; } @Override