public class AsyncResult extends Object implements IAsyncResult, Runnable
Constructor and Description |
---|
AsyncResult(AsyncCall ac,
QName opName,
Object[] params)
Constructor AsyncResult
|
Modifier and Type | Method and Description |
---|---|
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
|
public void abort()
abort
in interface IAsyncResult
public Status getStatus()
getStatus
in interface IAsyncResult
public void waitFor(long timeout) throws InterruptedException
waitFor
in interface IAsyncResult
timeout
- InterruptedException
public Object getResponse()
getResponse
in interface IAsyncResult
public Throwable getException()
getException
in interface IAsyncResult
Copyright © The Apache Software Foundation. All Rights Reserved.