public abstract static class AdmissionControlGrpc.AdmissionControlImplBase extends Object implements io.grpc.BindableService
----------------------------------------------------------------------------- ---------------- Service definition -----------------------------------------------------------------------------
| Constructor and Description |
|---|
AdmissionControlImplBase() |
| Modifier and Type | Method and Description |
|---|---|
io.grpc.ServerServiceDefinition |
bindService() |
void |
submitTransaction(AdmissionControlOuterClass.SubmitTransactionRequest request,
io.grpc.stub.StreamObserver<AdmissionControlOuterClass.SubmitTransactionResponse> responseObserver)
Public API to submit transaction to a validator.
|
void |
updateToLatestLedger(GetWithProof.UpdateToLatestLedgerRequest request,
io.grpc.stub.StreamObserver<GetWithProof.UpdateToLatestLedgerResponse> responseObserver)
This API is used to update the client to the latest ledger version and
optionally also request 1..n other pieces of data.
|
public void submitTransaction(AdmissionControlOuterClass.SubmitTransactionRequest request, io.grpc.stub.StreamObserver<AdmissionControlOuterClass.SubmitTransactionResponse> responseObserver)
Public API to submit transaction to a validator.
public void updateToLatestLedger(GetWithProof.UpdateToLatestLedgerRequest request, io.grpc.stub.StreamObserver<GetWithProof.UpdateToLatestLedgerResponse> responseObserver)
This API is used to update the client to the latest ledger version and optionally also request 1..n other pieces of data. This allows for batch queries. All queries return proofs that a client should check to validate the data. Note that if a client only wishes to update to the latest LedgerInfo and receive the proof of this latest version, they can simply omit the requested_items (or pass an empty list)
public final io.grpc.ServerServiceDefinition bindService()
bindService in interface io.grpc.BindableServiceCopyright © 2019. All rights reserved.