public static class InvocationBuilder.AsyncResultCallback<A_RES_T> extends ResultCallbackTemplate<InvocationBuilder.AsyncResultCallback<A_RES_T>,A_RES_T>
ResultCallback with the single result event expected.ResultCallback.Adapter<A_RES_T>| Constructor and Description |
|---|
AsyncResultCallback() |
| Modifier and Type | Method and Description |
|---|---|
A_RES_T |
awaitResult()
Blocks until
ResultCallback.onNext(Object) was called for the first time |
void |
close() |
void |
onNext(A_RES_T object) |
awaitCompletion, awaitCompletion, awaitStarted, awaitStarted, onComplete, onError, onStart, throwFirstErrorpublic void onNext(A_RES_T object)
public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class ResultCallbackTemplate<InvocationBuilder.AsyncResultCallback<A_RES_T>,A_RES_T>IOExceptionpublic A_RES_T awaitResult()
ResultCallback.onNext(Object) was called for the first timeCopyright © 2025. All rights reserved.