Package org.syncany.operations.daemon.messages

Examples of org.syncany.operations.daemon.messages.UpUploadFileInTransactionSyncExternalEvent


      if (action.getType().equals(ActionTO.TYPE_UPLOAD)) {
        File localFile = action.getLocalTempLocation();
        long localFileSize = localFile.length();

        eventBus.post(new UpUploadFileInTransactionSyncExternalEvent(config.getLocalDir().getAbsolutePath(), ++uploadFileIndex,
            stats.totalUploadFileCount, localFileSize, stats.totalUploadSize));

        logger.log(Level.INFO, "- Uploading {0} to temp. file {1} ...", new Object[] { localFile, tempRemoteFile });
        transferManager.upload(localFile, tempRemoteFile);
      }
View Full Code Here

TOP

Related Classes of org.syncany.operations.daemon.messages.UpUploadFileInTransactionSyncExternalEvent

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.