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

Method close

android/src/main/java/io/grpc/android/UdsSocket.java:66–79  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

64 }
65
66 @Override
67 public synchronized void close() throws IOException {
68 if (closed) {
69 return;
70 }
71 if (!inputShutdown) {
72 shutdownInput();
73 }
74 if (!outputShutdown) {
75 shutdownOutput();
76 }
77 localSocket.close();
78 closed = true;
79 }
80
81 @Override
82 public void connect(SocketAddress endpoint) throws IOException {

Callers

nothing calls this directly

Calls 3

shutdownInputMethod · 0.95
shutdownOutputMethod · 0.95
closeMethod · 0.65

Tested by

no test coverage detected