Methods Summary |
---|
public void | abort()Method abort
thread.interrupt();
status = Status.INTERRUPTED;
|
public java.lang.Throwable | getException()Method getException
return exception;
|
public java.lang.Object | getResponse()Method getResponse
return response;
|
public Status | getStatus()Method getStatus
return status;
|
public void | run()Method run
try {
response = ac.getCall().invoke(opName, params);
status = Status.COMPLETED;
} catch (Throwable e) {
exception = e;
status = Status.EXCEPTION;
} finally {
IAsyncCallback callback = ac.getCallback();
if (callback != null) {
callback.onCompletion(this);
}
}
|
public void | waitFor(long timeout)Method waitFor
thread.wait(timeout);
|