Interface GrpcMethod.BidiStreaming

Enclosing class:
GrpcMethod

public static interface GrpcMethod.BidiStreaming
Runs a bidirectional streaming method.
  • Method Details

    • call

      void call(Iterator requests, StreamObserver responses, GrpcContext context) throws Exception
      Parameters:
      requests - the request messages, read as they arrive
      responses - where the responses go
      context - the call
      Throws:
      Exception - ends the call with a status