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