org.apache.axis2.transport.mail
Class MailRequestResponseTransport

java.lang.Object
  extended by org.apache.axis2.transport.mail.MailRequestResponseTransport
All Implemented Interfaces:
org.apache.axis2.transport.RequestResponseTransport

public class MailRequestResponseTransport
extends java.lang.Object
implements org.apache.axis2.transport.RequestResponseTransport

this class is not generally used with the SMTP transport. this is added to work this smtp transport with Sandesah2.


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.apache.axis2.transport.RequestResponseTransport
org.apache.axis2.transport.RequestResponseTransport.RequestResponseTransportStatus
 
Field Summary
 
Fields inherited from interface org.apache.axis2.transport.RequestResponseTransport
HOLD_RESPONSE, TRANSPORT_CONTROL
 
Constructor Summary
MailRequestResponseTransport()
           
 
Method Summary
 void acknowledgeMessage(org.apache.axis2.context.MessageContext messageContext)
           
 void awaitResponse()
           
 org.apache.axis2.transport.RequestResponseTransport.RequestResponseTransportStatus getStatus()
           
 boolean isResponseWritten()
           
 void setResponseWritten(boolean b)
           
 void signalFaultReady(org.apache.axis2.AxisFault axisFault)
           
 void signalResponseReady()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MailRequestResponseTransport

public MailRequestResponseTransport()
Method Detail

acknowledgeMessage

public void acknowledgeMessage(org.apache.axis2.context.MessageContext messageContext)
                        throws org.apache.axis2.AxisFault
Specified by:
acknowledgeMessage in interface org.apache.axis2.transport.RequestResponseTransport
Throws:
org.apache.axis2.AxisFault

awaitResponse

public void awaitResponse()
                   throws java.lang.InterruptedException,
                          org.apache.axis2.AxisFault
Specified by:
awaitResponse in interface org.apache.axis2.transport.RequestResponseTransport
Throws:
java.lang.InterruptedException
org.apache.axis2.AxisFault

signalResponseReady

public void signalResponseReady()
Specified by:
signalResponseReady in interface org.apache.axis2.transport.RequestResponseTransport

signalFaultReady

public void signalFaultReady(org.apache.axis2.AxisFault axisFault)
Specified by:
signalFaultReady in interface org.apache.axis2.transport.RequestResponseTransport

getStatus

public org.apache.axis2.transport.RequestResponseTransport.RequestResponseTransportStatus getStatus()
Specified by:
getStatus in interface org.apache.axis2.transport.RequestResponseTransport

isResponseWritten

public boolean isResponseWritten()
Specified by:
isResponseWritten in interface org.apache.axis2.transport.RequestResponseTransport

setResponseWritten

public void setResponseWritten(boolean b)
Specified by:
setResponseWritten in interface org.apache.axis2.transport.RequestResponseTransport


Copyright © 2004-2009 The Apache Software Foundation. All Rights Reserved.