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 voidabort()Method abortjava.lang.ThrowablegetException()Method getExceptionjava.lang.ObjectgetResponse()Method getResponseStatusgetStatus()Method getStatusvoidrun()Method runvoidwaitFor(long timeout)Method waitFor
-
-
-
Method Detail
-
abort
public void abort()
Method abort- Specified by:
abortin interfaceIAsyncResult
-
getStatus
public Status getStatus()
Method getStatus- Specified by:
getStatusin interfaceIAsyncResult- Returns:
-
waitFor
public void waitFor(long timeout) throws java.lang.InterruptedExceptionMethod waitFor- Specified by:
waitForin interfaceIAsyncResult- Parameters:
timeout-- Throws:
java.lang.InterruptedException
-
getResponse
public java.lang.Object getResponse()
Method getResponse- Specified by:
getResponsein interfaceIAsyncResult- Returns:
-
getException
public java.lang.Throwable getException()
Method getException- Specified by:
getExceptionin interfaceIAsyncResult- Returns:
-
run
public void run()
Method run- Specified by:
runin interfacejava.lang.Runnable
-
-