org.apache.axis.client.async

Class AsyncResult

public class AsyncResult extends 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
voidabort()
Method abort
ThrowablegetException()
Method getException
ObjectgetResponse()
Method getResponse
StatusgetStatus()
Method getStatus
voidrun()
Method run
voidwaitFor(long timeout)
Method waitFor

Constructor Detail

AsyncResult

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

Parameters: ac opName params

Method Detail

abort

public void abort()
Method abort

getException

public Throwable getException()
Method getException

Returns:

getResponse

public Object getResponse()
Method getResponse

Returns:

getStatus

public Status getStatus()
Method getStatus

Returns:

run

public void run()
Method run

waitFor

public void waitFor(long timeout)
Method waitFor

Parameters: timeout

Throws: InterruptedException

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