public interface IAsyncResult<T>
| Modifier and Type | Method and Description |
|---|---|
T |
get()
Wait for result to be available and return them.
|
T |
get(long pTimeout,
TimeUnit pTimeUnit)
Wait for result to be available up until timeout specified.
|
void |
setCallback(Callback<T> pCallback)
Set "method" to be called when result is available.
|
void setCallback(Callback<T> pCallback) throws Exception
pCallback - CallbackException - ExceptionT get() throws Exception
Exception - Exceptionlpezet