C# 클래스 SmtpServer.Storage.MailboxFilter

상속: IMailboxFilter, IMailboxFilterFactory
파일 보기 프로젝트 열기: cosullivan/SmtpServer

공개 메소드들

메소드 설명
CanAcceptFromAsync ( ISessionContext context, IMailbox @from, int size ) : Task

Returns a value indicating whether the given mailbox can be accepted as a sender.

CanDeliverToAsync ( ISessionContext context, IMailbox to, IMailbox @from ) : Task

Returns a value indicating whether the given mailbox can be accepted as a recipient to the given sender.

CreateInstance ( ISessionContext context ) : IMailboxFilter

Creates an instance of the message box filter.

메소드 상세

CanAcceptFromAsync() 공개 메소드

Returns a value indicating whether the given mailbox can be accepted as a sender.
public CanAcceptFromAsync ( ISessionContext context, IMailbox @from, int size ) : Task
context ISessionContext The session context.
@from IMailbox
size int The estimated message size to accept.
리턴 Task

CanDeliverToAsync() 공개 메소드

Returns a value indicating whether the given mailbox can be accepted as a recipient to the given sender.
public CanDeliverToAsync ( ISessionContext context, IMailbox to, IMailbox @from ) : Task
context ISessionContext The session context.
to IMailbox The mailbox to test.
@from IMailbox
리턴 Task

CreateInstance() 공개 메소드

Creates an instance of the message box filter.
public CreateInstance ( ISessionContext context ) : IMailboxFilter
context ISessionContext The session context.
리턴 IMailboxFilter