Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //s243a pearltree node: http://www.pearltrees.com/s243a/java/id12827366
- package freenet.client;
- import com.db4o.ObjectContainer;
- import freenet.client.async.ClientContext;
- import freenet.support.api.Bucket;
- /** Called when we have extracted an archive, and a specified file either is
- * or isn't in it. */
- public interface ArchiveExtractCallback {
- /** Got the data.
- * Note that the bucket will be persistent if the caller asked for an off-thread extraction. */
- public void gotBucket(Bucket data, ObjectContainer container, ClientContext context);
- /** Not in the archive */
- public void notInArchive(ObjectContainer container, ClientContext context);
- /** Failed: restart */
- public void onFailed(ArchiveRestartException e, ObjectContainer container, ClientContext context);
- /** Failed for some other reason */
- public void onFailed(ArchiveFailureException e, ObjectContainer container, ClientContext context);
- public void removeFrom(ObjectContainer container);
- }
Add Comment
Please, Sign In to add comment