Class PingPongGrpc.PingPongImplBase

  • All Implemented Interfaces:
    io.grpc.BindableService
    Direct Known Subclasses:
    PingPongImpl
    Enclosing class:
    PingPongGrpc

    public abstract static class PingPongGrpc.PingPongImplBase
    extends Object
    implements io.grpc.BindableService
     The PingPong service definition.
     
    • Constructor Detail

      • PingPongImplBase

        public PingPongImplBase()
    • Method Detail

      • pingSyncSync

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

        public 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

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

        public 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)
         
      • bindService

        public final io.grpc.ServerServiceDefinition bindService()
        Specified by:
        bindService in interface io.grpc.BindableService