public static final class LedgerIdentityServiceGrpc.LedgerIdentityServiceFutureStub extends io.grpc.stub.AbstractFutureStub<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.
|
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