C# Class FubarDev.FtpServer.AuthTls.ProtCommandHandler

The PROT command handler
Inheritance: FubarDev.FtpServer.CommandHandlers.FtpCommandHandler
Exibir arquivo Open project: FubarDevelopment/FtpServer

Public Methods

Method Description
GetSupportedFeatures ( ) : IEnumerable
Process ( FtpCommand command, CancellationToken cancellationToken ) : Task
ProtCommandHandler ( FtpConnection connection ) : System.Collections.Generic

Initializes a new instance of the ProtCommandHandler class.

Private Methods

Method Description
CreateSslStream ( Stream unencryptedStream ) : Task

Method Details

GetSupportedFeatures() public method

public GetSupportedFeatures ( ) : IEnumerable
return IEnumerable

Process() public method

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

ProtCommandHandler() public method

Initializes a new instance of the ProtCommandHandler class.
public ProtCommandHandler ( FtpConnection connection ) : System.Collections.Generic
connection FtpConnection The connection to create this command handler for
return System.Collections.Generic