package device; import java.util.function.BiFunction; import io.quarkus.grpc.runtime.MutinyClient; @javax.annotation.Generated( value = "by Mutiny Grpc generator", comments = "Source: device.proto") public class DeviceServiceClient implements DeviceService, MutinyClient { private final MutinyDeviceServiceGrpc.MutinyDeviceServiceStub stub; public DeviceServiceClient(String name, io.grpc.Channel channel, BiFunction stubConfigurator) { this.stub = stubConfigurator.apply(name,MutinyDeviceServiceGrpc.newMutinyStub(channel)); } @Override public MutinyDeviceServiceGrpc.MutinyDeviceServiceStub getStub() { return stub; } @Override public io.smallrye.mutiny.Uni addDevice(context.ContextOuterClass.Device request) { return stub.addDevice(request); } @Override public io.smallrye.mutiny.Uni configureDevice(context.ContextOuterClass.Device request) { return stub.configureDevice(request); } @Override public io.smallrye.mutiny.Uni deleteDevice(context.ContextOuterClass.DeviceId request) { return stub.deleteDevice(request); } @Override public io.smallrye.mutiny.Uni getInitialConfig(context.ContextOuterClass.DeviceId request) { return stub.getInitialConfig(request); } @Override public io.smallrye.mutiny.Uni monitorDeviceKpi(device.Device.MonitoringSettings request) { return stub.monitorDeviceKpi(request); } }