Package cosmos.base.tendermint.v1beta1
Class ServiceGrpc.ServiceStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractAsyncStub<ServiceGrpc.ServiceStub>
-
- cosmos.base.tendermint.v1beta1.ServiceGrpc.ServiceStub
-
- Enclosing class:
- ServiceGrpc
public static final class ServiceGrpc.ServiceStub extends io.grpc.stub.AbstractAsyncStub<ServiceGrpc.ServiceStub>
Service defines the gRPC querier service for tendermint queries.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ServiceGrpc.ServiceStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions)voidgetBlockByHeight(cosmos.base.tendermint.v1beta1.Query.GetBlockByHeightRequest request, io.grpc.stub.StreamObserver<cosmos.base.tendermint.v1beta1.Query.GetBlockByHeightResponse> responseObserver)GetBlockByHeight queries block for given height.voidgetLatestBlock(cosmos.base.tendermint.v1beta1.Query.GetLatestBlockRequest request, io.grpc.stub.StreamObserver<cosmos.base.tendermint.v1beta1.Query.GetLatestBlockResponse> responseObserver)GetLatestBlock returns the latest block.voidgetLatestValidatorSet(cosmos.base.tendermint.v1beta1.Query.GetLatestValidatorSetRequest request, io.grpc.stub.StreamObserver<cosmos.base.tendermint.v1beta1.Query.GetLatestValidatorSetResponse> responseObserver)GetLatestValidatorSet queries latest validator-set.voidgetNodeInfo(cosmos.base.tendermint.v1beta1.Query.GetNodeInfoRequest request, io.grpc.stub.StreamObserver<cosmos.base.tendermint.v1beta1.Query.GetNodeInfoResponse> responseObserver)GetNodeInfo queries the current node info.voidgetSyncing(cosmos.base.tendermint.v1beta1.Query.GetSyncingRequest request, io.grpc.stub.StreamObserver<cosmos.base.tendermint.v1beta1.Query.GetSyncingResponse> responseObserver)GetSyncing queries node syncing.voidgetValidatorSetByHeight(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.
-
-
-
Method Detail
-
build
protected ServiceGrpc.ServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
buildin classio.grpc.stub.AbstractStub<ServiceGrpc.ServiceStub>
-
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.
-
-