public static final class LedgerConfigurationServiceGrpc.LedgerConfigurationServiceStub extends io.grpc.stub.AbstractStub<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.
|
getCallOptions, getChannel, newStub, newStub, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOption, withWaitForReady
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