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

com.redhat.mercury.merchandisingloan.v10.api.crmerchandisingloanfacilityservice.CRMerchandisingLoanFacilityServiceClient Maven / Gradle / Ivy

The newest version!
package com.redhat.mercury.merchandisingloan.v10.api.crmerchandisingloanfacilityservice;

import java.util.function.BiFunction;

import io.quarkus.grpc.runtime.MutinyClient;

@javax.annotation.Generated(
value = "by Mutiny Grpc generator",
comments = "Source: v10/api/cr_merchandising_loan_facility_service.proto")
public class CRMerchandisingLoanFacilityServiceClient implements CRMerchandisingLoanFacilityService, MutinyClient {

    private final MutinyCRMerchandisingLoanFacilityServiceGrpc.MutinyCRMerchandisingLoanFacilityServiceStub stub;

    public CRMerchandisingLoanFacilityServiceClient(String name, io.grpc.Channel channel, BiFunction stubConfigurator) {
       this.stub = stubConfigurator.apply(name,MutinyCRMerchandisingLoanFacilityServiceGrpc.newMutinyStub(channel));
    }

    private CRMerchandisingLoanFacilityServiceClient(MutinyCRMerchandisingLoanFacilityServiceGrpc.MutinyCRMerchandisingLoanFacilityServiceStub stub) {
       this.stub = stub;
    }

    public CRMerchandisingLoanFacilityServiceClient newInstanceWithStub(MutinyCRMerchandisingLoanFacilityServiceGrpc.MutinyCRMerchandisingLoanFacilityServiceStub stub) {
        return new CRMerchandisingLoanFacilityServiceClient(stub);
    }

    @Override
    public MutinyCRMerchandisingLoanFacilityServiceGrpc.MutinyCRMerchandisingLoanFacilityServiceStub getStub() {
       return stub;
    }

    @Override
    public io.smallrye.mutiny.Uni control(com.redhat.mercury.merchandisingloan.v10.api.crmerchandisingloanfacilityservice.CrMerchandisingLoanFacilityService.ControlRequest request) {
       return stub.control(request);
    }
    @Override
    public io.smallrye.mutiny.Uni exchange(com.redhat.mercury.merchandisingloan.v10.api.crmerchandisingloanfacilityservice.CrMerchandisingLoanFacilityService.ExchangeRequest request) {
       return stub.exchange(request);
    }
    @Override
    public io.smallrye.mutiny.Uni execute(com.redhat.mercury.merchandisingloan.v10.api.crmerchandisingloanfacilityservice.CrMerchandisingLoanFacilityService.ExecuteRequest request) {
       return stub.execute(request);
    }
    @Override
    public io.smallrye.mutiny.Uni initiate(com.redhat.mercury.merchandisingloan.v10.api.crmerchandisingloanfacilityservice.CrMerchandisingLoanFacilityService.InitiateRequest request) {
       return stub.initiate(request);
    }
    @Override
    public io.smallrye.mutiny.Uni request(com.redhat.mercury.merchandisingloan.v10.api.crmerchandisingloanfacilityservice.CrMerchandisingLoanFacilityService.RequestRequest request) {
       return stub.request(request);
    }
    @Override
    public io.smallrye.mutiny.Uni retrieve(com.redhat.mercury.merchandisingloan.v10.api.crmerchandisingloanfacilityservice.CrMerchandisingLoanFacilityService.RetrieveRequest request) {
       return stub.retrieve(request);
    }
    @Override
    public io.smallrye.mutiny.Uni update(com.redhat.mercury.merchandisingloan.v10.api.crmerchandisingloanfacilityservice.CrMerchandisingLoanFacilityService.UpdateRequest request) {
       return stub.update(request);
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy