Author: toad
Date: 2008-06-18 17:27:51 +0000 (Wed, 18 Jun 2008)
New Revision: 20434
Modified:
branches/db4o/freenet/src/freenet/client/async/USKFetcherCallback.java
Log:
document
Modified: branches/db4o/freenet/src/freenet/client/async/USKFetcherCallback.java
===================================================================
--- branches/db4o/freenet/src/freenet/client/async/USKFetcherCallback.java
2008-06-18 17:25:17 UTC (rev 20433)
+++ branches/db4o/freenet/src/freenet/client/async/USKFetcherCallback.java
2008-06-18 17:27:51 UTC (rev 20434)
@@ -5,6 +5,8 @@
import com.db4o.ObjectContainer;
+import freenet.keys.USK;
+
/**
* Callback interface for USK fetches. If you submit a USK fetch via
* USKManager.getFetcher, then register yourself on it as a listener, then you
@@ -17,4 +19,9 @@
void onCancelled(ObjectContainer container, ClientContext context);
+ /** Found the latest edition. **This is terminal for a
USKFetcherCallback**. It isn't for a USKCallback subscription.
+ * @param l The edition number.
+ * @param key The key. */
+ void onFoundEdition(long l, USK key, ObjectContainer container,
ClientContext context, boolean metadata, short codec, byte[] data);
+
}