@ApiAudience.Public @ApiStability.Unstable public interface StreamObserver<T>
Modifier and Type | Method and Description |
---|---|
void |
onCompleted()
Callback on finished.
|
void |
onError(java.lang.Throwable t)
Callback on next error have received.
|
void |
onNext(T value)
Callback on next value have received.
|
void onNext(T value)
value
- a next valuevoid onError(java.lang.Throwable t)
t
- an errorvoid onCompleted()