public interface ResultCallback<A_RES_T> extends Closeable
Modifier and Type | Interface and Description |
---|---|
static class |
ResultCallback.Adapter<A_RES_T> |
Modifier and Type | Method and Description |
---|---|
void |
onComplete()
Called when processing was finished either by reaching the end or by aborting it
|
void |
onError(Throwable throwable)
Called when an exception occurs while processing
|
void |
onNext(A_RES_T object)
Called when an async result event occurs
|
void |
onStart(Closeable closeable)
Called when the async processing starts respectively when the response arrives from the server.
|
void onStart(Closeable closeable)
Closeable
can be
used to close/interrupt the processing.void onNext(A_RES_T object)
void onError(Throwable throwable)
void onComplete()
Copyright © 2021. All rights reserved.