Interface PingPongGrpc.AsyncService

All Known Implementing Classes:
PingPongGrpc.PingPongImplBase, PingPongImpl
Enclosing class:
PingPongGrpc

public static interface PingPongGrpc.AsyncService
 The PingPong service definition.
 
  • Method Summary

    Modifier and Type
    Method
    Description
    default io.grpc.stub.StreamObserver<PingRequest>
    pingAsyncAsync(io.grpc.stub.StreamObserver<PongResponse> responseObserver)
    Sending ping message asynchronously and getting pong answer asynchronously in streaming mode (multiple response messages)
    default io.grpc.stub.StreamObserver<PingRequest>
    pingAsyncSync(io.grpc.stub.StreamObserver<PongResponse> responseObserver)
    Sending ping message asynchronously and getting pong answer synchronously
    default void
    pingSyncAsync(PingRequest request, io.grpc.stub.StreamObserver<PongResponse> responseObserver)
    Sending ping message synchronously and getting pong answer asynchronously in streaming mode (multiple response messages)
    default void
    pingSyncSync(PingRequest request, io.grpc.stub.StreamObserver<PongResponse> responseObserver)
    Sending ping message and getting pong answer synchronously
  • Method Details

    • pingSyncSync

      default void pingSyncSync(PingRequest request, io.grpc.stub.StreamObserver<PongResponse> responseObserver)
       Sending ping message and getting pong answer synchronously
       
    • pingSyncAsync

      default void pingSyncAsync(PingRequest request, io.grpc.stub.StreamObserver<PongResponse> responseObserver)
       Sending ping message synchronously and getting pong answer asynchronously in streaming mode (multiple response messages)
       
    • pingAsyncSync

      default io.grpc.stub.StreamObserver<PingRequest> pingAsyncSync(io.grpc.stub.StreamObserver<PongResponse> responseObserver)
       Sending ping message asynchronously and getting pong answer synchronously
       
    • pingAsyncAsync

      default io.grpc.stub.StreamObserver<PingRequest> pingAsyncAsync(io.grpc.stub.StreamObserver<PongResponse> responseObserver)
       Sending ping message asynchronously and getting pong answer asynchronously in streaming mode (multiple response messages)