Uses of Class
io.grpc.Channel
Packages that use Channel
Package
Description
The gRPC core public API.
Interfaces and implementations that are internal to gRPC.
Service definitions and utilities with protobuf dependency for the pre-defined gRPC services.
API for the Stub layer.
Utilities with advanced features in the core layer that user can optionally use.
-
Uses of Channel in io.grpc
Modifier and TypeClassDescriptionprivate static class
class
AChannel
that provides lifecycle management.Modifier and TypeFieldDescriptionprivate final Channel
ClientInterceptors.InterceptorChannel.channel
Modifier and TypeMethodDescriptionLoadBalancer.Subchannel.asChannel()
(Internal use only) returns aChannel
that is backed by this Subchannel.static Channel
ClientInterceptors.intercept
(Channel channel, ClientInterceptor... interceptors) Create a newChannel
that will callinterceptors
before starting a call on the given channel.static Channel
ClientInterceptors.intercept
(Channel channel, List<? extends ClientInterceptor> interceptors) Create a newChannel
that will callinterceptors
before starting a call on the given channel.static Channel
ClientInterceptors.interceptForward
(Channel channel, ClientInterceptor... interceptors) Create a newChannel
that will callinterceptors
before starting a call on the given channel.static Channel
ClientInterceptors.interceptForward
(Channel channel, List<? extends ClientInterceptor> interceptors) Create a newChannel
that will callinterceptors
before starting a call on the given channel.abstract Channel
BinaryLog.wrapChannel
(Channel channel) Modifier and TypeMethodDescriptionstatic Channel
ClientInterceptors.intercept
(Channel channel, ClientInterceptor... interceptors) Create a newChannel
that will callinterceptors
before starting a call on the given channel.static Channel
ClientInterceptors.intercept
(Channel channel, List<? extends ClientInterceptor> interceptors) Create a newChannel
that will callinterceptors
before starting a call on the given channel.<ReqT,
RespT>
ClientCall<ReqT, RespT> ClientInterceptor.interceptCall
(MethodDescriptor<ReqT, RespT> method, CallOptions callOptions, Channel next) static Channel
ClientInterceptors.interceptForward
(Channel channel, ClientInterceptor... interceptors) Create a newChannel
that will callinterceptors
before starting a call on the given channel.static Channel
ClientInterceptors.interceptForward
(Channel channel, List<? extends ClientInterceptor> interceptors) Create a newChannel
that will callinterceptors
before starting a call on the given channel.abstract Channel
BinaryLog.wrapChannel
(Channel channel) ModifierConstructorDescriptionprivate
InterceptorChannel
(Channel channel, ClientInterceptor interceptor) -
Uses of Channel in io.grpc.channelz.v1
Methods in io.grpc.channelz.v1 with parameters of type ChannelModifier and TypeMethodDescriptionprotected ChannelzGrpc.ChannelzBlockingStub
ChannelzGrpc.ChannelzBlockingStub.build
(Channel channel, CallOptions callOptions) protected ChannelzGrpc.ChannelzFutureStub
ChannelzGrpc.ChannelzFutureStub.build
(Channel channel, CallOptions callOptions) protected ChannelzGrpc.ChannelzStub
ChannelzGrpc.ChannelzStub.build
(Channel channel, CallOptions callOptions) ChannelzGrpc.newBlockingStub
(Channel channel) Creates a new blocking-style stub that supports unary and streaming output calls on the serviceChannelzGrpc.newFutureStub
(Channel channel) Creates a new ListenableFuture-style stub that supports unary calls on the servicestatic ChannelzGrpc.ChannelzStub
Creates a new async stub that supports all call types for the serviceConstructors in io.grpc.channelz.v1 with parameters of type ChannelModifierConstructorDescriptionprivate
ChannelzBlockingStub
(Channel channel, CallOptions callOptions) private
ChannelzFutureStub
(Channel channel, CallOptions callOptions) private
ChannelzStub
(Channel channel, CallOptions callOptions) -
Uses of Channel in io.grpc.health.v1
Methods in io.grpc.health.v1 with parameters of type ChannelModifier and TypeMethodDescriptionprotected HealthGrpc.HealthBlockingStub
HealthGrpc.HealthBlockingStub.build
(Channel channel, CallOptions callOptions) protected HealthGrpc.HealthFutureStub
HealthGrpc.HealthFutureStub.build
(Channel channel, CallOptions callOptions) protected HealthGrpc.HealthStub
HealthGrpc.HealthStub.build
(Channel channel, CallOptions callOptions) HealthGrpc.newBlockingStub
(Channel channel) Creates a new blocking-style stub that supports unary and streaming output calls on the servicestatic HealthGrpc.HealthFutureStub
HealthGrpc.newFutureStub
(Channel channel) Creates a new ListenableFuture-style stub that supports unary calls on the servicestatic HealthGrpc.HealthStub
Creates a new async stub that supports all call types for the serviceConstructors in io.grpc.health.v1 with parameters of type ChannelModifierConstructorDescriptionprivate
HealthBlockingStub
(Channel channel, CallOptions callOptions) private
HealthFutureStub
(Channel channel, CallOptions callOptions) private
HealthStub
(Channel channel, CallOptions callOptions) -
Uses of Channel in io.grpc.internal
Subclasses of Channel in io.grpc.internalModifier and TypeClassDescription(package private) class
(package private) final class
A communication channel for making outgoing RPCs.private class
(package private) final class
Best effort detecting channels that has not been properly cleaned up.(package private) final class
A ManagedChannel backed by a singleInternalSubchannel
and used forLoadBalancer
to its own RPC needs.(package private) final class
Fields in io.grpc.internal declared as ChannelModifier and TypeFieldDescriptionprivate final Channel
ManagedChannelImpl.ConfigSelectingClientCall.channel
private final Channel
ManagedChannelImpl.RealChannel.clientCallImplChannel
private final Channel
ManagedChannelImpl.interceptorChannel
We delegate to this channel, so that we can have interceptors as necessary.Methods in io.grpc.internal that return ChannelMethods in io.grpc.internal with parameters of type ChannelModifier and TypeMethodDescription<ReqT,
RespT>
ClientCall<ReqT, RespT> ManagedChannelImplBuilder.InterceptorFactoryWrapper.interceptCall
(MethodDescriptor<ReqT, RespT> method, CallOptions callOptions, Channel next) Constructors in io.grpc.internal with parameters of type ChannelModifierConstructorDescription(package private)
ConfigSelectingClientCall
(InternalConfigSelector configSelector, Channel channel, Executor channelExecutor, MethodDescriptor<ReqT, RespT> method, CallOptions callOptions) -
Uses of Channel in io.grpc.lb.v1
Methods in io.grpc.lb.v1 with parameters of type ChannelModifier and TypeMethodDescriptionLoadBalancerGrpc.LoadBalancerBlockingStub.build
(Channel channel, CallOptions callOptions) protected LoadBalancerGrpc.LoadBalancerFutureStub
LoadBalancerGrpc.LoadBalancerFutureStub.build
(Channel channel, CallOptions callOptions) protected LoadBalancerGrpc.LoadBalancerStub
LoadBalancerGrpc.LoadBalancerStub.build
(Channel channel, CallOptions callOptions) LoadBalancerGrpc.newBlockingStub
(Channel channel) Creates a new blocking-style stub that supports unary and streaming output calls on the serviceLoadBalancerGrpc.newFutureStub
(Channel channel) Creates a new ListenableFuture-style stub that supports unary calls on the serviceCreates a new async stub that supports all call types for the serviceConstructors in io.grpc.lb.v1 with parameters of type ChannelModifierConstructorDescriptionprivate
LoadBalancerBlockingStub
(Channel channel, CallOptions callOptions) private
LoadBalancerFutureStub
(Channel channel, CallOptions callOptions) private
LoadBalancerStub
(Channel channel, CallOptions callOptions) -
Uses of Channel in io.grpc.lookup.v1
Methods in io.grpc.lookup.v1 with parameters of type ChannelModifier and TypeMethodDescriptionRouteLookupServiceGrpc.RouteLookupServiceBlockingStub.build
(Channel channel, CallOptions callOptions) RouteLookupServiceGrpc.RouteLookupServiceFutureStub.build
(Channel channel, CallOptions callOptions) RouteLookupServiceGrpc.RouteLookupServiceStub.build
(Channel channel, CallOptions callOptions) RouteLookupServiceGrpc.newBlockingStub
(Channel channel) Creates a new blocking-style stub that supports unary and streaming output calls on the serviceRouteLookupServiceGrpc.newFutureStub
(Channel channel) Creates a new ListenableFuture-style stub that supports unary calls on the serviceCreates a new async stub that supports all call types for the serviceConstructors in io.grpc.lookup.v1 with parameters of type ChannelModifierConstructorDescriptionprivate
RouteLookupServiceBlockingStub
(Channel channel, CallOptions callOptions) private
RouteLookupServiceFutureStub
(Channel channel, CallOptions callOptions) private
RouteLookupServiceStub
(Channel channel, CallOptions callOptions) -
Uses of Channel in io.grpc.protobuf.services
Methods in io.grpc.protobuf.services that return ChannelModifier and TypeMethodDescriptionfinal Channel
BinaryLogProvider.wrapChannel
(Channel channel) Wraps a channel to provide binary logging onClientCall
s as needed.Methods in io.grpc.protobuf.services with parameters of type ChannelModifier and TypeMethodDescription<ReqT,
RespT>
ClientCall<ReqT, RespT> BinaryLogProvider.BinaryLogShim.interceptCall
(MethodDescriptor<ReqT, RespT> method, CallOptions callOptions, Channel next) final Channel
BinaryLogProvider.wrapChannel
(Channel channel) Wraps a channel to provide binary logging onClientCall
s as needed. -
Uses of Channel in io.grpc.reflection.v1
Methods in io.grpc.reflection.v1 with parameters of type ChannelModifier and TypeMethodDescriptionServerReflectionGrpc.ServerReflectionBlockingStub.build
(Channel channel, CallOptions callOptions) ServerReflectionGrpc.ServerReflectionFutureStub.build
(Channel channel, CallOptions callOptions) ServerReflectionGrpc.ServerReflectionStub.build
(Channel channel, CallOptions callOptions) ServerReflectionGrpc.newBlockingStub
(Channel channel) Creates a new blocking-style stub that supports unary and streaming output calls on the serviceServerReflectionGrpc.newFutureStub
(Channel channel) Creates a new ListenableFuture-style stub that supports unary calls on the serviceCreates a new async stub that supports all call types for the serviceConstructors in io.grpc.reflection.v1 with parameters of type ChannelModifierConstructorDescriptionprivate
ServerReflectionBlockingStub
(Channel channel, CallOptions callOptions) private
ServerReflectionFutureStub
(Channel channel, CallOptions callOptions) private
ServerReflectionStub
(Channel channel, CallOptions callOptions) -
Uses of Channel in io.grpc.reflection.v1alpha
Methods in io.grpc.reflection.v1alpha with parameters of type ChannelModifier and TypeMethodDescriptionServerReflectionGrpc.ServerReflectionBlockingStub.build
(Channel channel, CallOptions callOptions) ServerReflectionGrpc.ServerReflectionFutureStub.build
(Channel channel, CallOptions callOptions) ServerReflectionGrpc.ServerReflectionStub.build
(Channel channel, CallOptions callOptions) ServerReflectionGrpc.newBlockingStub
(Channel channel) Creates a new blocking-style stub that supports unary and streaming output calls on the serviceServerReflectionGrpc.newFutureStub
(Channel channel) Creates a new ListenableFuture-style stub that supports unary calls on the serviceCreates a new async stub that supports all call types for the serviceConstructors in io.grpc.reflection.v1alpha with parameters of type ChannelModifierConstructorDescriptionprivate
ServerReflectionBlockingStub
(Channel channel, CallOptions callOptions) private
ServerReflectionFutureStub
(Channel channel, CallOptions callOptions) private
ServerReflectionStub
(Channel channel, CallOptions callOptions) -
Uses of Channel in io.grpc.stub
Fields in io.grpc.stub declared as ChannelMethods in io.grpc.stub that return ChannelModifier and TypeMethodDescriptionfinal Channel
AbstractStub.getChannel()
The underlying channel of the stub.Methods in io.grpc.stub with parameters of type ChannelModifier and TypeMethodDescriptionstatic <ReqT,
RespT>
Iterator<RespT> ClientCalls.blockingServerStreamingCall
(Channel channel, MethodDescriptor<ReqT, RespT> method, CallOptions callOptions, ReqT req) Executes a server-streaming call returning a blockingIterator
over the response stream.static <ReqT,
RespT>
RespTClientCalls.blockingUnaryCall
(Channel channel, MethodDescriptor<ReqT, RespT> method, CallOptions callOptions, ReqT req) Executes a unary call and blocks on the response.protected abstract S
AbstractStub.build
(Channel channel, CallOptions callOptions) Returns a new stub with the given channel for the provided method configurations.<ReqT,
RespT>
ClientCall<ReqT, RespT> MetadataUtils.HeaderAttachingClientInterceptor.interceptCall
(MethodDescriptor<ReqT, RespT> method, CallOptions callOptions, Channel next) <ReqT,
RespT>
ClientCall<ReqT, RespT> MetadataUtils.MetadataCapturingClientInterceptor.interceptCall
(MethodDescriptor<ReqT, RespT> method, CallOptions callOptions, Channel next) static <T extends AbstractStub<T>>
TAbstractAsyncStub.newStub
(AbstractStub.StubFactory<T> factory, Channel channel) Returns a new async stub with the given channel for the provided method configurations.static <T extends AbstractStub<T>>
TAbstractAsyncStub.newStub
(AbstractStub.StubFactory<T> factory, Channel channel, CallOptions callOptions) Returns a new async stub with the given channel for the provided method configurations.static <T extends AbstractStub<T>>
TAbstractBlockingStub.newStub
(AbstractStub.StubFactory<T> factory, Channel channel) Returns a new blocking stub with the given channel for the provided method configurations.static <T extends AbstractStub<T>>
TAbstractBlockingStub.newStub
(AbstractStub.StubFactory<T> factory, Channel channel, CallOptions callOptions) Returns a new blocking stub with the given channel for the provided method configurations.static <T extends AbstractStub<T>>
TAbstractFutureStub.newStub
(AbstractStub.StubFactory<T> factory, Channel channel) Returns a new future stub with the given channel for the provided method configurations.static <T extends AbstractStub<T>>
TAbstractFutureStub.newStub
(AbstractStub.StubFactory<T> factory, Channel channel, CallOptions callOptions) Returns a new future stub with the given channel for the provided method configurations.static <T extends AbstractStub<T>>
TAbstractStub.newStub
(AbstractStub.StubFactory<T> factory, Channel channel) Returns a new stub with the given channel for the provided method configurations.static <T extends AbstractStub<T>>
TAbstractStub.newStub
(AbstractStub.StubFactory<T> factory, Channel channel, CallOptions callOptions) Returns a new stub with the given channel for the provided method configurations.AbstractStub.StubFactory.newStub
(Channel channel, CallOptions callOptions) final S
AbstractStub.withChannel
(Channel newChannel) Deprecated.Constructors in io.grpc.stub with parameters of type ChannelModifierConstructorDescriptionprotected
AbstractAsyncStub
(Channel channel, CallOptions callOptions) protected
AbstractBlockingStub
(Channel channel, CallOptions callOptions) protected
AbstractFutureStub
(Channel channel, CallOptions callOptions) protected
AbstractStub
(Channel channel) Constructor for use by subclasses, with the defaultCallOptions
.protected
AbstractStub
(Channel channel, CallOptions callOptions) Constructor for use by subclasses. -
Uses of Channel in io.grpc.util
Methods in io.grpc.util that return Channel