类 LedgerGrpc.LedgerFutureStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractFutureStub<LedgerGrpc.LedgerFutureStub>
org.bdware.bdledger.api.grpc.pb.LedgerGrpc.LedgerFutureStub
- 封闭类:
- LedgerGrpc
public static final class LedgerGrpc.LedgerFutureStub
extends io.grpc.stub.AbstractFutureStub<LedgerGrpc.LedgerFutureStub>
-
嵌套类概要
从类继承的嵌套类/接口 io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>>
-
方法概要
修饰符和类型方法说明protected LedgerGrpc.LedgerFutureStub
build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
com.google.common.util.concurrent.ListenableFuture<LedgerProto.CreateLedgerResponse>
createLedger(LedgerProto.CreateLedgerRequest request)
Create a new ledger 创建一个新账本com.google.common.util.concurrent.ListenableFuture<LedgerProto.GetLedgersResponse>
getLedgers(Empty request)
Get all ledgers 查询所有帐本列表com.google.common.util.concurrent.ListenableFuture<LedgerProto.SendTransactionResponse>
Send a new transaction 发送一个新事务从类继承的方法 io.grpc.stub.AbstractFutureStub
newStub, newStub
从类继承的方法 io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOption, withWaitForReady
-
方法详细资料
-
build
protected LedgerGrpc.LedgerFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)- 指定者:
build
在类中io.grpc.stub.AbstractStub<LedgerGrpc.LedgerFutureStub>
-
createLedger
public com.google.common.util.concurrent.ListenableFuture<LedgerProto.CreateLedgerResponse> createLedger(LedgerProto.CreateLedgerRequest request)Create a new ledger 创建一个新账本
-
getLedgers
public com.google.common.util.concurrent.ListenableFuture<LedgerProto.GetLedgersResponse> getLedgers(Empty request)Get all ledgers 查询所有帐本列表
-
sendTransaction
public com.google.common.util.concurrent.ListenableFuture<LedgerProto.SendTransactionResponse> sendTransaction(LedgerProto.SendTransactionRequest request)Send a new transaction 发送一个新事务
-