Package com.daml.ledger.api.v2
Class EventQueryServiceGrpc.EventQueryServiceBlockingStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<EventQueryServiceGrpc.EventQueryServiceBlockingStub>
com.daml.ledger.api.v2.EventQueryServiceGrpc.EventQueryServiceBlockingStub
- Enclosing class:
- EventQueryServiceGrpc
public static final class EventQueryServiceGrpc.EventQueryServiceBlockingStub
extends io.grpc.stub.AbstractBlockingStub<EventQueryServiceGrpc.EventQueryServiceBlockingStub>
A stub to allow clients to do synchronous rpc calls to service EventQueryService.
Query events by contract id. Note that querying by contract key is not (yet) supported, as contract keys are not supported (yet) in multi-synchronizer scenarios.
-
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) Get the create and the consuming exercise event for the contract with the provided ID.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, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected EventQueryServiceGrpc.EventQueryServiceBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
build
in classio.grpc.stub.AbstractStub<EventQueryServiceGrpc.EventQueryServiceBlockingStub>
-
getEventsByContractId
public EventQueryServiceOuterClass.GetEventsByContractIdResponse getEventsByContractId(EventQueryServiceOuterClass.GetEventsByContractIdRequest request) Get the create and the consuming exercise event for the contract with the provided ID. No events will be returned for contracts that have been pruned because they have already been archived before the latest pruning offset. If the contract cannot be found for the request, or all the contract-events are filtered, a CONTRACT_EVENTS_NOT_FOUND error will be raised.
-