Class DataConnectionServerCommandHandler
Handler for the DataConnectionServerCommand.
Implements
Inherited Members
Namespace: FubarDev.FtpServer.ServerCommandHandlers
Assembly: FubarDev.FtpServer.dll
Syntax
public class DataConnectionServerCommandHandler : IServerCommandHandler<DataConnectionServerCommand>
Constructors
| Improve this Doc View SourceDataConnectionServerCommandHandler(IFtpConnectionAccessor, Nullable<ILogger<DataConnectionServerCommandHandler>>)
Initializes a new instance of the DataConnectionServerCommandHandler class.
Declaration
public DataConnectionServerCommandHandler(IFtpConnectionAccessor connectionAccessor, ILogger<DataConnectionServerCommandHandler>? logger = default(ILogger<DataConnectionServerCommandHandler>? ))
Parameters
| Type | Name | Description |
|---|---|---|
| IFtpConnectionAccessor | connectionAccessor | The FTP connection accessor. |
| Nullable<ILogger<DataConnectionServerCommandHandler>> | logger | The logger. |
Methods
| Improve this Doc View SourceExecuteAsync(DataConnectionServerCommand, CancellationToken)
Declaration
public Task ExecuteAsync(DataConnectionServerCommand command, CancellationToken cancellationToken)
Parameters
| Type | Name | Description |
|---|---|---|
| DataConnectionServerCommand | command | |
| CancellationToken | cancellationToken |
Returns
| Type | Description |
|---|---|
| Task |