Uses of Interface
io.grpc.Context.CancellationListener
Packages that use Context.CancellationListener
Package
Description
The gRPC core public API.
Interfaces and implementations that are internal to gRPC.
-
Uses of Context.CancellationListener in io.grpc
Fields in io.grpc declared as Context.CancellationListenerModifier and TypeFieldDescription(package private) final Context.CancellationListener
Context.ExecutableListener.listener
private Context.CancellationListener
Context.CancellableContext.parentListener
Methods in io.grpc with parameters of type Context.CancellationListenerModifier and TypeMethodDescriptionvoid
Context.addListener
(Context.CancellationListener cancellationListener, Executor executor) Add a listener that will be notified when the context becomes cancelled.void
Context.CancellableContext.addListener
(Context.CancellationListener cancellationListener, Executor executor) void
Context.CancellableContext.removeListener
(Context.CancellationListener cancellationListener) void
Context.removeListener
(Context.CancellationListener cancellationListener) Remove aContext.CancellationListener
.private void
Context.CancellableContext.removeListenerInternal
(Context.CancellationListener cancellationListener, Context context) Constructors in io.grpc with parameters of type Context.CancellationListenerModifierConstructorDescription(package private)
ExecutableListener
(Executor executor, Context.CancellationListener listener, Context context) -
Uses of Context.CancellationListener in io.grpc.internal
Classes in io.grpc.internal that implement Context.CancellationListener