C# Class Rnwood.SmtpServer.TcpClientConnectionChannel

Inheritance: IConnectionChannel
ファイルを表示 Open project: rnwood/smtp4dev Class Usage Examples

Public Methods

Method Description
ApplyStreamFilterAsync ( Func filter ) : Task
CloseAync ( ) : Task
FlushAsync ( ) : Task
ReadLineAsync ( ) : Task
SetReaderEncoding ( Encoding encoding ) : void
TcpClientConnectionChannel ( TcpClient tcpClient ) : System
WriteLineAsync ( string text ) : Task

Private Methods

Method Description
SetupReaderAndWriter ( ) : void

Method Details

ApplyStreamFilterAsync() public method

public ApplyStreamFilterAsync ( Func filter ) : Task
filter Func
return Task

CloseAync() public method

public CloseAync ( ) : Task
return Task

FlushAsync() public method

public FlushAsync ( ) : Task
return Task

ReadLineAsync() public method

public ReadLineAsync ( ) : Task
return Task

SetReaderEncoding() public method

public SetReaderEncoding ( Encoding encoding ) : void
encoding Encoding
return void

TcpClientConnectionChannel() public method

public TcpClientConnectionChannel ( TcpClient tcpClient ) : System
tcpClient TcpClient
return System

WriteLineAsync() public method

public WriteLineAsync ( string text ) : Task
text string
return Task