C# 클래스 SmtpServer.Protocol.SmtpStateMachine

상속: ISmtpStateMachine
파일 보기 프로젝트 열기: cosullivan/SmtpServer 1 사용 예제들

공개 메소드들

메소드 설명
SmtpStateMachine ( ISmtpServerOptions options, SmtpCommandFactory commandFactory ) : System

Constructor.

TryAccept ( TokenEnumerator tokenEnumerator, SmtpCommand &command, SmtpResponse &errorResponse ) : bool

Advances the enumerator to the next command in the stream.

비공개 메소드들

메소드 설명
ISmtpStateMachine ( SmtpState state, string command ) : void

Remove the specified command from the state.

메소드 상세

SmtpStateMachine() 공개 메소드

Constructor.
public SmtpStateMachine ( ISmtpServerOptions options, SmtpCommandFactory commandFactory ) : System
options ISmtpServerOptions The options to assist when configuring the state machine.
commandFactory SmtpCommandFactory The SMTP command factory.
리턴 System

TryAccept() 공개 메소드

Advances the enumerator to the next command in the stream.
public TryAccept ( TokenEnumerator tokenEnumerator, SmtpCommand &command, SmtpResponse &errorResponse ) : bool
tokenEnumerator SmtpServer.Protocol.Text.TokenEnumerator The token enumerator to accept the command from.
command SmtpCommand The command that was found.
errorResponse SmtpResponse The error response that indicates why a command could not be accepted.
리턴 bool