Uses of Class
io.grpc.Channel
-
Packages that use Channel Package Description io.grpc The gRPC core public API.io.grpc.auth Implementations ofCallCredentialsand authentication related API.io.grpc.channelz.v1 io.grpc.health.v1 io.grpc.lb.v1 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 classManagedChannelAChannelthat provides lifecycle management.Methods in io.grpc that return Channel Modifier and Type Method Description ChannelLoadBalancer.Subchannel. asChannel()(Internal use only) returns aChannelthat is backed by this Subchannel.static ChannelClientInterceptors. intercept(Channel channel, ClientInterceptor... interceptors)Create a newChannelthat will callinterceptorsbefore starting a call on the given channel.static ChannelClientInterceptors. intercept(Channel channel, List<? extends ClientInterceptor> interceptors)Create a newChannelthat will callinterceptorsbefore starting a call on the given channel.static ChannelClientInterceptors. interceptForward(Channel channel, ClientInterceptor... interceptors)Create a newChannelthat will callinterceptorsbefore starting a call on the given channel.static ChannelClientInterceptors. interceptForward(Channel channel, List<? extends ClientInterceptor> interceptors)Create a newChannelthat will callinterceptorsbefore starting a call on the given channel.abstract ChannelBinaryLog. wrapChannel(Channel channel)Methods in io.grpc with parameters of type Channel Modifier and Type Method Description static ChannelClientInterceptors. intercept(Channel channel, ClientInterceptor... interceptors)Create a newChannelthat will callinterceptorsbefore starting a call on the given channel.static ChannelClientInterceptors. intercept(Channel channel, List<? extends ClientInterceptor> interceptors)Create a newChannelthat will callinterceptorsbefore starting a call on the given channel.<ReqT,RespT>
ClientCall<ReqT,RespT>ClientInterceptor. interceptCall(MethodDescriptor<ReqT,RespT> method, CallOptions callOptions, Channel next)static ChannelClientInterceptors. interceptForward(Channel channel, ClientInterceptor... interceptors)Create a newChannelthat will callinterceptorsbefore starting a call on the given channel.static ChannelClientInterceptors. interceptForward(Channel channel, List<? extends ClientInterceptor> interceptors)Create a newChannelthat will callinterceptorsbefore starting a call on the given channel.abstract ChannelBinaryLog. wrapChannel(Channel channel) -
Uses of Channel in io.grpc.auth
Methods in io.grpc.auth with parameters of type Channel Modifier and Type Method Description <ReqT,RespT>
ClientCall<ReqT,RespT>ClientAuthInterceptor. interceptCall(MethodDescriptor<ReqT,RespT> method, CallOptions callOptions, Channel next)Deprecated. -
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.ChannelzBlockingStubChannelzGrpc.ChannelzBlockingStub. build(Channel channel, CallOptions callOptions)protected ChannelzGrpc.ChannelzBlockingV2StubChannelzGrpc.ChannelzBlockingV2Stub. build(Channel channel, CallOptions callOptions)protected ChannelzGrpc.ChannelzFutureStubChannelzGrpc.ChannelzFutureStub. build(Channel channel, CallOptions callOptions)protected ChannelzGrpc.ChannelzStubChannelzGrpc.ChannelzStub. build(Channel channel, CallOptions callOptions)static ChannelzGrpc.ChannelzBlockingStubChannelzGrpc. newBlockingStub(Channel channel)Creates a new blocking-style stub that supports unary and streaming output calls on the servicestatic ChannelzGrpc.ChannelzBlockingV2StubChannelzGrpc. newBlockingV2Stub(Channel channel)Creates a new blocking-style stub that supports all types of calls on the servicestatic ChannelzGrpc.ChannelzFutureStubChannelzGrpc. newFutureStub(Channel channel)Creates a new ListenableFuture-style stub that supports unary calls on the servicestatic ChannelzGrpc.ChannelzStubChannelzGrpc. newStub(Channel channel)Creates a new async stub that supports all call types for the service -
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.HealthBlockingStubHealthGrpc.HealthBlockingStub. build(Channel channel, CallOptions callOptions)protected HealthGrpc.HealthBlockingV2StubHealthGrpc.HealthBlockingV2Stub. build(Channel channel, CallOptions callOptions)protected HealthGrpc.HealthFutureStubHealthGrpc.HealthFutureStub. build(Channel channel, CallOptions callOptions)protected HealthGrpc.HealthStubHealthGrpc.HealthStub. build(Channel channel, CallOptions callOptions)static HealthGrpc.HealthBlockingStubHealthGrpc. newBlockingStub(Channel channel)Creates a new blocking-style stub that supports unary and streaming output calls on the servicestatic HealthGrpc.HealthBlockingV2StubHealthGrpc. newBlockingV2Stub(Channel channel)Creates a new blocking-style stub that supports all types of calls on the servicestatic HealthGrpc.HealthFutureStubHealthGrpc. newFutureStub(Channel channel)Creates a new ListenableFuture-style stub that supports unary calls on the servicestatic HealthGrpc.HealthStubHealthGrpc. newStub(Channel channel)Creates a new async stub that supports all call types for the service -
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.LoadBalancerBlockingStubLoadBalancerGrpc.LoadBalancerBlockingStub. build(Channel channel, CallOptions callOptions)protected LoadBalancerGrpc.LoadBalancerBlockingV2StubLoadBalancerGrpc.LoadBalancerBlockingV2Stub. build(Channel channel, CallOptions callOptions)protected LoadBalancerGrpc.LoadBalancerFutureStubLoadBalancerGrpc.LoadBalancerFutureStub. build(Channel channel, CallOptions callOptions)protected LoadBalancerGrpc.LoadBalancerStubLoadBalancerGrpc.LoadBalancerStub. build(Channel channel, CallOptions callOptions)static LoadBalancerGrpc.LoadBalancerBlockingStubLoadBalancerGrpc. newBlockingStub(Channel channel)Creates a new blocking-style stub that supports unary and streaming output calls on the servicestatic LoadBalancerGrpc.LoadBalancerBlockingV2StubLoadBalancerGrpc. newBlockingV2Stub(Channel channel)Creates a new blocking-style stub that supports all types of calls on the servicestatic LoadBalancerGrpc.LoadBalancerFutureStubLoadBalancerGrpc. newFutureStub(Channel channel)Creates a new ListenableFuture-style stub that supports unary calls on the servicestatic LoadBalancerGrpc.LoadBalancerStubLoadBalancerGrpc. newStub(Channel channel)Creates a new async stub that supports all call types for the service -
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.ServerReflectionBlockingStubServerReflectionGrpc.ServerReflectionBlockingStub. build(Channel channel, CallOptions callOptions)protected ServerReflectionGrpc.ServerReflectionBlockingV2StubServerReflectionGrpc.ServerReflectionBlockingV2Stub. build(Channel channel, CallOptions callOptions)protected ServerReflectionGrpc.ServerReflectionFutureStubServerReflectionGrpc.ServerReflectionFutureStub. build(Channel channel, CallOptions callOptions)protected ServerReflectionGrpc.ServerReflectionStubServerReflectionGrpc.ServerReflectionStub. build(Channel channel, CallOptions callOptions)static ServerReflectionGrpc.ServerReflectionBlockingStubServerReflectionGrpc. newBlockingStub(Channel channel)Creates a new blocking-style stub that supports unary and streaming output calls on the servicestatic ServerReflectionGrpc.ServerReflectionBlockingV2StubServerReflectionGrpc. newBlockingV2Stub(Channel channel)Creates a new blocking-style stub that supports all types of calls on the servicestatic ServerReflectionGrpc.ServerReflectionFutureStubServerReflectionGrpc. newFutureStub(Channel channel)Creates a new ListenableFuture-style stub that supports unary calls on the servicestatic ServerReflectionGrpc.ServerReflectionStubServerReflectionGrpc. newStub(Channel channel)Creates a new async stub that supports all call types for the service -
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.ServerReflectionBlockingStubServerReflectionGrpc.ServerReflectionBlockingStub. build(Channel channel, CallOptions callOptions)protected ServerReflectionGrpc.ServerReflectionBlockingV2StubServerReflectionGrpc.ServerReflectionBlockingV2Stub. build(Channel channel, CallOptions callOptions)protected ServerReflectionGrpc.ServerReflectionFutureStubServerReflectionGrpc.ServerReflectionFutureStub. build(Channel channel, CallOptions callOptions)protected ServerReflectionGrpc.ServerReflectionStubServerReflectionGrpc.ServerReflectionStub. build(Channel channel, CallOptions callOptions)static ServerReflectionGrpc.ServerReflectionBlockingStubServerReflectionGrpc. newBlockingStub(Channel channel)Creates a new blocking-style stub that supports unary and streaming output calls on the servicestatic ServerReflectionGrpc.ServerReflectionBlockingV2StubServerReflectionGrpc. newBlockingV2Stub(Channel channel)Creates a new blocking-style stub that supports all types of calls on the servicestatic ServerReflectionGrpc.ServerReflectionFutureStubServerReflectionGrpc. newFutureStub(Channel channel)Creates a new ListenableFuture-style stub that supports unary calls on the servicestatic ServerReflectionGrpc.ServerReflectionStubServerReflectionGrpc. newStub(Channel channel)Creates a new async stub that supports all call types for the service -
Uses of Channel in io.grpc.stub
Methods in io.grpc.stub that return Channel Modifier and Type Method Description ChannelAbstractStub. 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>
BlockingClientCall<ReqT,RespT>ClientCalls. blockingBidiStreamingCall(Channel channel, MethodDescriptor<ReqT,RespT> method, CallOptions callOptions)Initiate a bidirectional-streamingClientCalland returning a stream object (BlockingClientCall) which can be used by the client to send and receive messages over the grpc channel.static <ReqT,RespT>
BlockingClientCall<ReqT,RespT>ClientCalls. blockingClientStreamingCall(Channel channel, MethodDescriptor<ReqT,RespT> method, CallOptions callOptions)Initiates a server streaming call and sends the specified request to the server.static <ReqT,RespT>
Iterator<RespT>ClientCalls. blockingServerStreamingCall(Channel channel, MethodDescriptor<ReqT,RespT> method, CallOptions callOptions, ReqT req)Executes a server-streaming call returning a blockingIteratorover 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.static <ReqT,RespT>
BlockingClientCall<ReqT,RespT>ClientCalls. blockingV2ServerStreamingCall(Channel channel, MethodDescriptor<ReqT,RespT> method, CallOptions callOptions, ReqT req)Initiates a client streaming call over the specified channel.static <ReqT,RespT>
RespTClientCalls. blockingV2UnaryCall(Channel channel, MethodDescriptor<ReqT,RespT> method, CallOptions callOptions, ReqT req)Executes a unary call and blocks on the response, throws a checkedStatusException.protected abstract SAbstractStub. build(Channel channel, CallOptions callOptions)Returns a new stub with the given channel for the provided method configurations.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.TAbstractStub.StubFactory. newStub(Channel channel, CallOptions callOptions)SAbstractStub. 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 ChannelForwardingSubchannel. asChannel()
-