org.jboss.net.axis.transport.mailto.client
Class SyncMailSender
java.lang.Object
BasicHandler
org.jboss.net.axis.transport.mailto.client.BaseMailSender
org.jboss.net.axis.transport.mailto.client.SyncMailSender
- All Implemented Interfaces:
- MailConstants
- public class SyncMailSender
- extends BaseMailSender
- Title:
- Synchronous Mail Transport
- Description:
- This is a Synchronous email Transport. It will block while waiting for a response.
This client side sender is really only usefull for testing.
- Version:
- $Revision: 1.1 $
- Author:
- Jason Essington
- See Also:
- Serialized Form
Method Summary |
protected void |
checkResponse(MessageContext ctx)
Override this method if you want the client to block until it recieves a response.
In reality, this is probably only usefull for testing since email is not really a synchronous operation. |
protected String |
getFolderName()
|
protected long |
getTimeout()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FOLDER_NAME
public static final String FOLDER_NAME
- See Also:
- Constant Field Values
USERNAME
public static final String USERNAME
- See Also:
- Constant Field Values
PASSWORD
public static final String PASSWORD
- See Also:
- Constant Field Values
INBOX
public static final String INBOX
- See Also:
- Constant Field Values
TIMEOUT
public static final String TIMEOUT
- See Also:
- Constant Field Values
DEFAULT_TIMEOUT
public static final long DEFAULT_TIMEOUT
- See Also:
- Constant Field Values
SyncMailSender
public SyncMailSender()
getTimeout
protected long getTimeout()
checkResponse
protected void checkResponse(MessageContext ctx)
throws AxisFault
- Description copied from class:
BaseMailSender
- Override this method if you want the client to block until it recieves a response.
In reality, this is probably only usefull for testing since email is not really a synchronous operation.
- Overrides:
checkResponse
in class BaseMailSender
- Parameters:
ctx
-
- Throws:
AxisFault
getFolderName
protected String getFolderName()
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.