public abstract static class LedgerIdentityServiceGrpc.LedgerIdentityServiceImplBase
extends java.lang.Object
implements io.grpc.BindableService
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.
Constructor and Description |
---|
LedgerIdentityServiceImplBase() |
Modifier and Type | Method and Description |
---|---|
io.grpc.ServerServiceDefinition |
bindService() |
void |
getLedgerIdentity(LedgerIdentityServiceOuterClass.GetLedgerIdentityRequest request,
io.grpc.stub.StreamObserver<LedgerIdentityServiceOuterClass.GetLedgerIdentityResponse> responseObserver)
Clients may call this RPC to return the identifier of the ledger they are connected to.
|
public void getLedgerIdentity(LedgerIdentityServiceOuterClass.GetLedgerIdentityRequest request, io.grpc.stub.StreamObserver<LedgerIdentityServiceOuterClass.GetLedgerIdentityResponse> responseObserver)
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
public final io.grpc.ServerServiceDefinition bindService()
bindService
in interface io.grpc.BindableService