C# 클래스 Rnwood.SmtpServer.Connection

상속: IConnection
파일 보기 프로젝트 열기: rnwood/smtp4dev

공개 메소드들

메소드 설명
AbortMessage ( ) : void
ApplyStreamFilterAsync ( Func filter ) : Task
CloseConnectionAsync ( ) : Task
CommitMessage ( ) : void
Connection ( IServer server, IConnectionChannel connectionChannel, IVerbMap verbMap ) : Rnwood.SmtpServer.Extensions
NewMessage ( ) : IMessageBuilder
ProcessAsync ( ) : Task
ReadLineAsync ( ) : Task
SetReaderEncoding ( Encoding encoding ) : void
SetReaderEncodingToDefault ( ) : void
ToString ( ) : string
WriteResponseAsync ( Rnwood.SmtpServer.SmtpResponse response ) : Task

보호된 메소드들

메소드 설명
WriteLineAndFlushAsync ( string text ) : Task

비공개 메소드들

메소드 설명
OnConnectionChannelClosed ( object sender, EventArgs e ) : void

메소드 상세

AbortMessage() 공개 메소드

public AbortMessage ( ) : void
리턴 void

ApplyStreamFilterAsync() 공개 메소드

public ApplyStreamFilterAsync ( Func filter ) : Task
filter Func
리턴 Task

CloseConnectionAsync() 공개 메소드

public CloseConnectionAsync ( ) : Task
리턴 Task

CommitMessage() 공개 메소드

public CommitMessage ( ) : void
리턴 void

Connection() 공개 메소드

public Connection ( IServer server, IConnectionChannel connectionChannel, IVerbMap verbMap ) : Rnwood.SmtpServer.Extensions
server IServer
connectionChannel IConnectionChannel
verbMap IVerbMap
리턴 Rnwood.SmtpServer.Extensions

NewMessage() 공개 메소드

public NewMessage ( ) : IMessageBuilder
리턴 IMessageBuilder

ProcessAsync() 공개 메소드

public ProcessAsync ( ) : Task
리턴 Task

ReadLineAsync() 공개 메소드

public ReadLineAsync ( ) : Task
리턴 Task

SetReaderEncoding() 공개 메소드

public SetReaderEncoding ( Encoding encoding ) : void
encoding System.Text.Encoding
리턴 void

SetReaderEncodingToDefault() 공개 메소드

public SetReaderEncodingToDefault ( ) : void
리턴 void

ToString() 공개 메소드

public ToString ( ) : string
리턴 string

WriteLineAndFlushAsync() 보호된 메소드

protected WriteLineAndFlushAsync ( string text ) : Task
text string
리턴 Task

WriteResponseAsync() 공개 메소드

public WriteResponseAsync ( Rnwood.SmtpServer.SmtpResponse response ) : Task
response Rnwood.SmtpServer.SmtpResponse
리턴 Task