T - Type of the values in the stream.public static interface FlightProducer.StreamListener<T>
| Modifier and Type | Method and Description |
|---|---|
void |
onCompleted()
Indicate that the transmission is finished.
|
void |
onError(Throwable t)
Indicate an error to the client.
|
void |
onNext(T val)
Send the next value to the client.
|
void onNext(T val)
void onError(Throwable t)
Terminates the stream; do not call onCompleted().
void onCompleted()
Copyright © 2021 The Apache Software Foundation. All rights reserved.