Package freenet.client.events

Examples of freenet.client.events.SplitfileCompatibilityModeEvent


          ClientContext context) {
      context.getJobRunner(persistent()).queueNormalOrDrop(new PersistentJob() {

            @Override
            public boolean run(ClientContext context) {
                ctx.eventProducer.produceEvent(new SplitfileCompatibilityModeEvent(min, max, customSplitfileKey, dontCompress, bottomLayer || definitiveAnyway), context);
                return false;
            }
         
      });
  }
View Full Code Here


  }

    public SplitfileCompatibilityModeEvent toEvent() {
        InsertContext.CompatibilityMode minMode = InsertContext.CompatibilityMode.values()[(int)min];
        InsertContext.CompatibilityMode maxMode = InsertContext.CompatibilityMode.values()[(int)max];
        return new SplitfileCompatibilityModeEvent(minMode, maxMode, cryptoKey, dontCompress, definitive);
    }
View Full Code Here

                if(expectedHashes.hashes != null)
                    ret.receive(new ExpectedHashesEvent(expectedHashes.hashes), context);
            }
            if(compatMessage != null) {
                container.activate(compatMessage, Integer.MAX_VALUE);
                SplitfileCompatibilityModeEvent e = compatMessage.toEvent();
                ret.receive(e, context);
            }
            if(succeeded) {
                if(foundDataLength <= 0) throw new ResumeFailedException("No data");
                Bucket data = null;
View Full Code Here

TOP

Related Classes of freenet.client.events.SplitfileCompatibilityModeEvent

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.