Package freenet.client

Examples of freenet.client.ArchiveContext


    this.clientCallback = client;
    this.returnBucket = returnBucket;
    this.uri = uri;
    this.ctx = ctx;
    this.finished = false;
    this.actx = new ArchiveContext(ctx.maxTempLength, ctx.maxArchiveLevels);
    this.binaryBlobWriter = binaryBlobWriter;
    this.dontFinalizeBlobWriter = dontFinalizeBlobWriter;
    this.initialMetadata = initialMetadata;
    archiveRestarts = 0;
    this.forceCompatibleExtension = forceCompatibleExtension;
View Full Code Here


    // Put ourself as callback.
    // Fetch it. If it fails, ignore it, if it succeeds, return the data with the edition # to the client.
    FreenetURI uri = key.getSSK(l).getURI();
    try {
      SingleFileFetcher getter =
        (SingleFileFetcher) SingleFileFetcher.create(this, this, uri, ctx, new ArchiveContext(ctx.maxTempLength, ctx.maxArchiveLevels),
            ctx.maxNonSplitfileRetries, 0, true, l, true, false, context, realTimeFlag, false);
      getter.schedule(context);
    } catch (MalformedURLException e) {
      Logger.error(this, "Impossible: "+e, e);
    } catch (FetchException e) {
View Full Code Here

TOP

Related Classes of freenet.client.ArchiveContext

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.