Uses of Interface
io.grpc.stub.StreamObserver
-
Packages that use StreamObserver Package Description io.grpc.stub API for the Stub layer. -
-
Uses of StreamObserver in io.grpc.stub
Subinterfaces of StreamObserver in io.grpc.stub Modifier and Type Interface Description interfaceClientResponseObserver<ReqT,RespT>Specialization ofStreamObserverimplemented by clients in order to interact with the advanced features of a call such as flow-control.Classes in io.grpc.stub that implement StreamObserver Modifier and Type Class Description classCallStreamObserver<V>A refinement of StreamObserver provided by the GRPC runtime to the application (the client or the server) that allows for more complex interactions with call behavior.classClientCallStreamObserver<V>A refinement ofCallStreamObserverthat allows for lower-level interaction with client calls.classServerCallStreamObserver<V>A refinement ofCallStreamObserverto allows for interaction with call cancellation events on the server side.Methods in io.grpc.stub that return StreamObserver Modifier and Type Method Description static <ReqT,RespT>
StreamObserver<ReqT>ClientCalls. asyncBidiStreamingCall(ClientCall<ReqT,RespT> call, StreamObserver<RespT> responseObserver)Executes a bidirectional-streaming call.static <ReqT,RespT>
StreamObserver<ReqT>ClientCalls. asyncClientStreamingCall(ClientCall<ReqT,RespT> call, StreamObserver<RespT> responseObserver)Executes a client-streaming call returning aStreamObserverfor the request messages.static <T> StreamObserver<T>ServerCalls. asyncUnimplementedStreamingCall(MethodDescriptor<?,?> methodDescriptor, StreamObserver<?> responseObserver)Sets unimplemented status for streaming call.Methods in io.grpc.stub with parameters of type StreamObserver Modifier and Type Method Description static <ReqT,RespT>
StreamObserver<ReqT>ClientCalls. asyncBidiStreamingCall(ClientCall<ReqT,RespT> call, StreamObserver<RespT> responseObserver)Executes a bidirectional-streaming call.static <ReqT,RespT>
StreamObserver<ReqT>ClientCalls. asyncClientStreamingCall(ClientCall<ReqT,RespT> call, StreamObserver<RespT> responseObserver)Executes a client-streaming call returning aStreamObserverfor the request messages.static <ReqT,RespT>
voidClientCalls. asyncServerStreamingCall(ClientCall<ReqT,RespT> call, ReqT req, StreamObserver<RespT> responseObserver)Executes a server-streaming call with a responseStreamObserver.static <ReqT,RespT>
voidClientCalls. asyncUnaryCall(ClientCall<ReqT,RespT> call, ReqT req, StreamObserver<RespT> responseObserver)Executes a unary call with a responseStreamObserver.static <T> StreamObserver<T>ServerCalls. asyncUnimplementedStreamingCall(MethodDescriptor<?,?> methodDescriptor, StreamObserver<?> responseObserver)Sets unimplemented status for streaming call.static voidServerCalls. asyncUnimplementedUnaryCall(MethodDescriptor<?,?> methodDescriptor, StreamObserver<?> responseObserver)Sets unimplemented status for method on given response stream for unary call.
-