public static final class LedgerConfigurationServiceGrpc.LedgerConfigurationServiceStub extends io.grpc.stub.AbstractAsyncStub<LedgerConfigurationServiceGrpc.LedgerConfigurationServiceStub>
LedgerConfigurationService allows clients to subscribe to changes of the ledger configuration.
Modifier and Type | Method and Description |
---|---|
protected LedgerConfigurationServiceGrpc.LedgerConfigurationServiceStub |
build(io.grpc.Channel channel,
io.grpc.CallOptions callOptions) |
void |
getLedgerConfiguration(LedgerConfigurationServiceOuterClass.GetLedgerConfigurationRequest request,
io.grpc.stub.StreamObserver<LedgerConfigurationServiceOuterClass.GetLedgerConfigurationResponse> responseObserver)
Returns the latest configuration as the first response, and publishes configuration updates in the same stream.
|
protected LedgerConfigurationServiceGrpc.LedgerConfigurationServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
build
in class io.grpc.stub.AbstractStub<LedgerConfigurationServiceGrpc.LedgerConfigurationServiceStub>
public void getLedgerConfiguration(LedgerConfigurationServiceOuterClass.GetLedgerConfigurationRequest request, io.grpc.stub.StreamObserver<LedgerConfigurationServiceOuterClass.GetLedgerConfigurationResponse> responseObserver)
Returns the latest configuration as the first response, and publishes configuration updates in the same stream. Errors: - ``UNAUTHENTICATED``: if the request does not include a valid access token - ``PERMISSION_DENIED``: if the claims in the token are insufficient to perform a given operation - ``NOT_FOUND``: if the request does not include a valid ledger id