LimeWire Consolidated API

com.limegroup.gnutella.bootstrap
Interface Bootstrapper.Listener

All Known Implementing Classes:
HostCatcher
Enclosing interface:
Bootstrapper

public static interface Bootstrapper.Listener


Method Summary
 int handleHosts(Collection<? extends Endpoint> hosts)
          Receives hosts from the bootstrapper, returning the number used.
 boolean needsHosts()
          Returns true if the listener needs hosts from the bootstrapper.
 

Method Detail

needsHosts

boolean needsHosts()
Returns true if the listener needs hosts from the bootstrapper.


handleHosts

int handleHosts(Collection<? extends Endpoint> hosts)
Receives hosts from the bootstrapper, returning the number used.


LimeWire Consolidated API

Copyright © 2009. All Rights Reserved.