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

Method resolve

binder/src/main/java/io/grpc/binder/internal/Bindable.java:63–63  ·  view source on GitHub ↗

Fetches details about the remote Service from PackageManager without binding to it. Resolving an untrusted address before binding to it lets you screen out problematic servers before giving them a chance to run. However, note that the identity/existence of the resolved Service can change between

()

Source from the content-addressed store, hash-verified

61 * to.
62 */
63 @AnyThread
64 ServiceInfo resolve() throws StatusException;
65
66 /**

Callers 3

testResolveMethod · 0.65
postStartRunnableMethod · 0.65

Implementers 1

ServiceBindingbinder/src/main/java/io/grpc/binder/in

Calls

no outgoing calls

Tested by 2

testResolveMethod · 0.52