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