Class PingPongImpl

All Implemented Interfaces:
io.grpc.BindableService, PingPongGrpc.AsyncService

public class PingPongImpl extends PingPongGrpc.PingPongImplBase
  • Field Details

  • Constructor Details

    • PingPongImpl

      public PingPongImpl()
  • Method Details

    • pingSyncSync

      public void pingSyncSync(PingRequest request, io.grpc.stub.StreamObserver<PongResponse> responseObserver)
      Description copied from interface: PingPongGrpc.AsyncService
       Sending ping message and getting pong answer synchronously
       
    • pingSyncAsync

      public void pingSyncAsync(PingRequest request, io.grpc.stub.StreamObserver<PongResponse> responseObserver)
      Description copied from interface: PingPongGrpc.AsyncService
       Sending ping message synchronously and getting pong answer asynchronously in streaming mode (multiple response messages)
       
    • pingAsyncAsync

      public io.grpc.stub.StreamObserver<PingRequest> pingAsyncAsync(io.grpc.stub.StreamObserver<PongResponse> responseObserver)
      Description copied from interface: PingPongGrpc.AsyncService
       Sending ping message asynchronously and getting pong answer asynchronously in streaming mode (multiple response messages)