Interface PeerDiscovery

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.util.List<java.net.InetSocketAddress> getPeers​(long services, long timeoutValue, java.util.concurrent.TimeUnit timeoutUnit)
      Queries the addresses.
      void shutdown()
      Stops any discovery in progress when we want to shut down quickly.
    • Method Detail

      • shutdown

        void shutdown()
        Stops any discovery in progress when we want to shut down quickly.