Interface HandshakerServiceGrpc.AsyncService

All Known Implementing Classes:
HandshakerServiceGrpc.HandshakerServiceImplBase
Enclosing class:
HandshakerServiceGrpc

public static interface HandshakerServiceGrpc.AsyncService
  • Method Summary

    Modifier and Type
    Method
    Description
    default io.grpc.stub.StreamObserver<HandshakerReq>
    doHandshake(io.grpc.stub.StreamObserver<HandshakerResp> responseObserver)
    Handshaker service accepts a stream of handshaker request, returning a stream of handshaker response.
  • Method Details

    • doHandshake

      default io.grpc.stub.StreamObserver<HandshakerReq> doHandshake(io.grpc.stub.StreamObserver<HandshakerResp> responseObserver)
       Handshaker service accepts a stream of handshaker request, returning a
       stream of handshaker response. Client is expected to send exactly one
       message with either client_start or server_start followed by one or more
       messages with next. Each time client sends a request, the handshaker
       service expects to respond. Client does not have to wait for service's
       response before sending next request.