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