public static final class LedgerIdentityServiceGrpc.LedgerIdentityServiceBlockingStub extends io.grpc.stub.AbstractStub<LedgerIdentityServiceGrpc.LedgerIdentityServiceBlockingStub>
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.LedgerIdentityServiceBlockingStub |
build(io.grpc.Channel channel,
io.grpc.CallOptions callOptions) |
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.LedgerIdentityServiceBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
build
in class io.grpc.stub.AbstractStub<LedgerIdentityServiceGrpc.LedgerIdentityServiceBlockingStub>
public 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