Package org.syncany.plugins.transfer

Examples of org.syncany.plugins.transfer.TransferManager.disconnect()


        : config.getTransferPlugin().createTransferManager(config.getConnection(), config);

    List<DatabaseRemoteFile> knownDatabases = localDatabase.getKnownDatabases();
    List<DatabaseRemoteFile> unknownRemoteDatabases = listUnknownRemoteDatabases(transferManager, knownDatabases);

    transferManager.disconnect();

    boolean hasChanges = unknownRemoteDatabases.size() > 0;
    eventBus.post(new LsRemoteEndSyncExternalEvent(config.getLocalDir().getAbsolutePath(), hasChanges));
   
    return new LsRemoteOperationResult(new ArrayList<>(unknownRemoteDatabases));
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.