C# Class SmtpServer.Protocol.HeloCommand

Inheritance: SmtpCommand
Exibir arquivo Open project: cosullivan/SmtpServer Class Usage Examples

Public Methods

Method Description
ExecuteAsync ( ISmtpSessionContext context, CancellationToken cancellationToken ) : Task

Execute the command.

HeloCommand ( string domain ) : System.Threading

Constructor.

Method Details

ExecuteAsync() public method

Execute the command.
public ExecuteAsync ( ISmtpSessionContext context, CancellationToken cancellationToken ) : Task
context ISmtpSessionContext The execution context to operate on.
cancellationToken System.Threading.CancellationToken The cancellation token.
return Task

HeloCommand() public method

Constructor.
public HeloCommand ( string domain ) : System.Threading
domain string The domain name.
return System.Threading