public static final class LedgerIdentityServiceGrpc.LedgerIdentityServiceFutureStub extends io.grpc.stub.AbstractStub<LedgerIdentityServiceGrpc.LedgerIdentityServiceFutureStub>
Allows clients to verify that the server they are communicating with exposes the ledger they wish to operate on. Note that every ledger has a unique ID.
Modifier and Type | Method and Description |
---|---|
protected LedgerIdentityServiceGrpc.LedgerIdentityServiceFutureStub |
build(io.grpc.Channel channel,
io.grpc.CallOptions callOptions) |
com.google.common.util.concurrent.ListenableFuture<LedgerIdentityServiceOuterClass.GetLedgerIdentityResponse> |
getLedgerIdentity(LedgerIdentityServiceOuterClass.GetLedgerIdentityRequest request)
Clients may call this RPC to return the identifier of the ledger they are connected to.
|
getCallOptions, getChannel, newStub, newStub, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOption, withWaitForReady
protected LedgerIdentityServiceGrpc.LedgerIdentityServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
build
in class io.grpc.stub.AbstractStub<LedgerIdentityServiceGrpc.LedgerIdentityServiceFutureStub>
public com.google.common.util.concurrent.ListenableFuture<LedgerIdentityServiceOuterClass.GetLedgerIdentityResponse> getLedgerIdentity(LedgerIdentityServiceOuterClass.GetLedgerIdentityRequest request)
Clients may call this RPC to return the identifier of the ledger they are connected to. 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