Class SshServerFinder

java.lang.Object
com.sshteam.lib.SshServerFinder

public class SshServerFinder extends Object
  • Constructor Details

    • SshServerFinder

      public SshServerFinder(com.nervepoint.discoinferno.service.FinderService.FindType findType, Supplier<com.sshtools.sequins.Progress> progressSupplier)
    • SshServerFinder

      public SshServerFinder(com.nervepoint.discoinferno.service.FinderService.FindType findType, Supplier<com.sshtools.sequins.Progress> progressSupplier, Collection<InetAddress> knownServiceAddresses)
  • Method Details

    • addListener

      public void addListener(SshServerFinder.Listener listener)
    • removeListener

      public void removeListener(SshServerFinder.Listener listener)
    • addHost

      public void addHost(InetAddress host)
    • removeHost

      public void removeHost(InetAddress host)
    • getSshHosts

      public final Set<InetAddress> getSshHosts()
    • getSshServices

      public final Set<com.nervepoint.discoinferno.domain.HostService> getSshServices()
    • restart

      public void restart()
    • cancel

      public void cancel()
    • find

      public SshServerFinder find()