程序包 org.bdware.bdledger.api.grpc.pb

# 类 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)`
  `LedgerProto.CreateLedgerResponse`
  `createLedger​(LedgerProto.CreateLedgerRequest request)`
  Create a new ledger 创建一个新账本
  `LedgerProto.GetLedgersResponse`
  `getLedgers​(Empty request)`
  Get all ledgers 查询所有帐本列表
  `LedgerProto.SendTransactionResponse`
  `sendTransaction​(LedgerProto.SendTransactionRequest request)`
  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`

  ### 从类继承的方法 java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## 方法详细资料

  - ### build

    protected LedgerGrpc.LedgerBlockingStub build​(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
    指定者:
      `build` 在类中 `io.grpc.stub.AbstractStub<LedgerGrpc.LedgerBlockingStub>`

  - ### createLedger

    public LedgerProto.CreateLedgerResponse createLedger​(LedgerProto.CreateLedgerRequest request)

         Create a new ledger
         创建一个新账本

  - ### getLedgers

    public LedgerProto.GetLedgersResponse getLedgers​(Empty request)

         Get all ledgers
         查询所有帐本列表

  - ### sendTransaction

    public LedgerProto.SendTransactionResponse sendTransaction​(LedgerProto.SendTransactionRequest request)

         Send a new transaction
         发送一个新事务