public interface ClientStream extends Stream
Stream to support client-side termination semantics.| Modifier and Type | Method and Description |
|---|---|
void |
cancel()
Abnormally terminates the stream.
|
void |
halfClose()
Closes the local side of this stream and flushes any remaining messages.
|
flush, isReady, request, writeMessagevoid cancel()
ClientStreamListener.closed(io.grpc.Status, io.grpc.Metadata.Trailers) is called. This method is safe to be called
at any time and multiple times.void halfClose()