C# Class FubarDev.FtpServer.CommandHandlers.PasvCommandHandler

The command handler for the PASV (4.1.2.) and EPSV commands
Inheritance: FtpCommandHandler
Mostra file Open project: FubarDevelopment/FtpServer

Public Methods

Method Description
GetSupportedFeatures ( ) : IEnumerable
PasvCommandHandler ( FtpConnection connection ) : System

Initializes a new instance of the PasvCommandHandler class.

Process ( FtpCommand command, CancellationToken cancellationToken ) : Task

Method Details

GetSupportedFeatures() public method

public GetSupportedFeatures ( ) : IEnumerable
return IEnumerable

PasvCommandHandler() public method

Initializes a new instance of the PasvCommandHandler class.
public PasvCommandHandler ( FtpConnection connection ) : System
connection FtpConnection The connection this command handler is created for
return System

Process() public method

public Process ( FtpCommand command, CancellationToken cancellationToken ) : Task
command FtpCommand
cancellationToken System.Threading.CancellationToken
return Task