org.subethamail.smtp
Interface MessageHandlerFactory

All Known Implementing Classes:
MessageListenerAdapter

public interface MessageHandlerFactory

The primary interface to be implemented by clients of the SMTP library. This factory is called for every message to be exchanged in an SMTP conversation. If multiple messages are transmitted in a single connection (via RSET), multiple handlers will be created from this factory.

Author:
Jeff Schnitzer

Method Summary
 MessageHandler create(MessageContext ctx)
          Called for the exchange of a single message during an SMTP conversation.
 

Method Detail

create

MessageHandler create(MessageContext ctx)
Called for the exchange of a single message during an SMTP conversation.

Parameters:
ctx - provides information about the client.


Copyright © 2011 SubEthaSMTP. All Rights Reserved. Build version: UNVERSIONED