Package ch.astorm.smtp4j.protocol
Interface SmtpTransactionHandlerFactory
public interface SmtpTransactionHandlerFactory
Creates instances of
SmtpTransactionHandler.-
Method Summary
Modifier and TypeMethodDescriptioncreate(SmtpServer server, DefaultSmtpTransactionHandler.MessageReceiver receiver) Creates a newSmtpTransactionHandlerinstance.
-
Method Details
-
create
SmtpTransactionHandler create(SmtpServer server, DefaultSmtpTransactionHandler.MessageReceiver receiver) Creates a newSmtpTransactionHandlerinstance.- Parameters:
server- TheSmtpServerthat received the connection.receiver- TheDefaultSmtpTransactionHandler.MessageReceiverto receive the SMTP messages.- Returns:
- A new instance.
-