/* This code is part of Freenet. It is distributed under the GNU General
* Public License, version 2 (or at your option any later version). See
* http://www.gnu.org/ for further details of the GPL. */
package freenet.client.async;
import freenet.support.api.Bucket;
public interface SnoopBucket {
/** Spy on the bucket as a file is being fetched. Return true to cancel the request. */
public boolean snoopBucket(Bucket data, boolean isMetadata, ClientContext context);
}