Interface IGridVisitor

All Known Subinterfaces:
IGridConnectionVisitor

public interface IGridVisitor
Simple Visitor pattern access to network nodes.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Called for each node on the network.
  • Method Details

    • visitNode

      boolean visitNode(IGridNode n)
      Called for each node on the network. By returning false your informing the host to stop visiting nodes beyond the current node.
      Parameters:
      n - the current node.
      Returns:
      true to continue visiting nodes beyond this node.