C# 클래스 withSIX.Sync.Core.Legacy.FileDownloadHelper

상속: IFileDownloadHelper
파일 보기 프로젝트 열기: SIXNetworks/withSIX.Desktop

공개 메소드들

메소드 설명
DownloadFileAsync ( Uri uri, IAbsoluteFilePath localFile ) : Task
DownloadFileAsync ( string remoteFile, IAbsoluteDirectoryPath destinationPath, IMirrorSelector selector, int limit, CancellationToken token ) : Task
DownloadFileAsync ( string remoteFile, IAbsoluteDirectoryPath destinationPath, IReadOnlyCollection remotes, CancellationToken token, int limit ) : Task
DownloadFileAsync ( string remoteFile, IAbsoluteDirectoryPath destinationPath, IReadOnlyCollection remotes, CancellationToken token, int limit, bool>.Func confirmValidity ) : Task
DownloadFileAsync ( string remoteFile, IAbsoluteFilePath destinationPath, IMirrorSelector selector, ITransferStatus status, CancellationToken token ) : Task
DownloadFilesAsync ( IReadOnlyCollection remotes, StatusRepo sr, ITransferStatus>.IDictionary transferStatuses, IAbsoluteDirectoryPath destination ) : Task
DownloadFilesAsync ( IReadOnlyCollection remotes, StatusRepo sr, ITransferStatus>.IDictionary transferStatuses, IAbsoluteDirectoryPath destination, int limit ) : Task
FileDownloadHelper ( IFileDownloader downloader, Func createMultiMirrorFileDownloader, Func createMirrorSelector, Func createMirrorSelectorWithLimit, Func createQueueDownloader ) : System
StartMirrorSession ( IReadOnlyCollection remotes ) : ExportLifetimeContext
StartMirrorSession ( int limit, IReadOnlyCollection remotes ) : ExportLifetimeContext

비공개 메소드들

메소드 설명
CreateFileQueueSpec ( ITransferStatus>.IDictionary transferStatuses, IAbsoluteDirectoryPath destination ) : FileQueueSpec
DownloadFileAsync ( string remoteFile, IAbsoluteDirectoryPath destinationPath, IMirrorSelector scoreMirrorSelector, CancellationToken token ) : Task
DownloadFileAsync ( string remoteFile, IAbsoluteDirectoryPath destinationPath, IMirrorSelector scoreMirrorSelector, CancellationToken token, bool>.Func confirmValidity, int zsyncHttpFallbackAfter ) : Task
DownloadFileAsync ( string remoteFile, IAbsoluteFilePath destinationPath, IMirrorSelector scoreMirrorSelector, CancellationToken token, bool>.Func confirmValidity, ITransferStatus status ) : Task
DownloadFileAsync ( string remoteFile, IAbsoluteFilePath destinationPath, IMirrorSelector scoreMirrorSelector, CancellationToken token, bool>.Func confirmValidity, int zsyncHttpFallbackAfter ) : Task
DownloadFilesAsync ( StatusRepo sr, ITransferStatus>.IDictionary transferStatuses, IAbsoluteDirectoryPath destinationPath, IMirrorSelector scoreMirrorSelector ) : Task

메소드 상세

DownloadFileAsync() 공개 메소드

public DownloadFileAsync ( Uri uri, IAbsoluteFilePath localFile ) : Task
uri System.Uri
localFile IAbsoluteFilePath
리턴 Task

DownloadFileAsync() 공개 메소드

public DownloadFileAsync ( string remoteFile, IAbsoluteDirectoryPath destinationPath, IMirrorSelector selector, int limit, CancellationToken token ) : Task
remoteFile string
destinationPath IAbsoluteDirectoryPath
selector IMirrorSelector
limit int
token System.Threading.CancellationToken
리턴 Task

DownloadFileAsync() 공개 메소드

public DownloadFileAsync ( string remoteFile, IAbsoluteDirectoryPath destinationPath, IReadOnlyCollection remotes, CancellationToken token, int limit ) : Task
remoteFile string
destinationPath IAbsoluteDirectoryPath
remotes IReadOnlyCollection
token System.Threading.CancellationToken
limit int
리턴 Task

DownloadFileAsync() 공개 메소드

public DownloadFileAsync ( string remoteFile, IAbsoluteDirectoryPath destinationPath, IReadOnlyCollection remotes, CancellationToken token, int limit, bool>.Func confirmValidity ) : Task
remoteFile string
destinationPath IAbsoluteDirectoryPath
remotes IReadOnlyCollection
token System.Threading.CancellationToken
limit int
confirmValidity bool>.Func
리턴 Task

DownloadFileAsync() 공개 메소드

public DownloadFileAsync ( string remoteFile, IAbsoluteFilePath destinationPath, IMirrorSelector selector, ITransferStatus status, CancellationToken token ) : Task
remoteFile string
destinationPath IAbsoluteFilePath
selector IMirrorSelector
status ITransferStatus
token System.Threading.CancellationToken
리턴 Task

DownloadFilesAsync() 공개 메소드

public DownloadFilesAsync ( IReadOnlyCollection remotes, StatusRepo sr, ITransferStatus>.IDictionary transferStatuses, IAbsoluteDirectoryPath destination ) : Task
remotes IReadOnlyCollection
sr StatusRepo
transferStatuses ITransferStatus>.IDictionary
destination IAbsoluteDirectoryPath
리턴 Task

DownloadFilesAsync() 공개 메소드

public DownloadFilesAsync ( IReadOnlyCollection remotes, StatusRepo sr, ITransferStatus>.IDictionary transferStatuses, IAbsoluteDirectoryPath destination, int limit ) : Task
remotes IReadOnlyCollection
sr StatusRepo
transferStatuses ITransferStatus>.IDictionary
destination IAbsoluteDirectoryPath
limit int
리턴 Task

FileDownloadHelper() 공개 메소드

public FileDownloadHelper ( IFileDownloader downloader, Func createMultiMirrorFileDownloader, Func createMirrorSelector, Func createMirrorSelectorWithLimit, Func createQueueDownloader ) : System
downloader IFileDownloader
createMultiMirrorFileDownloader Func
createMirrorSelector Func
createMirrorSelectorWithLimit Func
createQueueDownloader Func
리턴 System

StartMirrorSession() 공개 메소드

public StartMirrorSession ( IReadOnlyCollection remotes ) : ExportLifetimeContext
remotes IReadOnlyCollection
리턴 ExportLifetimeContext

StartMirrorSession() 공개 메소드

public StartMirrorSession ( int limit, IReadOnlyCollection remotes ) : ExportLifetimeContext
limit int
remotes IReadOnlyCollection
리턴 ExportLifetimeContext