Package org.apache.axis.client.async
Class AsyncResult
- java.lang.Object
-
- org.apache.axis.client.async.AsyncResult
-
- All Implemented Interfaces:
java.lang.Runnable
,IAsyncResult
public class AsyncResult extends java.lang.Object implements IAsyncResult, java.lang.Runnable
Access the results of the Async call- Author:
- Davanum Srinivas (dims@yahoo.com)
-
-
Constructor Summary
Constructors Constructor Description AsyncResult(AsyncCall ac, QName opName, java.lang.Object[] params)
Constructor AsyncResult
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
abort()
Method abortjava.lang.Throwable
getException()
Method getExceptionjava.lang.Object
getResponse()
Method getResponseStatus
getStatus()
Method getStatusvoid
run()
Method runvoid
waitFor(long timeout)
Method waitFor
-
-
-
Method Detail
-
abort
public void abort()
Method abort- Specified by:
abort
in interfaceIAsyncResult
-
getStatus
public Status getStatus()
Method getStatus- Specified by:
getStatus
in interfaceIAsyncResult
- Returns:
-
waitFor
public void waitFor(long timeout) throws java.lang.InterruptedException
Method waitFor- Specified by:
waitFor
in interfaceIAsyncResult
- Parameters:
timeout
-- Throws:
java.lang.InterruptedException
-
getResponse
public java.lang.Object getResponse()
Method getResponse- Specified by:
getResponse
in interfaceIAsyncResult
- Returns:
-
getException
public java.lang.Throwable getException()
Method getException- Specified by:
getException
in interfaceIAsyncResult
- Returns:
-
run
public void run()
Method run- Specified by:
run
in interfacejava.lang.Runnable
-
-