Package com.daml.ledger.api.v2
Class EventQueryServiceGrpc.EventQueryServiceFutureStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractFutureStub<EventQueryServiceGrpc.EventQueryServiceFutureStub>
com.daml.ledger.api.v2.EventQueryServiceGrpc.EventQueryServiceFutureStub
- Enclosing class:
- EventQueryServiceGrpc
public static final class EventQueryServiceGrpc.EventQueryServiceFutureStub
extends io.grpc.stub.AbstractFutureStub<EventQueryServiceGrpc.EventQueryServiceFutureStub>
A stub to allow clients to do ListenableFuture-style 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) com.google.common.util.concurrent.ListenableFuture<EventQueryServiceOuterClass.GetEventsByContractIdResponse>
Get the create and the consuming exercise event for the contract with the provided ID.Methods inherited from class io.grpc.stub.AbstractFutureStub
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.EventQueryServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
build
in classio.grpc.stub.AbstractStub<EventQueryServiceGrpc.EventQueryServiceFutureStub>
-
getEventsByContractId
public com.google.common.util.concurrent.ListenableFuture<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.
-