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