Package com.daml.ledger.api.v1
Class EventQueryServiceGrpc.EventQueryServiceFutureStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractFutureStub<EventQueryServiceGrpc.EventQueryServiceFutureStub>
-
- com.daml.ledger.api.v1.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 or key.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected EventQueryServiceGrpc.EventQueryServiceFutureStub
build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
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.com.google.common.util.concurrent.ListenableFuture<EventQueryServiceOuterClass.GetEventsByContractKeyResponse>
getEventsByContractKey(EventQueryServiceOuterClass.GetEventsByContractKeyRequest request)
Get all create and consuming exercise events for the contracts with the provided contract key.
-
-
-
Method Detail
-
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.
-
getEventsByContractKey
public com.google.common.util.concurrent.ListenableFuture<EventQueryServiceOuterClass.GetEventsByContractKeyResponse> getEventsByContractKey(EventQueryServiceOuterClass.GetEventsByContractKeyRequest request)
Get all create and consuming exercise events for the contracts with the provided contract key. Only events for unpruned contracts will be returned. Matching events are delivered in reverse chronological order, i.e., the most recent events are delivered first.
-
-