Module com.hedera.hashgraph.sdk
Class ConsensusServiceGrpc.ConsensusServiceBlockingV2Stub
java.lang.Object
io.grpc.stub.AbstractStub<ConsensusServiceGrpc.ConsensusServiceBlockingV2Stub>
io.grpc.stub.AbstractBlockingStub<ConsensusServiceGrpc.ConsensusServiceBlockingV2Stub>
com.hedera.hashgraph.sdk.proto.mirror.ConsensusServiceGrpc.ConsensusServiceBlockingV2Stub
- Enclosing class:
ConsensusServiceGrpc
public static final class ConsensusServiceGrpc.ConsensusServiceBlockingV2Stub
extends io.grpc.stub.AbstractBlockingStub<ConsensusServiceGrpc.ConsensusServiceBlockingV2Stub>
A stub to allow clients to do synchronous rpc calls to service ConsensusService.
The Mirror Service provides the ability to query a stream of Hedera Consensus Service (HCS) messages for an HCS Topic via a specific (possibly open-ended) time range.
-
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
Modifier and TypeMethodDescriptionbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) io.grpc.stub.BlockingClientCall<?, ConsensusTopicResponse> subscribeTopic(ConsensusTopicQuery request) Methods inherited from class io.grpc.stub.AbstractBlockingStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected ConsensusServiceGrpc.ConsensusServiceBlockingV2Stub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<ConsensusServiceGrpc.ConsensusServiceBlockingV2Stub>
-
subscribeTopic
@ExperimentalApi("https://github.com/grpc/grpc-java/issues/10918") public io.grpc.stub.BlockingClientCall<?,ConsensusTopicResponse> subscribeTopic(ConsensusTopicQuery request)
-