Show / Hide Table of Contents

    Class DefaultFtpCommandDispatcher

    Default implementation of IFtpCommandDispatcher.

    Inheritance
    Object
    DefaultFtpCommandDispatcher
    Implements
    IFtpCommandDispatcher
    Inherited Members
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Object.ToString()
    Namespace: FubarDev.FtpServer.Commands
    Assembly: FubarDev.FtpServer.Abstractions.dll
    Syntax
    public class DefaultFtpCommandDispatcher : IFtpCommandDispatcher

    Constructors

    | Improve this Doc View Source

    DefaultFtpCommandDispatcher(IFtpConnection, IFtpLoginStateMachine, IFtpCommandActivator, IEnumerable<IFtpCommandMiddleware>, Nullable<ILogger<DefaultFtpCommandDispatcher>>)

    Initializes a new instance of the DefaultFtpCommandDispatcher class.

    Declaration
    public DefaultFtpCommandDispatcher(IFtpConnection connection, IFtpLoginStateMachine loginStateMachine, IFtpCommandActivator commandActivator, IEnumerable<IFtpCommandMiddleware> middlewareObjects, ILogger<DefaultFtpCommandDispatcher>? logger = default(ILogger<DefaultFtpCommandDispatcher>? ))
    Parameters
    Type Name Description
    IFtpConnection connection

    The FTP connection.

    IFtpLoginStateMachine loginStateMachine

    The login state machine.

    IFtpCommandActivator commandActivator

    The command activator.

    IEnumerable<IFtpCommandMiddleware> middlewareObjects

    The list of middleware objects.

    Nullable<ILogger<DefaultFtpCommandDispatcher>> logger

    The logger.

    Methods

    | Improve this Doc View Source

    DispatchAsync(FtpContext, CancellationToken)

    Declaration
    public Task DispatchAsync(FtpContext context, CancellationToken cancellationToken)
    Parameters
    Type Name Description
    FtpContext context
    CancellationToken cancellationToken
    Returns
    Type Description
    Task

    Implements

    IFtpCommandDispatcher
    • Improve this Doc
    • View Source
    Back to top
    Copyright © 2018 Fubar Development Junker
    Generated by DocFX
    Creative Commons License
    FluentMigrator Documentation by FluentMigrator Project is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.