Show / Hide Table of Contents

    Interface IFileTransferFactory<T>

    The File Transfer interface

    Namespace: Catalyst.Abstractions.FileTransfer
    Assembly: Catalyst.Abstractions.dll
    Syntax
    public interface IFileTransferFactory<T>
    
        where T : IFileTransferInformation
    Type Parameters
    Name Description
    T

    Properties

    | Improve this Doc View Source

    Keys

    Gets the keys.

    Declaration
    Guid[] Keys { get; }
    Property Value
    Type Description
    System.Guid[]

    The keys.

    Methods

    | Improve this Doc View Source

    FileTransferAsync(ICorrelationId, CancellationToken)

    Files the transfer asynchronous.

    Declaration
    Task FileTransferAsync(ICorrelationId correlationId, CancellationToken cancellationToken)
    Parameters
    Type Name Description
    ICorrelationId correlationId

    The correlation unique identifier.

    System.Threading.CancellationToken cancellationToken

    The cancellation token.

    Returns
    Type Description
    System.Threading.Tasks.Task
    | Improve this Doc View Source

    GetFileTransferInformation(ICorrelationId)

    Gets the file transfer information.

    Declaration
    T GetFileTransferInformation(ICorrelationId correlationId)
    Parameters
    Type Name Description
    ICorrelationId correlationId

    The correlation unique identifier.

    Returns
    Type Description
    T
    | Improve this Doc View Source

    RegisterTransfer(T)

    Registers the transfer.

    Declaration
    FileTransferResponseCodeTypes RegisterTransfer(T fileTransferInformation)
    Parameters
    Type Name Description
    T fileTransferInformation

    The file transfer information.

    Returns
    Type Description
    FileTransferResponseCodeTypes

    Initialization response code

    | Improve this Doc View Source

    Remove(T, Boolean)

    Removes the specified file transfer information.

    Declaration
    void Remove(T fileTransferInformation, bool expiredOrCancelled)
    Parameters
    Type Name Description
    T fileTransferInformation

    The file transfer information.

    System.Boolean expiredOrCancelled

    if set to true [expired or cancelled].

    • Improve this Doc
    • View Source
    Back to top Copyright © 2019 Catalyst Network