Package freenet.client

Examples of freenet.client.NullClientCallback


   * @param context
   */
  public void hintUpdate(USK usk, long edition, ClientContext context) {
    if(edition < lookupLatestSlot(usk)) return;
    FreenetURI uri = usk.copy(edition).getURI().sskForUSK();
    final ClientGetter get = new ClientGetter(new NullClientCallback(rcBulk), uri, new FetchContext(backgroundFetchContext, FetchContext.IDENTICAL_MASK), RequestStarter.UPDATE_PRIORITY_CLASS, new NullBucket(), null, null);
    try {
      get.start(context);
    } catch (FetchException e) {
      // Ignore
    }
View Full Code Here


      if(logMINOR) Logger.minor(this, "Ignoring hint because edition is "+uri.getSuggestedEdition()+" but latest is "+lookupLatestSlot(USK.create(uri)));
      return;
    }
    uri = uri.sskForUSK();
    if(logMINOR) Logger.minor(this, "Doing hint fetch for "+uri);
    final ClientGetter get = new ClientGetter(new NullClientCallback(rcBulk), uri, new FetchContext(backgroundFetchContext, FetchContext.IDENTICAL_MASK), priority, new NullBucket(), null, null);
    try {
      get.start(context);
    } catch (FetchException e) {
      if(logMINOR) Logger.minor(this, "Cannot start hint fetch for "+uri+" : "+e, e);
      // Ignore
View Full Code Here

TOP

Related Classes of freenet.client.NullClientCallback

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.