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

Class IBinderReceiver

binder/src/main/java/io/grpc/binder/IBinderReceiver.java:23–38  ·  view source on GitHub ↗

A container for at most one instance of IBinder, useful as an "out parameter".

Source from the content-addressed store, hash-verified

21
22/** A container for at most one instance of {@link IBinder}, useful as an "out parameter". */
23public final class IBinderReceiver {
24 @Nullable private volatile IBinder value;
25
26 /** Constructs a new, initially empty, container. */
27 public IBinderReceiver() {}
28
29 /** Returns the contents of this container or null if it is empty. */
30 @Nullable
31 public IBinder get() {
32 return value;
33 }
34
35 protected void set(IBinder value) {
36 this.value = value;
37 }
38}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected