Package com.daml.ledger.api.v1
Class LedgerConfigurationServiceGrpc.LedgerConfigurationServiceStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractAsyncStub<LedgerConfigurationServiceGrpc.LedgerConfigurationServiceStub>
-
- com.daml.ledger.api.v1.LedgerConfigurationServiceGrpc.LedgerConfigurationServiceStub
-
- Enclosing class:
- LedgerConfigurationServiceGrpc
public static final class LedgerConfigurationServiceGrpc.LedgerConfigurationServiceStub extends io.grpc.stub.AbstractAsyncStub<LedgerConfigurationServiceGrpc.LedgerConfigurationServiceStub>
LedgerConfigurationService allows clients to subscribe to changes of the ledger configuration.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
build
protected LedgerConfigurationServiceGrpc.LedgerConfigurationServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
build
in classio.grpc.stub.AbstractStub<LedgerConfigurationServiceGrpc.LedgerConfigurationServiceStub>
-
getLedgerConfiguration
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
-
-