C# 클래스 SmtpServer.Protocol.SmtpCommandFactory

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

공개 메소드들

메소드 설명
SmtpCommandFactory ( ISmtpServerOptions options, SmtpParser parser ) : System

Constructor.

TryMakeAuth ( TokenEnumerator enumerator, SmtpCommand &command, SmtpResponse &errorResponse ) : bool

Make an AUTH command from the given enumerator.

TryMakeData ( TokenEnumerator enumerator, SmtpCommand &command, SmtpResponse &errorResponse ) : bool

Make a DATA command from the given enumerator.

TryMakeDbug ( TokenEnumerator enumerator, SmtpCommand &command, SmtpResponse &errorResponse ) : bool

Make an DBUG command from the given enumerator.

TryMakeEhlo ( TokenEnumerator enumerator, SmtpCommand &command, SmtpResponse &errorResponse ) : bool

Make an EHLO command from the given enumerator.

TryMakeHelo ( TokenEnumerator enumerator, SmtpCommand &command, SmtpResponse &errorResponse ) : bool

Make a HELO command from the given enumerator.

TryMakeMail ( TokenEnumerator enumerator, SmtpCommand &command, SmtpResponse &errorResponse ) : bool

Make a MAIL command from the given enumerator.

TryMakeNoop ( TokenEnumerator enumerator, SmtpCommand &command, SmtpResponse &errorResponse ) : bool

Make an NOOP command from the given enumerator.

TryMakeQuit ( TokenEnumerator enumerator, SmtpCommand &command, SmtpResponse &errorResponse ) : bool

Make a QUIT command.

TryMakeRcpt ( TokenEnumerator enumerator, SmtpCommand &command, SmtpResponse &errorResponse ) : bool

Make a RCTP command from the given enumerator.

TryMakeRset ( TokenEnumerator enumerator, SmtpCommand &command, SmtpResponse &errorResponse ) : bool

Make an RSET command from the given enumerator.

TryMakeStartTls ( TokenEnumerator enumerator, SmtpCommand &command, SmtpResponse &errorResponse ) : bool

Make an STARTTLS command from the given enumerator.

메소드 상세

SmtpCommandFactory() 공개 메소드

Constructor.
public SmtpCommandFactory ( ISmtpServerOptions options, SmtpParser parser ) : System
options ISmtpServerOptions The SMTP server options.
parser SmtpParser The ABNF SMTP argument parser.
리턴 System

TryMakeAuth() 공개 메소드

Make an AUTH command from the given enumerator.
public TryMakeAuth ( TokenEnumerator enumerator, SmtpCommand &command, SmtpResponse &errorResponse ) : bool
enumerator SmtpServer.Protocol.Text.TokenEnumerator The enumerator to create the command from.
command SmtpCommand The AUTH command that is defined within the token enumerator.
errorResponse SmtpResponse The error that indicates why the command could not be made.
리턴 bool

TryMakeData() 공개 메소드

Make a DATA command from the given enumerator.
public TryMakeData ( TokenEnumerator enumerator, SmtpCommand &command, SmtpResponse &errorResponse ) : bool
enumerator SmtpServer.Protocol.Text.TokenEnumerator The enumerator to create the command from.
command SmtpCommand The DATA command that is defined within the token enumerator.
errorResponse SmtpResponse The error that indicates why the command could not be made.
리턴 bool

TryMakeDbug() 공개 메소드

Make an DBUG command from the given enumerator.
public TryMakeDbug ( TokenEnumerator enumerator, SmtpCommand &command, SmtpResponse &errorResponse ) : bool
enumerator SmtpServer.Protocol.Text.TokenEnumerator The enumerator to create the command from.
command SmtpCommand The DBUG command that is defined within the token enumerator.
errorResponse SmtpResponse The error that indicates why the command could not be made.
리턴 bool

TryMakeEhlo() 공개 메소드

Make an EHLO command from the given enumerator.
public TryMakeEhlo ( TokenEnumerator enumerator, SmtpCommand &command, SmtpResponse &errorResponse ) : bool
enumerator SmtpServer.Protocol.Text.TokenEnumerator The enumerator to create the command from.
command SmtpCommand The EHLO command that is defined within the token enumerator.
errorResponse SmtpResponse The error that indicates why the command could not be made.
리턴 bool

TryMakeHelo() 공개 메소드

Make a HELO command from the given enumerator.
public TryMakeHelo ( TokenEnumerator enumerator, SmtpCommand &command, SmtpResponse &errorResponse ) : bool
enumerator SmtpServer.Protocol.Text.TokenEnumerator The enumerator to create the command from.
command SmtpCommand The HELO command that is defined within the token enumerator.
errorResponse SmtpResponse The error that indicates why the command could not be made.
리턴 bool

TryMakeMail() 공개 메소드

Make a MAIL command from the given enumerator.
public TryMakeMail ( TokenEnumerator enumerator, SmtpCommand &command, SmtpResponse &errorResponse ) : bool
enumerator SmtpServer.Protocol.Text.TokenEnumerator The enumerator to create the command from.
command SmtpCommand The MAIL command that is defined within the token enumerator.
errorResponse SmtpResponse The error that indicates why the command could not be made.
리턴 bool

TryMakeNoop() 공개 메소드

Make an NOOP command from the given enumerator.
public TryMakeNoop ( TokenEnumerator enumerator, SmtpCommand &command, SmtpResponse &errorResponse ) : bool
enumerator SmtpServer.Protocol.Text.TokenEnumerator The enumerator to create the command from.
command SmtpCommand The NOOP command that is defined within the token enumerator.
errorResponse SmtpResponse The error that indicates why the command could not be made.
리턴 bool

TryMakeQuit() 공개 메소드

Make a QUIT command.
public TryMakeQuit ( TokenEnumerator enumerator, SmtpCommand &command, SmtpResponse &errorResponse ) : bool
enumerator SmtpServer.Protocol.Text.TokenEnumerator The enumerator to create the command from.
command SmtpCommand The QUIT command that is defined within the token enumerator.
errorResponse SmtpResponse The error that indicates why the command could not be made.
리턴 bool

TryMakeRcpt() 공개 메소드

Make a RCTP command from the given enumerator.
public TryMakeRcpt ( TokenEnumerator enumerator, SmtpCommand &command, SmtpResponse &errorResponse ) : bool
enumerator SmtpServer.Protocol.Text.TokenEnumerator The enumerator to create the command from.
command SmtpCommand The RCTP command that is defined within the token enumerator.
errorResponse SmtpResponse The error that indicates why the command could not be made.
리턴 bool

TryMakeRset() 공개 메소드

Make an RSET command from the given enumerator.
public TryMakeRset ( TokenEnumerator enumerator, SmtpCommand &command, SmtpResponse &errorResponse ) : bool
enumerator SmtpServer.Protocol.Text.TokenEnumerator The enumerator to create the command from.
command SmtpCommand The RSET command that is defined within the token enumerator.
errorResponse SmtpResponse The error that indicates why the command could not be made.
리턴 bool

TryMakeStartTls() 공개 메소드

Make an STARTTLS command from the given enumerator.
public TryMakeStartTls ( TokenEnumerator enumerator, SmtpCommand &command, SmtpResponse &errorResponse ) : bool
enumerator SmtpServer.Protocol.Text.TokenEnumerator The enumerator to create the command from.
command SmtpCommand The STARTTLS command that is defined within the token enumerator.
errorResponse SmtpResponse The error that indicates why the command could not be made.
리턴 bool