org.apache.james.smtpserver
Interface MessageHandler
- All Known Implementing Classes:
- AddHeaderHandler, SendMailHandler, SetMimeHeaderHandler
public interface MessageHandler
Custom message handlers must implement this interface
The message handlers will be server-wide common to all the SMTPHandlers,
therefore the handlers must store all the state information
in the SMTPSession object
onMessage
void onMessage(SMTPSession session)
Copyright © 2002-2007 The Apache Software Foundation. All Rights Reserved.