Package freenet.clients.fcp

Examples of freenet.clients.fcp.UploadDirRequestStatus


        long size = upload.getDataSize();
        if(size > 0)
          totalQueuedUploadSize += size;
        added = true;
      } else if(req instanceof UploadDirRequestStatus && uploads) {
        UploadDirRequestStatus upload = (UploadDirRequestStatus)req;
        if(upload.hasSucceeded()) {
          completedDirUpload.add(upload);
        } else if(upload.hasFinished()) {
          failedDirUpload.add(upload);
        } else {
          short prio = upload.getPriority();
          if(prio < lowestQueuedPrio)
            lowestQueuedPrio = prio;
          uncompletedDirUpload.add(upload);
        }
        long size = upload.getTotalDataSize();
        if(size > 0)
          totalQueuedUploadSize += size;
                added = true;
      }
    }
View Full Code Here

TOP

Related Classes of freenet.clients.fcp.UploadDirRequestStatus

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.