org.apache.axis.client.async

Class AsyncResult

Implemented Interfaces:
IAsyncResult, Runnable

public class AsyncResult
extends java.lang.Object
implements IAsyncResult, Runnable

Access the results of the Async call

Author:
Davanum Srinivas (dims@yahoo.com)

Constructor Summary

AsyncResult(AsyncCall ac, QName opName, Object[] params)
Constructor AsyncResult

Method Summary

void
abort()
Method abort
Throwable
getException()
Method getException
Object
getResponse()
Method getResponse
Status
getStatus()
Method getStatus
void
run()
Method run
void
waitFor(long timeout)
Method waitFor

Constructor Details

AsyncResult

public AsyncResult(AsyncCall ac,
                   QName opName,
                   Object[] params)
Constructor AsyncResult

Parameters:
ac -
opName -
params -

Method Details

abort

public void abort()
Method abort
Specified by:
abort in interface IAsyncResult


getException

public Throwable getException()
Method getException
Specified by:
getException in interface IAsyncResult

Returns:


getResponse

public Object getResponse()
Method getResponse
Specified by:
getResponse in interface IAsyncResult

Returns:


getStatus

public Status getStatus()
Method getStatus
Specified by:
getStatus in interface IAsyncResult

Returns:


run

public void run()
Method run


waitFor

public void waitFor(long timeout)
            throws InterruptedException
Method waitFor
Specified by:
waitFor in interface IAsyncResult

Parameters:
timeout -


Copyright B) 2005 Apache Web Services Project. All Rights Reserved.