Interface IPValidator

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static IPValidator AllowAll
      A validator that allows all IP addresses to connect
    • Field Detail

      • AllowAll

        static final IPValidator AllowAll
        A validator that allows all IP addresses to connect
    • Method Detail

      • allow

        boolean allow​(String ip)
        Called when a connector attempts to register a route to this router.
        Parameters:
        ip - The IP address of the connector client
        Returns:
        true if this IP address is allowed to register routers; otherwise false