-
Notifications
You must be signed in to change notification settings - Fork 211
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'next' of https://github.com/freenet/fred into HashingAPI
Conflicts: src/freenet/crypt/HashResult.java
- Loading branch information
Showing
669 changed files
with
45,355 additions
and
39,227 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,25 @@ | ||
package freenet.client; | ||
|
||
import com.db4o.ObjectContainer; | ||
import java.io.Serializable; | ||
|
||
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 { | ||
public interface ArchiveExtractCallback extends Serializable { | ||
|
||
/** 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); | ||
public void gotBucket(Bucket data, ClientContext context); | ||
|
||
/** Not in the archive */ | ||
public void notInArchive(ObjectContainer container, ClientContext context); | ||
public void notInArchive(ClientContext context); | ||
|
||
/** Failed: restart */ | ||
public void onFailed(ArchiveRestartException e, ObjectContainer container, ClientContext context); | ||
public void onFailed(ArchiveRestartException e, ClientContext context); | ||
|
||
/** Failed for some other reason */ | ||
public void onFailed(ArchiveFailureException e, ObjectContainer container, ClientContext context); | ||
public void onFailed(ArchiveFailureException e, ClientContext context); | ||
|
||
public void removeFrom(ObjectContainer container); | ||
|
||
} |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.