code: public void forEach(Consumer<RouterStub> action) {
          stubs.stream().filter(RouterStub::isConnected).forEach(action::accept);
      }
docs: Applies action to all RouterStubs that are connected
  @param action