org.mailster.server
Class MailsterDeliveryHandler
java.lang.Object
org.mailster.smtp.api.handler.AbstractDeliveryHandler
org.mailster.server.MailsterDeliveryHandler
- All Implemented Interfaces:
- org.mailster.smtp.auth.AuthenticationHandler
public class MailsterDeliveryHandler
- extends org.mailster.smtp.api.handler.AbstractDeliveryHandler
---
Mailster (C) 2007-2009 De Oliveira Edouard
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
Foundation; either version 2 of the License, or (at your option) any later
version.
This program is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
details.
You should have received a copy of the GNU General Public License along with
this program; if not, write to the Free Software Foundation, Inc., 675 Mass
Ave, Cambridge, MA 02139, USA.
See Mailster
Web Site
---
MailsterDeliveryHandler.java - Class which implements the AbstractDeliveryHandler
interface.
- Version:
- $Revision: 1.5 $, $Date: 2009/04/10 00:03:45 $
- Author:
- Edouard De Oliveira
|
Field Summary |
private java.lang.String |
from
|
private java.util.List<java.lang.String> |
recipients
|
|
Constructor Summary |
MailsterDeliveryHandler(org.mailster.smtp.api.handler.DeliveryContext ctx,
org.mailster.smtp.auth.AuthenticationHandler authHandler)
|
| Methods inherited from class org.mailster.smtp.api.handler.AbstractDeliveryHandler |
auth, getAuthenticationHandler, getAuthenticationMechanisms, getDeliveryContext, getListeners, getSessionContext, resetState, setListeners |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
recipients
private java.util.List<java.lang.String> recipients
from
private java.lang.String from
MailsterDeliveryHandler
public MailsterDeliveryHandler(org.mailster.smtp.api.handler.DeliveryContext ctx,
org.mailster.smtp.auth.AuthenticationHandler authHandler)
from
public void from(java.lang.String from)
throws org.mailster.smtp.api.RejectException
- Specified by:
from in class org.mailster.smtp.api.handler.AbstractDeliveryHandler
- Throws:
org.mailster.smtp.api.RejectException
recipient
public void recipient(java.lang.String recipient)
throws org.mailster.smtp.api.RejectException
- Specified by:
recipient in class org.mailster.smtp.api.handler.AbstractDeliveryHandler
- Throws:
org.mailster.smtp.api.RejectException
resetDeliveryState
public void resetDeliveryState()
- Specified by:
resetDeliveryState in class org.mailster.smtp.api.handler.AbstractDeliveryHandler
data
public void data(java.io.InputStream data)
throws org.mailster.smtp.api.TooMuchDataException,
java.io.IOException
- Specified by:
data in class org.mailster.smtp.api.handler.AbstractDeliveryHandler
- Throws:
org.mailster.smtp.api.TooMuchDataException
java.io.IOException