Package cosmos.base.tendermint.v1beta1
Class ServiceGrpc.ServiceFutureStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractFutureStub<ServiceGrpc.ServiceFutureStub>
-
- cosmos.base.tendermint.v1beta1.ServiceGrpc.ServiceFutureStub
-
- Enclosing class:
- ServiceGrpc
public static final class ServiceGrpc.ServiceFutureStub extends io.grpc.stub.AbstractFutureStub<ServiceGrpc.ServiceFutureStub>
Service defines the gRPC querier service for tendermint queries.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ServiceGrpc.ServiceFutureStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions)com.google.common.util.concurrent.ListenableFuture<cosmos.base.tendermint.v1beta1.Query.GetBlockByHeightResponse>getBlockByHeight(cosmos.base.tendermint.v1beta1.Query.GetBlockByHeightRequest request)GetBlockByHeight queries block for given height.com.google.common.util.concurrent.ListenableFuture<cosmos.base.tendermint.v1beta1.Query.GetLatestBlockResponse>getLatestBlock(cosmos.base.tendermint.v1beta1.Query.GetLatestBlockRequest request)GetLatestBlock returns the latest block.com.google.common.util.concurrent.ListenableFuture<cosmos.base.tendermint.v1beta1.Query.GetLatestValidatorSetResponse>getLatestValidatorSet(cosmos.base.tendermint.v1beta1.Query.GetLatestValidatorSetRequest request)GetLatestValidatorSet queries latest validator-set.com.google.common.util.concurrent.ListenableFuture<cosmos.base.tendermint.v1beta1.Query.GetNodeInfoResponse>getNodeInfo(cosmos.base.tendermint.v1beta1.Query.GetNodeInfoRequest request)GetNodeInfo queries the current node info.com.google.common.util.concurrent.ListenableFuture<cosmos.base.tendermint.v1beta1.Query.GetSyncingResponse>getSyncing(cosmos.base.tendermint.v1beta1.Query.GetSyncingRequest request)GetSyncing queries node syncing.com.google.common.util.concurrent.ListenableFuture<cosmos.base.tendermint.v1beta1.Query.GetValidatorSetByHeightResponse>getValidatorSetByHeight(cosmos.base.tendermint.v1beta1.Query.GetValidatorSetByHeightRequest request)GetValidatorSetByHeight queries validator-set at a given height.
-
-
-
Method Detail
-
build
protected ServiceGrpc.ServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
buildin classio.grpc.stub.AbstractStub<ServiceGrpc.ServiceFutureStub>
-
getNodeInfo
public com.google.common.util.concurrent.ListenableFuture<cosmos.base.tendermint.v1beta1.Query.GetNodeInfoResponse> getNodeInfo(cosmos.base.tendermint.v1beta1.Query.GetNodeInfoRequest request)
GetNodeInfo queries the current node info.
-
getSyncing
public com.google.common.util.concurrent.ListenableFuture<cosmos.base.tendermint.v1beta1.Query.GetSyncingResponse> getSyncing(cosmos.base.tendermint.v1beta1.Query.GetSyncingRequest request)
GetSyncing queries node syncing.
-
getLatestBlock
public com.google.common.util.concurrent.ListenableFuture<cosmos.base.tendermint.v1beta1.Query.GetLatestBlockResponse> getLatestBlock(cosmos.base.tendermint.v1beta1.Query.GetLatestBlockRequest request)
GetLatestBlock returns the latest block.
-
getBlockByHeight
public com.google.common.util.concurrent.ListenableFuture<cosmos.base.tendermint.v1beta1.Query.GetBlockByHeightResponse> getBlockByHeight(cosmos.base.tendermint.v1beta1.Query.GetBlockByHeightRequest request)
GetBlockByHeight queries block for given height.
-
getLatestValidatorSet
public com.google.common.util.concurrent.ListenableFuture<cosmos.base.tendermint.v1beta1.Query.GetLatestValidatorSetResponse> getLatestValidatorSet(cosmos.base.tendermint.v1beta1.Query.GetLatestValidatorSetRequest request)
GetLatestValidatorSet queries latest validator-set.
-
getValidatorSetByHeight
public com.google.common.util.concurrent.ListenableFuture<cosmos.base.tendermint.v1beta1.Query.GetValidatorSetByHeightResponse> getValidatorSetByHeight(cosmos.base.tendermint.v1beta1.Query.GetValidatorSetByHeightRequest request)
GetValidatorSetByHeight queries validator-set at a given height.
-
-