当前页面:
在线文档首页 >
JBoss 4.0.1 sp1 .net API Documentation 英文版文档
SyncMailSender (JBoss.Net API) - JBoss 4.0.1 sp1 .net API Documentation 英文版文档
org.jboss.net.axis.transport.mailto.client
Class SyncMailSender
java.lang.Object
org.apache.axis.handlers.BasicHandler
org.jboss.net.axis.transport.mailto.client.BaseMailSender
org.jboss.net.axis.transport.mailto.client.SyncMailSender
- All Implemented Interfaces:
- org.apache.axis.Handler, MailConstants, Serializable
- 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
Fields inherited from class org.apache.axis.handlers.BasicHandler |
makeLockable, name, options |
Method Summary |
protected void |
checkResponse(org.apache.axis.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 org.apache.axis.handlers.BasicHandler |
canHandleBlock, cleanup, generateWSDL, getDeploymentData, getName, getOption, getOptions, getUnderstoodHeaders, init, initHashtable, onFault, setName, setOption, setOptionDefault, setOptions, setOptionsLockable |
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(org.apache.axis.MessageContext ctx)
throws org.apache.axis.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:
org.apache.axis.AxisFault
getFolderName
protected String getFolderName()
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.