<PackageReference Include="Relativity.Transfer.Client" Version="6.0.16" />

TransferJobBase

public abstract class TransferJobBase : ITransferJob, IDisposable
public int ChangedMinDataRateMbps { get; }

public int ChangedTargetDataRateMbps { get; }

public int? ClientMaxSupportedPathLength { get; set; }

public int? ClientTransferFileNameLength { get; set; }

public virtual bool IsDataRateChangeSupported { get; }

protected ITransferLog Log { get; }

public ITransferRequest Request { get; set; }

public TimeSpan RetryWaitPeriod { get; }

public TransferJobStatus Status { get; protected set; }

protected TransferJobBase(ITransferLog log, ITransferRequest request, ITransferJobService jobService, ClientConfiguration configuration, IRelativityServiceFactory serviceFactory)

protected TransferJobBase(IFileSystemService fileSystemService, ITransferLog log, ITransferRequest request, ITransferJobService jobService, ClientConfiguration configuration, IRelativityServiceFactory serviceFactory)

public void AddPath(TransferPath path)

public void AddPath(TransferPath path, CancellationToken token)

public void AddPaths(IEnumerable<TransferPath> paths)

public int ChangeDataRate(int minRateMbps, int targetRateMbps)

public int ChangeDataRate(int minRateMbps, int targetRateMbps, CancellationToken token)

public Task<int> ChangeDataRateAsync(int minRateMbps, int targetRateMbps)

public Task<int> ChangeDataRateAsync(int minRateMbps, int targetRateMbps, CancellationToken token)

protected IRemotePathResolver CreatePathResolver(bool source)

public void Dispose()

protected virtual void Dispose(bool disposing)

protected void LogErrorPath(string path)

protected abstract void OnChangeDataRate(int minRateMbps, int targetRateMbps, CancellationToken token)

protected virtual IRemotePathResolver OnCreatePathResolver(bool source)

protected virtual void OnJobCanceled(bool isDisposing)

protected abstract void OnJobRetry(TimeSpan timeout, CancellationToken token)

protected abstract void OnJobStarted(TimeSpan timeout, CancellationToken token)

protected abstract void OnPathAdded(TransferPath path, CancellationToken token)

protected virtual void RetryAddPaths(CancellationToken token)

public Task StartAsync()

public Task StartAsync(TimeSpan timeout)

public Task StartAsync(TimeSpan timeout, CancellationToken token)

public void ValidatePath(TransferPath path)

protected virtual void ValidateStart()

protected virtual void ValidateTargetPathLength(TransferPath path)

protected virtual void ValidateWait()