public final class ServiceVersionClientServiceHandler extends ServiceVersionClientServiceGrpc.ServiceVersionClientServiceImplBase
Constructor and Description |
---|
ServiceVersionClientServiceHandler(Set<ServiceType> services,
java.util.function.Supplier<NodeState> nodeStateSupplier)
Creates service version handler that allows given services.
|
Modifier and Type | Method and Description |
---|---|
void |
getServiceVersion(GetServiceVersionPRequest request,
io.grpc.stub.StreamObserver<GetServiceVersionPResponse> responseObserver)
Returns the version of the master service.
|
bindService
public ServiceVersionClientServiceHandler(Set<ServiceType> services, @Nullable java.util.function.Supplier<NodeState> nodeStateSupplier)
services
- services to allownodeStateSupplier
- the supplier to get the node statepublic void getServiceVersion(GetServiceVersionPRequest request, io.grpc.stub.StreamObserver<GetServiceVersionPResponse> responseObserver)
ServiceVersionClientServiceGrpc.AsyncService
Returns the version of the master service. NOTE: The version should be updated every time a backwards incompatible API change occurs.
Copyright © 2023. All Rights Reserved.