All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BQRepaymentServiceBean Maven / Gradle / Ivy

package com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice;

import io.grpc.BindableService;
import io.quarkus.grpc.GrpcService;
import io.quarkus.grpc.runtime.MutinyBean;

@javax.annotation.Generated(
value = "by Mutiny Grpc generator",
comments = "Source: v10/api/bq_repayment_service.proto")
public class BQRepaymentServiceBean extends MutinyBQRepaymentServiceGrpc.BQRepaymentServiceImplBase implements BindableService, MutinyBean {

    private final BQRepaymentService delegate;

    BQRepaymentServiceBean(@GrpcService BQRepaymentService delegate) {
       this.delegate = delegate;
    }

    @Override
    public io.smallrye.mutiny.Uni executeRepayment(com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.ExecuteRepaymentRequest request) {
       try {
         return delegate.executeRepayment(request);
       } catch (UnsupportedOperationException e) {
          throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
       }
    }
    @Override
    public io.smallrye.mutiny.Uni initiateRepayment(com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.InitiateRepaymentRequest request) {
       try {
         return delegate.initiateRepayment(request);
       } catch (UnsupportedOperationException e) {
          throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
       }
    }
    @Override
    public io.smallrye.mutiny.Uni retrieveRepayment(com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.RetrieveRepaymentRequest request) {
       try {
         return delegate.retrieveRepayment(request);
       } catch (UnsupportedOperationException e) {
          throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
       }
    }
    @Override
    public io.smallrye.mutiny.Uni updateRepayment(com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.UpdateRepaymentRequest request) {
       try {
         return delegate.updateRepayment(request);
       } catch (UnsupportedOperationException e) {
          throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
       }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy