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

Method cancel

api/src/main/java/io/grpc/ClientCall.java:229–229  ·  view source on GitHub ↗

Prevent any further processing for this ClientCall. No further messages may be sent or will be received. The server is informed of cancellations, but may not stop processing the call. Cancellation is permitted even if previously #halfClosed. Cancelling an already cancel()ed {

(@Nullable String message, @Nullable Throwable cause)

Source from the content-addressed store, hash-verified

227 * @param cause if not {@code null}, will appear as the cause of the CANCELLED status
228 */
229 public abstract void cancel(@Nullable String message, @Nullable Throwable cause);
230
231 /**
232 * Close the call for request message sending. Incoming response messages are unaffected. This

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected