Uses of Class
io.grpc.Channel
-
Packages that use Channel Package Description io.grpc The gRPC core public API.io.grpc.channelz.v1 io.grpc.health.v1 io.grpc.internal Interfaces and implementations that are internal to gRPC.io.grpc.lb.v1 io.grpc.lookup.v1 io.grpc.protobuf.services Service definitions and utilities with protobuf dependency for the pre-defined gRPC services.io.grpc.reflection.v1 io.grpc.reflection.v1alpha io.grpc.stub API for the Stub layer.io.grpc.util Utilities with advanced features in the core layer that user can optionally use. -
-
Uses of Channel in io.grpc
Subclasses of Channel in io.grpc Modifier and Type Class Description private static class
ClientInterceptors.InterceptorChannel
class
ManagedChannel
AChannel
that provides lifecycle management.Fields in io.grpc declared as Channel Modifier and Type Field Description private Channel
ClientInterceptors.InterceptorChannel. channel
Methods in io.grpc that return Channel Modifier and Type Method Description Channel
LoadBalancer.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, java.util.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, java.util.List<? extends ClientInterceptor> interceptors)
Create a newChannel
that will callinterceptors
before starting a call on the given channel.abstract Channel
BinaryLog. wrapChannel(Channel channel)
Methods in io.grpc with parameters of type Channel Modifier and Type Method Description 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, java.util.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, java.util.List<? extends ClientInterceptor> interceptors)
Create a newChannel
that will callinterceptors
before starting a call on the given channel.abstract Channel
BinaryLog. wrapChannel(Channel channel)
Constructors in io.grpc with parameters of type Channel Constructor Description InterceptorChannel(Channel channel, ClientInterceptor interceptor)
-
Uses of Channel in io.grpc.channelz.v1
Methods in io.grpc.channelz.v1 with parameters of type Channel Modifier and Type Method Description protected 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)
static ChannelzGrpc.ChannelzBlockingStub
ChannelzGrpc. newBlockingStub(Channel channel)
Creates a new blocking-style stub that supports unary and streaming output calls on the servicestatic ChannelzGrpc.ChannelzFutureStub
ChannelzGrpc. newFutureStub(Channel channel)
Creates a new ListenableFuture-style stub that supports unary calls on the servicestatic ChannelzGrpc.ChannelzStub
ChannelzGrpc. newStub(Channel channel)
Creates a new async stub that supports all call types for the serviceConstructors in io.grpc.channelz.v1 with parameters of type Channel Constructor Description ChannelzBlockingStub(Channel channel, CallOptions callOptions)
ChannelzFutureStub(Channel channel, CallOptions callOptions)
ChannelzStub(Channel channel, CallOptions callOptions)
-
Uses of Channel in io.grpc.health.v1
Methods in io.grpc.health.v1 with parameters of type Channel Modifier and Type Method Description protected 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)
static HealthGrpc.HealthBlockingStub
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
HealthGrpc. newStub(Channel channel)
Creates a new async stub that supports all call types for the serviceConstructors in io.grpc.health.v1 with parameters of type Channel Constructor Description HealthBlockingStub(Channel channel, CallOptions callOptions)
HealthFutureStub(Channel channel, CallOptions callOptions)
HealthStub(Channel channel, CallOptions callOptions)
-
Uses of Channel in io.grpc.internal
Subclasses of Channel in io.grpc.internal Modifier and Type Class Description (package private) class
ForwardingManagedChannel
(package private) class
ManagedChannelImpl
A communication channel for making outgoing RPCs.private class
ManagedChannelImpl.RealChannel
(package private) class
ManagedChannelOrphanWrapper
Best effort detecting channels that has not been properly cleaned up.(package private) class
OobChannel
A ManagedChannel backed by a singleInternalSubchannel
and used forLoadBalancer
to its own RPC needs.(package private) class
SubchannelChannel
Fields in io.grpc.internal declared as Channel Modifier and Type Field Description private Channel
ManagedChannelImpl.ConfigSelectingClientCall. channel
private Channel
ManagedChannelImpl.RealChannel. clientCallImplChannel
private Channel
ManagedChannelImpl. interceptorChannel
We delegate to this channel, so that we can have interceptors as necessary.Methods in io.grpc.internal that return Channel Modifier and Type Method Description Channel
ManagedChannelImpl.SubchannelImpl. asChannel()
Methods in io.grpc.internal with parameters of type Channel Modifier and Type Method Description <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 Channel Constructor Description ConfigSelectingClientCall(InternalConfigSelector configSelector, Channel channel, java.util.concurrent.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 Channel Modifier and Type Method Description protected LoadBalancerGrpc.LoadBalancerBlockingStub
LoadBalancerGrpc.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)
static LoadBalancerGrpc.LoadBalancerBlockingStub
LoadBalancerGrpc. newBlockingStub(Channel channel)
Creates a new blocking-style stub that supports unary and streaming output calls on the servicestatic LoadBalancerGrpc.LoadBalancerFutureStub
LoadBalancerGrpc. newFutureStub(Channel channel)
Creates a new ListenableFuture-style stub that supports unary calls on the servicestatic LoadBalancerGrpc.LoadBalancerStub
LoadBalancerGrpc. newStub(Channel channel)
Creates a new async stub that supports all call types for the serviceConstructors in io.grpc.lb.v1 with parameters of type Channel Constructor Description LoadBalancerBlockingStub(Channel channel, CallOptions callOptions)
LoadBalancerFutureStub(Channel channel, CallOptions callOptions)
LoadBalancerStub(Channel channel, CallOptions callOptions)
-
Uses of Channel in io.grpc.lookup.v1
Methods in io.grpc.lookup.v1 with parameters of type Channel Modifier and Type Method Description protected RouteLookupServiceGrpc.RouteLookupServiceBlockingStub
RouteLookupServiceGrpc.RouteLookupServiceBlockingStub. build(Channel channel, CallOptions callOptions)
protected RouteLookupServiceGrpc.RouteLookupServiceFutureStub
RouteLookupServiceGrpc.RouteLookupServiceFutureStub. build(Channel channel, CallOptions callOptions)
protected RouteLookupServiceGrpc.RouteLookupServiceStub
RouteLookupServiceGrpc.RouteLookupServiceStub. build(Channel channel, CallOptions callOptions)
static RouteLookupServiceGrpc.RouteLookupServiceBlockingStub
RouteLookupServiceGrpc. newBlockingStub(Channel channel)
Creates a new blocking-style stub that supports unary and streaming output calls on the servicestatic RouteLookupServiceGrpc.RouteLookupServiceFutureStub
RouteLookupServiceGrpc. newFutureStub(Channel channel)
Creates a new ListenableFuture-style stub that supports unary calls on the servicestatic RouteLookupServiceGrpc.RouteLookupServiceStub
RouteLookupServiceGrpc. newStub(Channel channel)
Creates a new async stub that supports all call types for the serviceConstructors in io.grpc.lookup.v1 with parameters of type Channel Constructor Description RouteLookupServiceBlockingStub(Channel channel, CallOptions callOptions)
RouteLookupServiceFutureStub(Channel channel, CallOptions callOptions)
RouteLookupServiceStub(Channel channel, CallOptions callOptions)
-
Uses of Channel in io.grpc.protobuf.services
Methods in io.grpc.protobuf.services that return Channel Modifier and Type Method Description 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 Channel Modifier and Type Method Description <ReqT,RespT>
ClientCall<ReqT,RespT>BinaryLogProvider.BinaryLogShim. interceptCall(MethodDescriptor<ReqT,RespT> method, CallOptions callOptions, Channel next)
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 Channel Modifier and Type Method Description protected ServerReflectionGrpc.ServerReflectionBlockingStub
ServerReflectionGrpc.ServerReflectionBlockingStub. build(Channel channel, CallOptions callOptions)
protected ServerReflectionGrpc.ServerReflectionFutureStub
ServerReflectionGrpc.ServerReflectionFutureStub. build(Channel channel, CallOptions callOptions)
protected ServerReflectionGrpc.ServerReflectionStub
ServerReflectionGrpc.ServerReflectionStub. build(Channel channel, CallOptions callOptions)
static ServerReflectionGrpc.ServerReflectionBlockingStub
ServerReflectionGrpc. newBlockingStub(Channel channel)
Creates a new blocking-style stub that supports unary and streaming output calls on the servicestatic ServerReflectionGrpc.ServerReflectionFutureStub
ServerReflectionGrpc. newFutureStub(Channel channel)
Creates a new ListenableFuture-style stub that supports unary calls on the servicestatic ServerReflectionGrpc.ServerReflectionStub
ServerReflectionGrpc. newStub(Channel channel)
Creates a new async stub that supports all call types for the serviceConstructors in io.grpc.reflection.v1 with parameters of type Channel Constructor Description ServerReflectionBlockingStub(Channel channel, CallOptions callOptions)
ServerReflectionFutureStub(Channel channel, CallOptions callOptions)
ServerReflectionStub(Channel channel, CallOptions callOptions)
-
Uses of Channel in io.grpc.reflection.v1alpha
Methods in io.grpc.reflection.v1alpha with parameters of type Channel Modifier and Type Method Description protected ServerReflectionGrpc.ServerReflectionBlockingStub
ServerReflectionGrpc.ServerReflectionBlockingStub. build(Channel channel, CallOptions callOptions)
protected ServerReflectionGrpc.ServerReflectionFutureStub
ServerReflectionGrpc.ServerReflectionFutureStub. build(Channel channel, CallOptions callOptions)
protected ServerReflectionGrpc.ServerReflectionStub
ServerReflectionGrpc.ServerReflectionStub. build(Channel channel, CallOptions callOptions)
static ServerReflectionGrpc.ServerReflectionBlockingStub
ServerReflectionGrpc. newBlockingStub(Channel channel)
Creates a new blocking-style stub that supports unary and streaming output calls on the servicestatic ServerReflectionGrpc.ServerReflectionFutureStub
ServerReflectionGrpc. newFutureStub(Channel channel)
Creates a new ListenableFuture-style stub that supports unary calls on the servicestatic ServerReflectionGrpc.ServerReflectionStub
ServerReflectionGrpc. newStub(Channel channel)
Creates a new async stub that supports all call types for the serviceConstructors in io.grpc.reflection.v1alpha with parameters of type Channel Constructor Description ServerReflectionBlockingStub(Channel channel, CallOptions callOptions)
ServerReflectionFutureStub(Channel channel, CallOptions callOptions)
ServerReflectionStub(Channel channel, CallOptions callOptions)
-
Uses of Channel in io.grpc.stub
Fields in io.grpc.stub declared as Channel Modifier and Type Field Description private Channel
AbstractStub. channel
Methods in io.grpc.stub that return Channel Modifier and Type Method Description Channel
AbstractStub. getChannel()
The underlying channel of the stub.Methods in io.grpc.stub with parameters of type Channel Modifier and Type Method Description static <ReqT,RespT>
java.util.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.T
AbstractStub.StubFactory. newStub(Channel channel, CallOptions callOptions)
S
AbstractStub. withChannel(Channel newChannel)
Deprecated.Constructors in io.grpc.stub with parameters of type Channel Constructor Description AbstractAsyncStub(Channel channel, CallOptions callOptions)
AbstractBlockingStub(Channel channel, CallOptions callOptions)
AbstractFutureStub(Channel channel, CallOptions callOptions)
AbstractStub(Channel channel)
Constructor for use by subclasses, with the defaultCallOptions
.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 Modifier and Type Method Description Channel
ForwardingSubchannel. asChannel()
-