Show / Hide Table of Contents

    Class UploadFileTransferInformation

    Inheritance
    System.Object
    BaseFileTransferInformation
    UploadFileTransferInformation
    Implements
    IUploadFileInformation
    IFileTransferInformation
    System.IDisposable
    Inherited Members
    BaseFileTransferInformation.TempPath
    BaseFileTransferInformation.DfsHash
    BaseFileTransferInformation.CorrelationId
    BaseFileTransferInformation.FileOutputPath
    BaseFileTransferInformation.MaxChunk
    BaseFileTransferInformation.RecipientChannel
    BaseFileTransferInformation.RecipientId
    BaseFileTransferInformation.PeerId
    BaseFileTransferInformation.CancellationToken
    BaseFileTransferInformation.Initialised
    BaseFileTransferInformation.RandomAccessStream
    BaseFileTransferInformation.TimeSinceLastChunk
    BaseFileTransferInformation.ChunkIndicators
    BaseFileTransferInformation.IsExpired()
    BaseFileTransferInformation.ChunkIndicatorsTrue()
    BaseFileTransferInformation.CleanUp()
    BaseFileTransferInformation.Delete()
    BaseFileTransferInformation.Dispose()
    BaseFileTransferInformation.IsCompleted
    BaseFileTransferInformation.Dispose(Boolean)
    BaseFileTransferInformation.UpdateChunkIndicator(UInt32, Boolean)
    BaseFileTransferInformation.Expire()
    BaseFileTransferInformation.GetPercentage()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Catalyst.Core.Lib.FileTransfer
    Assembly: Catalyst.Core.Lib.dll
    Syntax
    public sealed class UploadFileTransferInformation : BaseFileTransferInformation, IUploadFileInformation, IFileTransferInformation, IDisposable

    Constructors

    | Improve this Doc View Source

    UploadFileTransferInformation(Stream, PeerId, PeerId, IChannel, ICorrelationId)

    Initializes a new instance of the UploadFileTransferInformation class.

    Declaration
    public UploadFileTransferInformation(Stream stream, PeerId peerId, PeerId recipientId, IChannel recipientChannel, ICorrelationId correlationGuid)
    Parameters
    Type Name Description
    System.IO.Stream stream

    The stream.

    PeerId peerId

    The peer identifier.

    PeerId recipientId

    The recipient identifier.

    IChannel recipientChannel

    The recipient channel.

    ICorrelationId correlationGuid

    The correlation unique identifier.

    Properties

    | Improve this Doc View Source

    RetryCount

    Declaration
    public int RetryCount { get; set; }
    Property Value
    Type Description
    System.Int32

    Methods

    | Improve this Doc View Source

    CanRetry()

    Declaration
    public bool CanRetry()
    Returns
    Type Description
    System.Boolean
    | Improve this Doc View Source

    GetUploadMessageDto(UInt32)

    Declaration
    public IMessageDto<ProtocolMessage> GetUploadMessageDto(uint index)
    Parameters
    Type Name Description
    System.UInt32 index
    Returns
    Type Description
    IMessageDto<ProtocolMessage>

    Implements

    IUploadFileInformation
    IFileTransferInformation
    System.IDisposable
    • Improve this Doc
    • View Source
    Back to top Copyright © 2019 Catalyst Network