Class ReinCommandHandler
Implementation of the REIN
command.
Inherited Members
Namespace: FubarDev.FtpServer.CommandHandlers
Assembly: FubarDev.FtpServer.Commands.dll
Syntax
[FtpCommandHandler("REIN", false, false)]
public class ReinCommandHandler : FtpCommandHandler, IFtpCommandHandler, IFtpCommandBase, IFeatureHost
Constructors
| Improve this Doc View SourceReinCommandHandler(IOptions<PortCommandOptions>, IFtpServerMessages, Nullable<ILogger<ReinCommandHandler>>)
Initializes a new instance of the ReinCommandHandler class.
Declaration
public ReinCommandHandler(IOptions<PortCommandOptions> portOptions, IFtpServerMessages serverMessages, ILogger<ReinCommandHandler>? logger = default(ILogger<ReinCommandHandler>? ))
Parameters
Type | Name | Description |
---|---|---|
IOptions<PortCommandOptions> | portOptions | The PORT command options. |
IFtpServerMessages | serverMessages | The FTP server messages. |
Nullable<ILogger<ReinCommandHandler>> | logger | The logger. |
Methods
| Improve this Doc View SourceProcess(FtpCommand, CancellationToken)
Declaration
public override Task<IFtpResponse? > Process(FtpCommand command, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
FtpCommand | command | |
CancellationToken | cancellationToken |
Returns
Type | Description |
---|---|
Task<Nullable<IFtpResponse>> |