Fields (5) Methods (1) Properties (9)
Namespace: SchwabenCode.QuickIO.Transfer.Events

Syntax

public class QuickIOTransferFileCopyProgressEventArgs : QuickIOTransferJobWriteWithSourceEventArgs

Basetype

Summary

Live progress information during file transfer.

Fields

private  Nullable<Double> _bytesPerSecond
private  Nullable<TimeSpan> _duration
private  Nullable<TimeSpan> _estimatedDuration
private  Nullable<DateTime> _estimatedFinishTimestamp
private  Nullable<Double> _percentage

Methods

public void QuickIOTransferFileCopyProgressEventArgs(IQuickIOTransferJob job, String sourcePath, String targetPath, Int64 totalBytes, UInt64 bytesTransfered, DateTime transferStarted)

Parameters

job

IQuickIOTransferJob

Affected job

sourcePath

String

Source file path

targetPath

String

Target file path

totalBytes

Int64

Total bytes to transfer

bytesTransfered

UInt64

Total bytes transfered

transferStarted

DateTime

Properties

BytesPerSecond

Live bytes per second

public Double BytesPerSecond { get; }

BytesTransfered

Total bytes of file transfered

public UInt64 BytesTransfered { get; set; }

Duration

Live transfer duration

public TimeSpan Duration { get; }

EstimatedDuration

Estimated Duration

public TimeSpan EstimatedDuration { get; }

EstimatedFinishTimestamp

Estimated Timestamp when transfer is finished

public DateTime EstimatedFinishTimestamp { get; }

Percentage

Total percentage

public Double Percentage { get; }

ProgressTimestamp

Time the progress event was fired

public DateTime ProgressTimestamp { get; set; }

TotalBytes

Total bytes of file

public UInt64 TotalBytes { get; set; }

TransferStartedTimestamp

Time transfer of file started

public DateTime TransferStartedTimestamp { get; set; }