Package com.daml.ledger.api.v1
Class LedgerConfigurationServiceGrpc.LedgerConfigurationServiceBlockingStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractBlockingStub<LedgerConfigurationServiceGrpc.LedgerConfigurationServiceBlockingStub>
-
- com.daml.ledger.api.v1.LedgerConfigurationServiceGrpc.LedgerConfigurationServiceBlockingStub
-
- Enclosing class:
- LedgerConfigurationServiceGrpc
public static final class LedgerConfigurationServiceGrpc.LedgerConfigurationServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub<LedgerConfigurationServiceGrpc.LedgerConfigurationServiceBlockingStub>
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.LedgerConfigurationServiceBlockingStub
build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
java.util.Iterator<LedgerConfigurationServiceOuterClass.GetLedgerConfigurationResponse>
getLedgerConfiguration(LedgerConfigurationServiceOuterClass.GetLedgerConfigurationRequest request)
Returns the latest configuration as the first response, and publishes configuration updates in the same stream.
-
-
-
Method Detail
-
build
protected LedgerConfigurationServiceGrpc.LedgerConfigurationServiceBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
build
in classio.grpc.stub.AbstractStub<LedgerConfigurationServiceGrpc.LedgerConfigurationServiceBlockingStub>
-
getLedgerConfiguration
public java.util.Iterator<LedgerConfigurationServiceOuterClass.GetLedgerConfigurationResponse> getLedgerConfiguration(LedgerConfigurationServiceOuterClass.GetLedgerConfigurationRequest request)
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
-
-