public static final class AdmissionControlGrpc.AdmissionControlStub extends io.grpc.stub.AbstractStub<AdmissionControlGrpc.AdmissionControlStub>
----------------------------------------------------------------------------- ---------------- Service definition -----------------------------------------------------------------------------
| Modifier and Type | Method and Description |
|---|---|
protected AdmissionControlGrpc.AdmissionControlStub |
build(io.grpc.Channel channel,
io.grpc.CallOptions callOptions) |
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.
|
protected AdmissionControlGrpc.AdmissionControlStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
build in class io.grpc.stub.AbstractStub<AdmissionControlGrpc.AdmissionControlStub>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)
Copyright © 2019. All rights reserved.