C# 클래스 CmisSync.Lib.FileTransmission.ContentTaskUtils

Content task utils.
파일 보기 프로젝트 열기: OpenDataSpace/CmisSync

공개 메소드들

메소드 설명
CreateDownloader ( long chunkSize, IFileTransmissionStorage storage = null ) : IFileDownloader

Creates the downloader.

CreateUploader ( long chunkSize ) : IFileUploader

Creates the matching uploader.

PrepareResume ( long successfulLength, Stream successfulPart, HashAlgorithm hashAlg ) : void

Prepares to resume.

메소드 상세

CreateDownloader() 공개 정적인 메소드

Creates the downloader.
public static CreateDownloader ( long chunkSize, IFileTransmissionStorage storage = null ) : IFileDownloader
chunkSize long Chunk size.
storage IFileTransmissionStorage
리턴 IFileDownloader

CreateUploader() 공개 정적인 메소드

Creates the matching uploader.
public static CreateUploader ( long chunkSize ) : IFileUploader
chunkSize long Chunk size.
리턴 IFileUploader

PrepareResume() 공개 정적인 메소드

Prepares to resume.
public static PrepareResume ( long successfulLength, Stream successfulPart, HashAlgorithm hashAlg ) : void
successfulLength long Successful length.
successfulPart Stream Successful part.
hashAlg System.Security.Cryptography.HashAlgorithm Hash algorithm
리턴 void