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

Method send

binder/src/main/java/io/grpc/binder/internal/Outbound.java:207–218  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

205 }
206
207 @GuardedBy("this")
208 final void send() throws StatusException {
209 while (canSend()) {
210 try {
211 sendInternal();
212 } catch (StatusException se) {
213 // Ensure we don't send anything else and rethrow.
214 onOutboundState(State.CLOSED);
215 throw se;
216 }
217 }
218 }
219
220 @GuardedBy("this")
221 @SuppressWarnings("fallthrough")

Callers 9

onTransportReadyMethod · 0.95
sendHalfCloseMethod · 0.45
sendHeadersMethod · 0.45
sendCloseMethod · 0.45
writeMessageMethod · 0.45
startMethod · 0.45
writeMessageMethod · 0.45

Calls 3

canSendMethod · 0.95
sendInternalMethod · 0.95
onOutboundStateMethod · 0.95

Tested by

no test coverage detected