Examples of UpUploadFileSyncExternalEvent


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

  }

  private TransactionRemoteFile uploadTransactionFile(File localTransactionFile) throws StorageException {
    TransactionRemoteFile remoteTransactionFile = new TransactionRemoteFile(this);

    eventBus.post(new UpUploadFileSyncExternalEvent(config.getLocalDir().getAbsolutePath(), remoteTransactionFile.getName()));

    logger.log(Level.INFO, "- Uploading remote transaction file {0} ...", remoteTransactionFile);
    transferManager.upload(localTransactionFile, remoteTransactionFile);

    return remoteTransactionFile;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.