类 LedgerGrpc.LedgerImplBase
java.lang.Object
org.bdware.bdledger.api.grpc.pb.LedgerGrpc.LedgerImplBase
- 所有已实现的接口:
io.grpc.BindableService
- 封闭类:
- LedgerGrpc
public abstract static class LedgerGrpc.LedgerImplBase
extends Object
implements io.grpc.BindableService
-
构造器概要
-
方法概要
修饰符和类型方法说明io.grpc.ServerServiceDefinition
void
createLedger(LedgerProto.CreateLedgerRequest request, io.grpc.stub.StreamObserver<LedgerProto.CreateLedgerResponse> responseObserver)
Create a new ledger 创建一个新账本void
getLedgers(Empty request, io.grpc.stub.StreamObserver<LedgerProto.GetLedgersResponse> responseObserver)
Get all ledgers 查询所有帐本列表void
sendTransaction(LedgerProto.SendTransactionRequest request, io.grpc.stub.StreamObserver<LedgerProto.SendTransactionResponse> responseObserver)
Send a new transaction 发送一个新事务
-
构造器详细资料
-
LedgerImplBase
public LedgerImplBase()
-
-
方法详细资料
-
createLedger
public void createLedger(LedgerProto.CreateLedgerRequest request, io.grpc.stub.StreamObserver<LedgerProto.CreateLedgerResponse> responseObserver)Create a new ledger 创建一个新账本
-
getLedgers
public void getLedgers(Empty request, io.grpc.stub.StreamObserver<LedgerProto.GetLedgersResponse> responseObserver)Get all ledgers 查询所有帐本列表
-
sendTransaction
public void sendTransaction(LedgerProto.SendTransactionRequest request, io.grpc.stub.StreamObserver<LedgerProto.SendTransactionResponse> responseObserver)Send a new transaction 发送一个新事务
-
bindService
public final io.grpc.ServerServiceDefinition bindService()- 指定者:
bindService
在接口中io.grpc.BindableService
-