MCPcopy Create free account
hub / github.com/grpc/grpc-java / close

Method close

core/src/main/java/io/grpc/internal/ServerStream.java:53–53  ·  view source on GitHub ↗

Closes the stream for both reading and writing. A status code of io.grpc.Status.Code#OK implies normal termination of the stream. Any other value implies abnormal termination. Attempts to read from or write to the stream after closing should be ignored by implementations, and should not

(Status status, Metadata trailers)

Source from the content-addressed store, hash-verified

51 * @param trailers an additional block of metadata to pass to the client on stream closure.
52 */
53 void close(Status status, Metadata trailers);
54
55
56 /**

Implementers 4

InProcessServerStreaminprocess/src/main/java/io/grpc/inproc
SingleMessageServerStreambinder/src/main/java/io/grpc/binder/in
MultiMessageServerStreambinder/src/main/java/io/grpc/binder/in
AbstractServerStreamcore/src/main/java/io/grpc/internal/Ab

Calls

no outgoing calls