Class ServiceGrpc.ServiceBlockingStub

  • Enclosing class:
    ServiceGrpc

    public static final class ServiceGrpc.ServiceBlockingStub
    extends io.grpc.stub.AbstractBlockingStub<ServiceGrpc.ServiceBlockingStub>
     Service defines the gRPC querier service for tendermint queries.
     
    • Nested Class Summary

      • Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub

        io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>>
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected ServiceGrpc.ServiceBlockingStub build​(io.grpc.Channel channel, io.grpc.CallOptions callOptions)  
      cosmos.base.tendermint.v1beta1.Query.GetBlockByHeightResponse getBlockByHeight​(cosmos.base.tendermint.v1beta1.Query.GetBlockByHeightRequest request)
      GetBlockByHeight queries block for given height.
      cosmos.base.tendermint.v1beta1.Query.GetLatestBlockResponse getLatestBlock​(cosmos.base.tendermint.v1beta1.Query.GetLatestBlockRequest request)
      GetLatestBlock returns the latest block.
      cosmos.base.tendermint.v1beta1.Query.GetLatestValidatorSetResponse getLatestValidatorSet​(cosmos.base.tendermint.v1beta1.Query.GetLatestValidatorSetRequest request)
      GetLatestValidatorSet queries latest validator-set.
      cosmos.base.tendermint.v1beta1.Query.GetNodeInfoResponse getNodeInfo​(cosmos.base.tendermint.v1beta1.Query.GetNodeInfoRequest request)
      GetNodeInfo queries the current node info.
      cosmos.base.tendermint.v1beta1.Query.GetSyncingResponse getSyncing​(cosmos.base.tendermint.v1beta1.Query.GetSyncingRequest request)
      GetSyncing queries node syncing.
      cosmos.base.tendermint.v1beta1.Query.GetValidatorSetByHeightResponse getValidatorSetByHeight​(cosmos.base.tendermint.v1beta1.Query.GetValidatorSetByHeightRequest request)
      GetValidatorSetByHeight queries validator-set at a given height.
      • Methods inherited from class io.grpc.stub.AbstractBlockingStub

        newStub, newStub
      • Methods inherited from class io.grpc.stub.AbstractStub

        getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOption, withWaitForReady
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getNodeInfo

        public cosmos.base.tendermint.v1beta1.Query.GetNodeInfoResponse getNodeInfo​(cosmos.base.tendermint.v1beta1.Query.GetNodeInfoRequest request)
         GetNodeInfo queries the current node info.
         
      • getSyncing

        public cosmos.base.tendermint.v1beta1.Query.GetSyncingResponse getSyncing​(cosmos.base.tendermint.v1beta1.Query.GetSyncingRequest request)
         GetSyncing queries node syncing.
         
      • getLatestBlock

        public cosmos.base.tendermint.v1beta1.Query.GetLatestBlockResponse getLatestBlock​(cosmos.base.tendermint.v1beta1.Query.GetLatestBlockRequest request)
         GetLatestBlock returns the latest block.
         
      • getBlockByHeight

        public cosmos.base.tendermint.v1beta1.Query.GetBlockByHeightResponse getBlockByHeight​(cosmos.base.tendermint.v1beta1.Query.GetBlockByHeightRequest request)
         GetBlockByHeight queries block for given height.
         
      • getLatestValidatorSet

        public cosmos.base.tendermint.v1beta1.Query.GetLatestValidatorSetResponse getLatestValidatorSet​(cosmos.base.tendermint.v1beta1.Query.GetLatestValidatorSetRequest request)
         GetLatestValidatorSet queries latest validator-set.
         
      • getValidatorSetByHeight

        public cosmos.base.tendermint.v1beta1.Query.GetValidatorSetByHeightResponse getValidatorSetByHeight​(cosmos.base.tendermint.v1beta1.Query.GetValidatorSetByHeightRequest request)
         GetValidatorSetByHeight queries validator-set at a given height.