站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 3.2.7 .net API Documentation 英文版文档

SyncMailSender (JBoss.Net API) - JBoss 3.2.7 .net API Documentation 英文版文档


org.jboss.net.axis.transport.mailto.client
Class SyncMailSender

java.lang.Object
  extended byorg.apache.axis.handlers.BasicHandler
      extended byorg.jboss.net.axis.transport.mailto.client.BaseMailSender
          extended byorg.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.4.1 $
Author:
Jason Essington
See Also:
Serialized Form

Field Summary
static long DEFAULT_TIMEOUT
           
static String FOLDER_NAME
           
static String INBOX
           
static String PASSWORD
           
static String TIMEOUT
           
static String USERNAME
           
 
Fields inherited from class org.jboss.net.axis.transport.mailto.client.BaseMailSender
log, MAIL_PROPS, mailProps, mailSessionName, SESSION_NAME, TRANS_PROPS
 
Fields inherited from class org.apache.axis.handlers.BasicHandler
makeLockable, name, options
 
Fields inherited from interface org.jboss.net.axis.transport.mailto.MailConstants
HEADER_CONTENT_TRANSFER_ENCODING, HEADER_CONTENT_TYPE, HEADER_FROM, HEADER_IN_REPLY_TO, HEADER_MESSAGE_ID, HEADER_TO
 
Constructor Summary
SyncMailSender()
           
 
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.jboss.net.axis.transport.mailto.client.BaseMailSender
archiveMessage, getJavaMailProperties, getMailSession, invoke, sendMail
 
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
 

Field Detail

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
Constructor Detail

SyncMailSender

public SyncMailSender()
Method Detail

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.