public interface ResultCallback<A_RES_T> extends 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(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.
|
void onStart(Closeable closeable)
Closeable
can be used to close/interrupt the
processingvoid onNext(A_RES_T object)
void onError(Throwable throwable)
void onComplete()
Copyright © 2015. All Rights Reserved.