Class ServiceGrpc.ServiceImplBase

  • All Implemented Interfaces:
    io.grpc.BindableService
    Enclosing class:
    ServiceGrpc

    public abstract static class ServiceGrpc.ServiceImplBase
    extends java.lang.Object
    implements io.grpc.BindableService
     Service defines the gRPC querier service for tendermint queries.
     
    • Constructor Summary

      Constructors 
      Constructor Description
      ServiceImplBase()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      io.grpc.ServerServiceDefinition bindService()  
      void getBlockByHeight​(cosmos.base.tendermint.v1beta1.Query.GetBlockByHeightRequest request, io.grpc.stub.StreamObserver<cosmos.base.tendermint.v1beta1.Query.GetBlockByHeightResponse> responseObserver)
      GetBlockByHeight queries block for given height.
      void getLatestBlock​(cosmos.base.tendermint.v1beta1.Query.GetLatestBlockRequest request, io.grpc.stub.StreamObserver<cosmos.base.tendermint.v1beta1.Query.GetLatestBlockResponse> responseObserver)
      GetLatestBlock returns the latest block.
      void getLatestValidatorSet​(cosmos.base.tendermint.v1beta1.Query.GetLatestValidatorSetRequest request, io.grpc.stub.StreamObserver<cosmos.base.tendermint.v1beta1.Query.GetLatestValidatorSetResponse> responseObserver)
      GetLatestValidatorSet queries latest validator-set.
      void getNodeInfo​(cosmos.base.tendermint.v1beta1.Query.GetNodeInfoRequest request, io.grpc.stub.StreamObserver<cosmos.base.tendermint.v1beta1.Query.GetNodeInfoResponse> responseObserver)
      GetNodeInfo queries the current node info.
      void getSyncing​(cosmos.base.tendermint.v1beta1.Query.GetSyncingRequest request, io.grpc.stub.StreamObserver<cosmos.base.tendermint.v1beta1.Query.GetSyncingResponse> responseObserver)
      GetSyncing queries node syncing.
      void getValidatorSetByHeight​(cosmos.base.tendermint.v1beta1.Query.GetValidatorSetByHeightRequest request, io.grpc.stub.StreamObserver<cosmos.base.tendermint.v1beta1.Query.GetValidatorSetByHeightResponse> responseObserver)
      GetValidatorSetByHeight queries validator-set at a given height.
      • Methods inherited from class java.lang.Object

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

      • ServiceImplBase

        public ServiceImplBase()
    • Method Detail

      • getNodeInfo

        public void getNodeInfo​(cosmos.base.tendermint.v1beta1.Query.GetNodeInfoRequest request,
                                io.grpc.stub.StreamObserver<cosmos.base.tendermint.v1beta1.Query.GetNodeInfoResponse> responseObserver)
         GetNodeInfo queries the current node info.
         
      • getSyncing

        public void getSyncing​(cosmos.base.tendermint.v1beta1.Query.GetSyncingRequest request,
                               io.grpc.stub.StreamObserver<cosmos.base.tendermint.v1beta1.Query.GetSyncingResponse> responseObserver)
         GetSyncing queries node syncing.
         
      • getLatestBlock

        public void getLatestBlock​(cosmos.base.tendermint.v1beta1.Query.GetLatestBlockRequest request,
                                   io.grpc.stub.StreamObserver<cosmos.base.tendermint.v1beta1.Query.GetLatestBlockResponse> responseObserver)
         GetLatestBlock returns the latest block.
         
      • getBlockByHeight

        public void getBlockByHeight​(cosmos.base.tendermint.v1beta1.Query.GetBlockByHeightRequest request,
                                     io.grpc.stub.StreamObserver<cosmos.base.tendermint.v1beta1.Query.GetBlockByHeightResponse> responseObserver)
         GetBlockByHeight queries block for given height.
         
      • getLatestValidatorSet

        public void getLatestValidatorSet​(cosmos.base.tendermint.v1beta1.Query.GetLatestValidatorSetRequest request,
                                          io.grpc.stub.StreamObserver<cosmos.base.tendermint.v1beta1.Query.GetLatestValidatorSetResponse> responseObserver)
         GetLatestValidatorSet queries latest validator-set.
         
      • getValidatorSetByHeight

        public void getValidatorSetByHeight​(cosmos.base.tendermint.v1beta1.Query.GetValidatorSetByHeightRequest request,
                                            io.grpc.stub.StreamObserver<cosmos.base.tendermint.v1beta1.Query.GetValidatorSetByHeightResponse> responseObserver)
         GetValidatorSetByHeight queries validator-set at a given height.
         
      • bindService

        public final io.grpc.ServerServiceDefinition bindService()
        Specified by:
        bindService in interface io.grpc.BindableService