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