Class TimeServiceGrpc.TimeServiceImplBase

  • All Implemented Interfaces:
    io.grpc.BindableService
    Enclosing class:
    TimeServiceGrpc

    public abstract static class TimeServiceGrpc.TimeServiceImplBase
    extends java.lang.Object
    implements io.grpc.BindableService
     Optional service, exposed for testing static time scenarios.
     
    • Constructor Detail

      • TimeServiceImplBase

        public TimeServiceImplBase()
    • Method Detail

      • setTime

        public void setTime​(TimeServiceOuterClass.SetTimeRequest request,
                            io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
         Allows clients to change the ledger's clock in an atomic get-and-set operation.
         Errors:
         - ``INVALID_ARGUMENT``: if ``current_time`` is invalid (it MUST precisely match the current time as it's known to the ledger server)
         
      • bindService

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