Package freenet.client.async

Examples of freenet.client.async.SimpleBlockSet


   * Process a binary blob for a revocation certificate (the revocation key).
   * @param temp The file it was written to.
   */
  void processRevocationBlob(final Bucket temp, final String source, final boolean fromDisk) {

    SimpleBlockSet blocks = new SimpleBlockSet();

    DataInputStream dis = null;
    try {
      dis = new DataInputStream(temp.getInputStream());
      BinaryBlob.readBinaryBlob(dis, blocks, true);
View Full Code Here


    return true;
  }

  protected void processMainJarBlob(final File temp, final PeerNode source, final int version, FreenetURI uri) {
    SimpleBlockSet blocks = new SimpleBlockSet();
    final String toString = source == null ? "(local)" : source.userToString();

    DataInputStream dis = null;
    try {
      dis = new DataInputStream(new BufferedInputStream(new FileInputStream(temp)));
View Full Code Here

TOP

Related Classes of freenet.client.async.SimpleBlockSet

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.