org.apache.axis2.client.async
Class AsyncResult

java.lang.Object
  extended by org.apache.axis2.client.async.AsyncResult

Deprecated. please see org.apache.axis2.client.async.AxisCallback.

public class AsyncResult
extends java.lang.Object

This class holds the results of an asynchronous invocation. The Axis2 engine returns an instance of this class via the Callback.onComplete(AsyncResult) method when the operation completes successfully.


Constructor Summary
AsyncResult(MessageContext result)
          Deprecated. Constructor.
 
Method Summary
 org.apache.axiom.soap.SOAPEnvelope getResponseEnvelope()
          Deprecated. Get the SOAP Envelope for the response message.
 MessageContext getResponseMessageContext()
          Deprecated. Get the complete message context for the response.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AsyncResult

public AsyncResult(MessageContext result)
Deprecated. 
Constructor.

Parameters:
result - message context providing result information (null if no response)
Method Detail

getResponseEnvelope

public org.apache.axiom.soap.SOAPEnvelope getResponseEnvelope()
Deprecated. 
Get the SOAP Envelope for the response message.

Returns:
Envelope (null if none)

getResponseMessageContext

public MessageContext getResponseMessageContext()
Deprecated. 
Get the complete message context for the response.

Returns:
context (null if none)


Copyright © 2007 Apache Web Services Project. All Rights Reserved.