Interface MethodHandler.BidirectionalClient

  • Enclosing interface:
    MethodHandler<ReqT,​RespT>

    public static interface MethodHandler.BidirectionalClient
    A bidirectional client call handler.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      <ReqT,​RespT>
      io.grpc.stub.StreamObserver<ReqT>
      bidiStreaming​(String methodName, io.grpc.stub.StreamObserver<RespT> observer)
      Perform a bidirectional client call.
    • Method Detail

      • bidiStreaming

        <ReqT,​RespT> io.grpc.stub.StreamObserver<ReqT> bidiStreaming​(String methodName,
                                                                           io.grpc.stub.StreamObserver<RespT> observer)
        Perform a bidirectional client call.
        Type Parameters:
        ReqT - the request type
        RespT - the response type
        Parameters:
        methodName - the name of the gRPC method
        observer - the StreamObserver that will receive the responses
        Returns:
        a StreamObserver to use to send requests