C# Class SmtpServer.Protocol.DataCommand

Inheritance: SmtpCommand
Show file Open project: cosullivan/SmtpServer Class Usage Examples

Public Methods

Method Description
DataCommand ( IMessageStoreFactory messageStoreFactory ) : System

Constructor.

ExecuteAsync ( ISmtpSessionContext context, CancellationToken cancellationToken ) : Task

Execute the command.

Method Details

DataCommand() public method

Constructor.
public DataCommand ( IMessageStoreFactory messageStoreFactory ) : System
messageStoreFactory IMessageStoreFactory The message store factory.
return System

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