Interface ServerStreamObserver<GrpcResponseT>

Type Parameters:
GrpcResponseT - the expected gRPC response type
All Superinterfaces:
io.grpc.stub.StreamObserver<GrpcResponseT>
All Known Implementing Classes:
ErrorMappingStreamObserver

public interface ServerStreamObserver<GrpcResponseT> extends io.grpc.stub.StreamObserver<GrpcResponseT>
A simple extension of StreamObserver, meant to be used in conjunction with ServerCallStreamObserver. In order to avoid depending on ServerCallStreamObserver, which is experimental (as of now), we introduce this simple interface, and we can easily change the implementation whenever the experimental API is changed.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     

    Methods inherited from interface io.grpc.stub.StreamObserver

    onCompleted, onError, onNext
  • Method Details

    • isCancelled

      boolean isCancelled()